Mercurial > hg > orthanc
comparison OrthancFramework/Sources/DicomNetworking/DicomServer.h @ 5807:8279eaab0d1d attach-custom-data
merged default -> attach-custom-data
author | Alain Mazy <am@orthanc.team> |
---|---|
date | Tue, 24 Sep 2024 11:39:52 +0200 |
parents | b1a18218860c |
children |
comparison
equal
deleted
inserted
replaced
5085:79f98ee4f04b | 5807:8279eaab0d1d |
---|---|
1 /** | 1 /** |
2 * Orthanc - A Lightweight, RESTful DICOM Store | 2 * Orthanc - A Lightweight, RESTful DICOM Store |
3 * Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics | 3 * Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics |
4 * Department, University Hospital of Liege, Belgium | 4 * Department, University Hospital of Liege, Belgium |
5 * Copyright (C) 2017-2022 Osimis S.A., Belgium | 5 * Copyright (C) 2017-2023 Osimis S.A., Belgium |
6 * Copyright (C) 2021-2022 Sebastien Jodogne, ICTEAM UCLouvain, Belgium | 6 * Copyright (C) 2024-2024 Orthanc Team SRL, Belgium |
7 * Copyright (C) 2021-2024 Sebastien Jodogne, ICTEAM UCLouvain, Belgium | |
7 * | 8 * |
8 * This program is free software: you can redistribute it and/or | 9 * This program is free software: you can redistribute it and/or |
9 * modify it under the terms of the GNU Lesser General Public License | 10 * modify it under the terms of the GNU Lesser General Public License |
10 * as published by the Free Software Foundation, either version 3 of | 11 * as published by the Free Software Foundation, either version 3 of |
11 * the License, or (at your option) any later version. | 12 * the License, or (at your option) any later version. |
88 std::string ownPrivateKeyPath_; | 89 std::string ownPrivateKeyPath_; |
89 std::string ownCertificatePath_; | 90 std::string ownCertificatePath_; |
90 std::string trustedCertificatesPath_; | 91 std::string trustedCertificatesPath_; |
91 unsigned int maximumPduLength_; | 92 unsigned int maximumPduLength_; |
92 bool remoteCertificateRequired_; // New in 1.9.3 | 93 bool remoteCertificateRequired_; // New in 1.9.3 |
94 unsigned int minimumTlsVersion_; // New in 1.12.4 | |
95 std::set<std::string> acceptedCiphers_; // New in 1.12.4 | |
93 | 96 |
94 | 97 |
95 static void ServerThread(DicomServer* server, | 98 static void ServerThread(DicomServer* server, |
96 unsigned int maximumPduLength, | 99 unsigned int maximumPduLength, |
97 bool useDicomTls); | 100 bool useDicomTls); |
151 bool IsMyAETitle(const std::string& aet) const; | 154 bool IsMyAETitle(const std::string& aet) const; |
152 | 155 |
153 void SetDicomTlsEnabled(bool enabled); | 156 void SetDicomTlsEnabled(bool enabled); |
154 bool IsDicomTlsEnabled() const; | 157 bool IsDicomTlsEnabled() const; |
155 | 158 |
159 void SetMinimumTlsVersion(unsigned int version); | |
160 void SetAcceptedCiphers(const std::set<std::string>& ciphers); | |
161 | |
156 void SetOwnCertificatePath(const std::string& privateKeyPath, | 162 void SetOwnCertificatePath(const std::string& privateKeyPath, |
157 const std::string& certificatePath); | 163 const std::string& certificatePath); |
158 const std::string& GetOwnPrivateKeyPath() const; | 164 const std::string& GetOwnPrivateKeyPath() const; |
159 const std::string& GetOwnCertificatePath() const; | 165 const std::string& GetOwnCertificatePath() const; |
160 | 166 |