comparison OrthancFramework/Sources/DicomNetworking/DicomAssociation.cpp @ 4439:5209a9ff6e38

configuration options for DICOM TLS in Orthanc SCP
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 07 Jan 2021 18:18:39 +0100
parents 4a4e33c9082d
children f4dbdb2dcba6
comparison
equal deleted inserted replaced
4438:4a4e33c9082d 4439:5209a9ff6e38
263 { 263 {
264 throw OrthancException(ErrorCode_BadSequenceOfCalls, 264 throw OrthancException(ErrorCode_BadSequenceOfCalls,
265 "No presentation context was proposed"); 265 "No presentation context was proposed");
266 } 266 }
267 267
268 CLOG(INFO, DICOM) << "Opening a DICOM SCU connection from AET \"" 268 CLOG(INFO, DICOM) << "Opening a DICOM SCU connection "
269 << parameters.GetLocalApplicationEntityTitle() 269 << (parameters.GetRemoteModality().IsDicomTlsEnabled() ? "using DICOM TLS" : "without DICOM TLS")
270 << " from AET \"" << parameters.GetLocalApplicationEntityTitle()
270 << "\" to AET \"" << parameters.GetRemoteModality().GetApplicationEntityTitle() 271 << "\" to AET \"" << parameters.GetRemoteModality().GetApplicationEntityTitle()
271 << "\" on host " << parameters.GetRemoteModality().GetHost() 272 << "\" on host " << parameters.GetRemoteModality().GetHost()
272 << ":" << parameters.GetRemoteModality().GetPortNumber() 273 << ":" << parameters.GetRemoteModality().GetPortNumber()
273 << " (manufacturer: " << EnumerationToString(parameters.GetRemoteModality().GetManufacturer()) << ")"; 274 << " (manufacturer: " << EnumerationToString(parameters.GetRemoteModality().GetManufacturer()) << ")";
274 275