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"

Include dependency graph for lcas_voms_utils.c:

Include dependency graph

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. More...


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

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 85 of file lcas_voms_utils.c.


Generated at Tue Sep 23 15:07:11 2003 for edg-lcas by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001