diff options
Diffstat (limited to 'cpp/src/IceSSL/ConfigParser.h')
-rw-r--r-- | cpp/src/IceSSL/ConfigParser.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/cpp/src/IceSSL/ConfigParser.h b/cpp/src/IceSSL/ConfigParser.h index 02f4f762836..b8b3123c5eb 100644 --- a/cpp/src/IceSSL/ConfigParser.h +++ b/cpp/src/IceSSL/ConfigParser.h @@ -30,8 +30,8 @@ public: // Construction based on the indicated config file, or config file and // certificate path. - ConfigParser(const std::string&); - ConfigParser(const std::string&, const std::string&); + ConfigParser(const std::string&, const TraceLevelsPtr&, const Ice::LoggerPtr&); + ConfigParser(const std::string&, const std::string&, const TraceLevelsPtr&, const Ice::LoggerPtr&); ~ConfigParser(); // Performs a complete parsing of the file. @@ -41,12 +41,6 @@ public: bool loadClientConfig(GeneralConfig&, CertificateAuthority&, BaseCertificates&); bool loadServerConfig(GeneralConfig&, CertificateAuthority&, BaseCertificates&, TempCertificates&); - void setTrace(const TraceLevelsPtr&); - bool isTraceSet() const; - - void setLogger(const Ice::LoggerPtr&); - bool isLoggerSet() const; - private: DOMNode* _root; @@ -78,6 +72,9 @@ private: // Populate a certificate file object, basis of all certificates. void loadCertificateFile(DOMNode*, CertificateFile&); + // Detemines if the string represents an absolute pathname. + bool isAbsolutePath(std::string&); + // Parses the certificate encoding format from a string representation // to the proper integer value used by the underlying SSL framework. int parseEncoding(std::string&); |