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

SSLSigningPolicyProperties.h

00001 /* Copyright (c) 2003 EU DataGrid. */
00002 /* For license conditions see http://www.eu-datagrid.org/license.html */
00003 
00004 #ifndef INFO_SSLSIGNINGPOLICYPROPERTIES_H
00005 #define INFO_SSLSIGNINGPPOLICYROPERTIES_H
00006 
00007 #include "rgma/Properties.h"
00008 #include <vector>
00009 
00010 // OpenSSL types
00011 typedef struct x509_st X509;
00012 
00013 
00014 namespace glite
00015 {
00016     namespace rgma
00017     {
00028         class SSLSigningPolicyProperties : public Properties
00029         {
00030 
00031             public:
00032 
00033                 SSLSigningPolicyProperties(X509* certificate,
00034                     const std::string& directory) throw (RGMAException);
00035 
00042                 std::vector<std::string> getListProperty(std::string key);
00043 
00044             protected:
00045 
00049                 void load(std::string filename) throw (RGMAException);
00050 
00051             private:
00056                 void collapseSpaces(char* line) const;
00057 
00063                 const char* getValueField(char* line) const;
00064 
00065                 //static const class APILogging& cat;
00066         };
00067     }
00068 }
00069 #endif                                            // EDG_INFO_SSLSIGNINGPPOLICYROPERTIES_H

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