comparison OrthancFramework/Sources/DicomNetworking/Internals/DicomTls.h @ 5643:b1a18218860c

2 new configurations: DicomTlsMinimumProtocolVersion + DicomTlsCiphersAccepted
author Alain Mazy <am@orthanc.team>
date Fri, 31 May 2024 16:56:35 +0200
parents f7adfb22e20e
children
comparison
equal deleted inserted replaced
5642:95e282478cda 5643:b1a18218860c
37 #endif 37 #endif
38 38
39 39
40 #include <dcmtk/dcmnet/dimse.h> 40 #include <dcmtk/dcmnet/dimse.h>
41 #include <dcmtk/dcmtls/tlslayer.h> 41 #include <dcmtk/dcmtls/tlslayer.h>
42 42 #include <set>
43 43
44 namespace Orthanc 44 namespace Orthanc
45 { 45 {
46 namespace Internals 46 namespace Internals
47 { 47 {
49 T_ASC_Network *network, 49 T_ASC_Network *network,
50 T_ASC_NetworkRole role, 50 T_ASC_NetworkRole role,
51 const std::string& ownPrivateKeyPath, // This is the first argument of "+tls" option from DCMTK command-line tools 51 const std::string& ownPrivateKeyPath, // This is the first argument of "+tls" option from DCMTK command-line tools
52 const std::string& ownCertificatePath, // This is the second argument of "+tls" option 52 const std::string& ownCertificatePath, // This is the second argument of "+tls" option
53 const std::string& trustedCertificatesPath, // This is the "--add-cert-file" ("+cf") option 53 const std::string& trustedCertificatesPath, // This is the "--add-cert-file" ("+cf") option
54 bool requireRemoteCertificate); // "true" means "--require-peer-cert", "false" means "--verify-peer-cert" 54 bool requireRemoteCertificate, // "true" means "--require-peer-cert", "false" means "--ignore-peer-cert"
55 unsigned int minimalTlsVersion, // 0 = default BCP195, 5 = TLS1.3 only
56 const std::set<std::string>& acceptedCiphers
57 );
55 } 58 }
56 } 59 }