summaryrefslogtreecommitdiff
path: root/cpp/src/IceSSL/GeneralConfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IceSSL/GeneralConfig.h')
-rw-r--r--cpp/src/IceSSL/GeneralConfig.h65
1 files changed, 0 insertions, 65 deletions
diff --git a/cpp/src/IceSSL/GeneralConfig.h b/cpp/src/IceSSL/GeneralConfig.h
deleted file mode 100644
index 7d33d79be3d..00000000000
--- a/cpp/src/IceSSL/GeneralConfig.h
+++ /dev/null
@@ -1,65 +0,0 @@
-// **********************************************************************
-//
-// Copyright (c) 2003-2006 ZeroC, Inc. All rights reserved.
-//
-// This copy of Ice is licensed to you under the terms described in the
-// ICE_LICENSE file included in this distribution.
-//
-// **********************************************************************
-
-#ifndef ICE_SSL_GENERAL_CONFIG_H
-#define ICE_SSL_GENERAL_CONFIG_H
-
-#include <IceSSL/OpenSSL.h>
-
-namespace IceSSL
-{
-
-class GeneralConfig
-{
-public:
-
- GeneralConfig();
-
- SslProtocol getProtocol() const;
- int getVerifyMode() const;
- int getVerifyDepth() const;
-
- std::string getContext() const;
- std::string getCipherList() const;
- std::string getRandomBytesFiles() const;
-
- // General method - it will figure out how to properly parse the data.
- void set(const std::string&, const std::string&);
-
-protected:
-
- SslProtocol _sslVersion;
-
- int _verifyMode;
- int _verifyDepth;
-
- std::string _context;
- std::string _cipherList;
- std::string _randomBytesFiles;
-
- void parseVersion(const std::string&);
- void parseVerifyMode(const std::string&);
-};
-
-template<class Stream> inline
-Stream& operator << (Stream& target, const GeneralConfig& generalConfig)
-{
- target << "Protocol: " << generalConfig.getProtocol() << "\n";
- target << "Verify Mode: " << generalConfig.getVerifyMode() << "\n";
- target << "Verify Depth: " << generalConfig.getVerifyDepth() << "\n";
- target << "Context: " << generalConfig.getContext() << "\n";
- target << "Cipher List: " << generalConfig.getCipherList() << "\n";
- target << "Random Bytes: " << generalConfig.getRandomBytesFiles() << "\n";
-
- return target;
-}
-
-}
-
-#endif