Sets the index of the mutual authentication key to be used during the mutual authentication process. This function is available in the PACS Imaging toolkits.
#include "ltdic.h"
L_LTDIC_API L_UINT32 L_DicomSetIndexForMutualAuthISCL(hNet, nIndex)
Handle to an existing DICOM Network. This is the handle returned from the L_DicomCreateNet function.
Index of the key to be used for mutual authentication. Possible values for this index are between 1 and 8, inclusive.
Value | Meaning |
---|---|
DICOM_SUCCESS | Success. The key in the specified location in the array was set as the key to use for mutual authentication. |
DICOM_ERROR_PARAMETER | A parameter error occurred. nIndex was 0 or bigger than 8. Refer to Return Codes. |
This function sets the actual key used for mutual authentication operations, based on an index from 1 to 8
Win32, x64.
L_INT DicomSetIndexForMutualAuthISCLExample(L_VOID)
{
L_INT nRet;
HDICOMNET hDicomNet;
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
return L_DicomSetIndexForMutualAuthISCL(hDicomNet, 1);
}
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