Is this page helpful?
Returns the effective length (in bits) of the mutual authentication key associated with the specified ciphersuite. This function is available in Medical Suite toolkits.
#include "ltdic.h"
L_LTDIC_API L_UINT32 L_DicomGetMutualAuthKeyLengthTLS(hNet, cipher)
Handle to an existing DICOM Network. This is the handle returned from the L_DicomCreateNet function.
Value that represents the current ciphersuite for which to get the length of the mutual authentication key.
Returns the effective length of the mutual authentication key.
The usual sizes for a RSA key is 512 and 1024 bits. There is a limitation for import in Europe a RSA key must be at least 768 bits long. There are no known export restrictions. In addition, the length of the mutual authentication key can be found only after a successful call to the L_DicomSetClientCertificateTLS or L_DicomSetServerCertificateTLS function.
Win32, x64.
L_INT DicomGetMutualAuthKeyLengthTLSExample(L_VOID)
{
HDICOMNET hDicomNet = NULL;
L_INT nRet;
hDicomNet = L_DicomCreateNetExt(MAKE_IMAGE_PATH(TEXT("")), DICOM_SECURE_TLS, NULL);
nRet = L_DicomGetMutualAuthKeyLengthTLS(hDicomNet, TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA);
L_TCHAR strMsg[128];
wsprintf(strMsg, TEXT("Mutual authentication key length for TLS_DHE_RSA_WITH_DES_EDE_CBC_SHA is %d"), nRet);
MessageBox(NULL, strMsg, TEXT(""), MB_OK);
return DICOM_SUCCESS;
}
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