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

lcas_voms_utils.c File Reference

the utilities for the LCAS voms plugin More...

#include <stdlib.h>
#include <stdio.h>
#include <errno.h>
#include "lcas_defines.h"
#include "lcas_types.h"
#include "lcas_log.h"
#include <openssl/x509.h>
#include <gssapi.h>
#include "gssapi_openssl.h"
#include "globus_gsi_credential.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

the utilities for the LCAS voms plugin

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

Definition in file lcas_voms_utils.c.


Function Documentation

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.

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