Mercurial > hg > orthanc
diff OrthancFramework/Sources/HttpServer/HttpServer.h @ 4190:9ce5c89328f5
New configuration options to enable HTTP peers identification through certificates
author | Alain Mazy <alain@mazy.be> |
---|---|
date | Tue, 15 Sep 2020 15:47:28 +0200 |
parents | bf7b9edf6b81 |
children | 7bd5eab3ba25 |
line wrap: on
line diff
--- a/OrthancFramework/Sources/HttpServer/HttpServer.h Tue Sep 15 08:27:17 2020 +0200 +++ b/OrthancFramework/Sources/HttpServer/HttpServer.h Tue Sep 15 15:47:28 2020 +0200 @@ -80,6 +80,8 @@ bool remoteAllowed_; bool authentication_; + bool sslVerifyPeers_; + std::string trustedClientCertificates_; bool ssl_; std::string certificate_; uint16_t port_; @@ -129,6 +131,10 @@ void SetSslEnabled(bool enabled); + void SetSslVerifyPeers(bool enabled); + + void SetSslTrustedClientCertificates(const char* path); + bool IsKeepAliveEnabled() const { return keepAlive_;