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

lcas_voms_utils.h

Go to the documentation of this file.
00001 /*                                                                                                            
00002  * Copyright (c) 2001 EU DataGrid.                                                                             
00003  * For license conditions see http://www.eu-datagrid.org/license.html                                          
00004  *
00005  * Copyright (c) 2001, 2002 by 
00006  *     Martijn Steenbakkers <martijn@nikhef.nl>,
00007  *     David Groep <davidg@nikhef.nl>,
00008  *     NIKHEF Amsterdam, the Netherlands
00009  */
00010 
00021 #ifndef LCAS_VOMS_UTILS_H
00022 #define LCAS_VOMS_UTILS_H
00023 
00024 /******************************************************************************
00025                              Include header files
00026 ******************************************************************************/
00027 #include <openssl/x509.h>
00028 #include <gssapi.h>
00029 
00030 
00031 /******************************************************************************
00032  *                 Module definition
00033  *****************************************************************************/
00034 
00035 /******************************************************************************
00036 Function:       lcas_cred_to_x509()
00037 Description:    Return the pointer to X509 structure from gss credential
00038 Parameters:
00039                 cred: globus credential
00040 Returns:        pointer to X509 struct or NULL
00041 ******************************************************************************/
00042 extern X509 * lcas_cred_to_x509(
00043         gss_cred_id_t cred
00044 );
00045 
00046 
00047 /******************************************************************************
00048 Function:       lcas_cred_to_x509_chain()
00049 Description:    Return the pointer to X509 chain from gss credential
00050 Parameters:
00051                 cred: globus credential
00052 Returns:        pointer to X509 chain or NULL
00053 ******************************************************************************/
00054 extern STACK_OF(X509) * lcas_cred_to_x509_chain(
00055         gss_cred_id_t cred
00056 );
00057 
00058 #endif /* LCAS_VOMS_UTILS_H */
00059 
00060 /******************************************************************************
00061 CVS Information:
00062     $Source: /cvs/fabric_mgt/gridification/lcas/modules/voms/lcas_voms_utils.h,v $
00063     $Date: 2003/08/08 16:20:25 $
00064     $Revision: 1.1 $
00065     $Author: martijn $
00066 ******************************************************************************/

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