00001
00002
00003
00004 #ifndef GLITE_SSLUTILS_H
00005 #define GLITE_SSLUTILS_H
00006 #define OPENSSL_NO_KRB5
00007
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
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