00001 /* 00002 * Copyright (c) Members of the EGEE Collaboration. 2004. 00003 * See http://eu-egee.org/partners/ for details on the copyright holders. 00004 * For license conditions see the license file or 00005 * http://eu-egee.org/license.html 00006 */ 00007 00008 /* 00009 * Copyright (c) 2001 EU DataGrid. 00010 * For license conditions see http://www.eu-datagrid.org/license.html 00011 * 00012 * Copyright (c) 2001, 2002 by 00013 * Martijn Steenbakkers <martijn@nikhef.nl>, 00014 * David Groep <davidg@nikhef.nl>, 00015 * NIKHEF Amsterdam, the Netherlands 00016 */ 00017 00028 #ifndef LCAS_VOMS_UTILS_H 00029 #define LCAS_VOMS_UTILS_H 00030 00031 /****************************************************************************** 00032 Include header files 00033 ******************************************************************************/ 00034 #include <openssl/x509.h> 00035 #include <gssapi.h> 00036 00037 00038 /****************************************************************************** 00039 * Module definition 00040 *****************************************************************************/ 00041 00042 /****************************************************************************** 00043 Function: lcas_cred_to_x509() 00044 Description: Return the pointer to X509 structure from gss credential 00045 Parameters: 00046 cred: globus credential 00047 Returns: pointer to X509 struct or NULL 00048 ******************************************************************************/ 00049 extern X509 * lcas_cred_to_x509( 00050 gss_cred_id_t cred 00051 ); 00052 00053 00054 /****************************************************************************** 00055 Function: lcas_cred_to_x509_chain() 00056 Description: Return the pointer to X509 chain from gss credential 00057 Parameters: 00058 cred: globus credential 00059 Returns: pointer to X509 chain or NULL 00060 ******************************************************************************/ 00061 extern STACK_OF(X509) * lcas_cred_to_x509_chain( 00062 gss_cred_id_t cred 00063 ); 00064 00065 #endif /* LCAS_VOMS_UTILS_H */ 00066 00067 /****************************************************************************** 00068 CVS Information: 00069 $Source: /cvs/jra1mw/org.glite.security.lcas-plugins-voms/src/voms/lcas_voms_utils.h,v $ 00070 $Date: 2004/10/14 16:05:28 $ 00071 $Revision: 1.4 $ 00072 $Author: msteenba $ 00073 ******************************************************************************/