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

lcmaps_voms_utils.c File Reference

the utilities for the LCMAPS voms plugin. More...

#include <stdlib.h>
#include <stdio.h>
#include <errno.h>
#include "lcmaps_defines.h"
#include "lcmaps_types.h"
#include "lcmaps_log.h"
#include <openssl/x509.h>
#include <gssapi.h>
#include "gssapi_openssl.h"
#include "globus_gsi_credential.h"

Include dependency graph for lcmaps_voms_utils.c:

Include dependency graph

Go to the source code of this file.

Functions

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


Detailed Description

the utilities for the LCMAPS voms plugin.

Author:
Martijn Steenbakkers for the EU DataGrid.

This header contains the definitions of the LCMAPS utility functions:
  1. lcmaps_cred_to_x509():
  2. lcmaps_cred_to_x509_chain():

Definition in file lcmaps_voms_utils.c.


Function Documentation

X509 * lcmaps_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 lcmaps_voms_utils.c.


Generated at Tue Sep 23 15:48:41 2003 for edg-lcmaps by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001