diff OrthancFramework/Sources/DicomNetworking/DicomServer.h @ 4656:82a314325351

New configuration option: "DicomTlsRemoteCertificateRequired"
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 06 May 2021 18:39:19 +0200
parents f4dbdb2dcba6
children fc2ba1ce6538
line wrap: on
line diff
--- a/OrthancFramework/Sources/DicomNetworking/DicomServer.h	Thu May 06 16:54:46 2021 +0200
+++ b/OrthancFramework/Sources/DicomNetworking/DicomServer.h	Thu May 06 18:39:19 2021 +0200
@@ -87,6 +87,7 @@
     std::string  ownCertificatePath_;
     std::string  trustedCertificatesPath_;
     unsigned int maximumPduLength_;
+    bool         remoteCertificateRequired_;  // New in 1.9.3
 
     static void ServerThread(DicomServer* server,
                              unsigned int maximumPduLength,
@@ -159,5 +160,8 @@
 
     unsigned int GetMaximumPduLength() const;
     void SetMaximumPduLength(unsigned int pdu);
+
+    void SetRemoteCertificateRequired(bool required);
+    bool IsRemoteCertificateRequired() const;
   };
 }