comparison OrthancFramework/Sources/HttpServer/HttpServer.h @ 4382:3aacd2bd8bbc varian

review changeset 4381:df313e410f0c
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 17 Dec 2020 15:10:04 +0100
parents df313e410f0c
children d9473bd5ed43
comparison
equal deleted inserted replaced
4381:df313e410f0c 4382:3aacd2bd8bbc
95 bool authentication_; 95 bool authentication_;
96 bool sslVerifyPeers_; 96 bool sslVerifyPeers_;
97 std::string trustedClientCertificates_; 97 std::string trustedClientCertificates_;
98 bool ssl_; 98 bool ssl_;
99 std::string certificate_; 99 std::string certificate_;
100 std::string sslMinimumVersion_; 100 unsigned int sslMinimumVersion_;
101 bool sslHasCiphers_;
101 std::string sslCiphers_; 102 std::string sslCiphers_;
102 uint16_t port_; 103 uint16_t port_;
103 IIncomingHttpRequestFilter* filter_; 104 IIncomingHttpRequestFilter* filter_;
104 bool keepAlive_; 105 bool keepAlive_;
105 bool httpCompression_; 106 bool httpCompression_;
143 144
144 void SetSslVerifyPeers(bool enabled); 145 void SetSslVerifyPeers(bool enabled);
145 146
146 // set the minimum accepted version of SSL/TLS protocol according to the CivetWeb table published here: 147 // set the minimum accepted version of SSL/TLS protocol according to the CivetWeb table published here:
147 // https://github.com/civetweb/civetweb/blob/master/docs/UserManual.md#ssl_protocol_version-0 148 // https://github.com/civetweb/civetweb/blob/master/docs/UserManual.md#ssl_protocol_version-0
148 void SetSslMinimumVersion(std::string version); 149 void SetSslMinimumVersion(unsigned int version);
149 150
150 void SetSslCiphers(std::string ciphers); 151 void SetSslCiphers(const std::list<std::string>& ciphers);
151 152
152 void SetSslTrustedClientCertificates(const char* path); 153 void SetSslTrustedClientCertificates(const char* path);
153 154
154 bool IsKeepAliveEnabled() const; 155 bool IsKeepAliveEnabled() const;
155 156