Main Page | Class Hierarchy | Class List | File List | Class Members | Related Pages

SSLUtils.h

00001 /* Copyright (c) 2003 EU DataGrid. */
00002 /* For license conditions see http://www.eu-datagrid.org/license.html */
00003 
00004 #ifndef GLITE_SSLUTILS_H
00005 #define GLITE_SSLUTILS_H
00006 #define OPENSSL_NO_KRB5
00007 // OpenSSL types
00008 typedef struct ssl_ctx_st SSL_CTX;
00009 typedef struct x509_st X509;
00010 
00011 namespace glite
00012 {
00013     namespace rgma
00014     {
00015 
00021         class SSLUtils
00022         {
00023             private:
00024                 //static const class APILogging& cat;
00025 
00026             public:
00027 
00035                 static void displayCertificate(const char* source, X509* certificate);
00036 
00043                 static bool isAProxyCertificate(X509* certificate);
00044 
00045         };
00046     }
00047 }
00048 #endif                                            // EDG_INFO_SSLUTILS_H

Generated on Wed Apr 25 19:11:32 2007 for glite-rgma-api-cpp by doxygen 1.3.5