Main Page | Modules | Data Structures | File List | Data Fields | Globals | Related Pages

lcas_voms_utils.h File Reference

API for the utilities for the LCAS voms plugin. More...

#include <openssl/x509.h>
#include <gssapi.h>

Go to the source code of this file.

Functions

X509 * lcas_cred_to_x509 (gss_cred_id_t cred)
 Return the pointer to X509 structure from gss credential.

STACK_OF_X509 * lcas_cred_to_x509_chain (gss_cred_id_t cred)
 Return the pointer to X509 structure from gss credential.


Detailed Description

API for the utilities for the LCAS voms plugin.

Author:
Martijn Steenbakkers for the EU DataGrid.
This header contains the declarations of the LCAS utility functions:
  1. lcas_cred_to_x509():
  2. lcas_cred_to_x509_chain():

Definition in file lcas_voms_utils.h.


Function Documentation

X509* lcas_cred_to_x509 gss_cred_id_t  cred  ) 
 

Return the pointer to X509 structure from gss credential.

This function takes a gss credential as input and returns the corresponding X509 structure, which is allocated for this purpose (should be freed)

Parameters:
cred the gss credential
Returns:
a pointer to a X509 struct or NULL

Definition at line 92 of file lcas_voms_utils.c.

STACK_OF_X509* lcas_cred_to_x509_chain gss_cred_id_t  cred  ) 
 

Return the pointer to X509 structure from gss credential.

This function takes a gss credential as input and returns the corresponding X509 chain, which is allocated for this purpose (should be freed)

Parameters:
cred the gss credential
Returns:
a pointer to a X509 chain or NULL

Definition at line 152 of file lcas_voms_utils.c.


Generated on Fri May 27 18:10:49 2005 for lcas by doxygen 1.3.5