Gets the current index of the mutual authentication key to be used during the mutual authentication process. This function is available in the PACS Imaging toolkits.
L_LTDIC_API L_UINT32 L_DicomGetIndexForMutualAuth(hNet)
Handle to an existing DICOM Network. This is the handle returned from the L_DicomCreateNet function.
The index for the key used for mutual authentication. This value must be between 1 and 8, inclusively, where 1 represents the first key in the array.
This function gets the index of the actual key used for mutual authentication operations. This index can be between 1 and 8, inclusively.
Win32, x64.
L_INT DicomGetIndexForMutualAuthISCLExample(L_VOID)
{
HDICOMNET hDicomNet;
L_UINT32 nIndex;
L_INT nRet;
hDicomNet = L_DicomCreateNet (TEXT(""), DICOM_SECURE_ISCL);
nRet = L_DicomSetMutualAuthKeyISCL (hDicomNet, 1, 0x0123456789ABCDEF);
if (nRet != DICOM_SUCCESS)
return nRet;
// 64-bit value, in hexadecimal notation
nRet = L_DicomSetIndexForMutualAuthISCL (hDicomNet, 1);
if (nRet != DICOM_SUCCESS)
return nRet;
// other source code
nIndex = L_DicomGetIndexForMutualAuthISCL(hDicomNet);
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