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

SSLContextProperties.h

00001 /* Copyright (c) 2003 EU DataGrid. */
00002 /* For license conditions see http://www.eu-datagrid.org/license.html */
00003 
00004 #ifndef INFO_SSLCONTEXTPROPERTIES_H
00005 #define INFO_SSLCONTEXTPROPERTIES_H
00006 
00007 #include "rgma/RGMAException.h"
00008 #include <string>
00009 
00010 namespace glite
00011 {
00012     namespace rgma
00013     {
00014 
00021         class SSLContextProperties
00022         {
00023             //static const APILogging& cat;
00024             std::string theGridProxyFile;
00025             std::string theSslCertFile;
00026             std::string theSslKey;
00027             std::string theSslCAFiles;
00028             std::string theSslKeyPassword;
00029             bool theSslKeyPasswordPresent;
00030             bool useCertificateAndKeyFlag;
00031 
00032             public:
00033 
00034                 SSLContextProperties() throw (RGMAException);
00035                 virtual ~SSLContextProperties();
00036 
00037                 bool useCertificateAndKey() const;
00038                 std::string gridProxyFile() const;
00039                 std::string sslCAFiles() const;
00040                 std::string sslCertFile() const;
00041                 std::string sslKey() const;
00042                 bool sslKeyPasswordPresent(std::string& value) const;
00043         };
00044     }
00045 }
00046 #endif                                            // EDG_INFO_SSLCONTEXTPROPERTIES_H

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