00001
00002
00003
00004 #ifndef INFO_SSLSIGNINGPOLICYPROPERTIES_H
00005 #define INFO_SSLSIGNINGPPOLICYROPERTIES_H
00006
00007 #include "rgma/Properties.h"
00008 #include <vector>
00009
00010
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
00066 };
00067 }
00068 }
00069 #endif // EDG_INFO_SSLSIGNINGPPOLICYROPERTIES_H