#include "ltdic.h"
L_LTDIC_API L_CIPHERSUITE L_DicomGetCiphersuiteTLS(hNet)
Returns the cipher suite agreed upon during the TLS protocol.
Handle to an existing DICOM Network. This is the handle returned from the L_DicomCreateNet function.
Value | Meaning |
---|---|
<>0 | A value that indicates the ciphersuite agreed upon during the TLS protocol. |
DICOM_SUCCESS | No cipher suite has been agreed upon yet. |
The ciphersuite is chosen by the server as the first client proposed ciphersuite that the server can understand.
Required DLLs and Libraries
Win32, x64.
// in the OnSecureLinkReady callback:
L_VOID EXT_CALLBACK myOnSecureLinkready(HDICOMNET hNet, L_UINT32 nError)
{
L_CIPHERSUITE test;
if(nError != DICOM_SUCCESS)
{
MessageBox(NULL, TEXT("Error on setting secure link connection"), TEXT(""), MB_OK);
return;
}
test = L_DicomGetCiphersuiteTLS (hNet);
if(test == TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA)
MessageBox(NULL, TEXT("Ciphersuite is TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA"),TEXT( ""), MB_OK);
}
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document