L_DicomGetIndexForMutualAuthISCL
#include "ltdic.h"
L_UINT32 EXT_FUNCTION L_DicomGetIndexForMutualAuth(hNet)
HDICOMNET hNet; |
/* handle to an existing DICOM Network */ |
Gets the current index of the mutual authentication key to be used during the mutual authentication process. This function is available in the Medical Suite toolkits.
Parameter |
Description |
hNet |
Handle to an existing DICOM Network. This is the handle returned from the L_DicomCreateNet function. |
Returns
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.
Comments
This function gets the index of the actual key used for mutual authentication operations. This index can be between 1 and 8, inclusively.
Required DLLs and Libraries
LTDIC For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application |
See Also
Example
{
HDICOMNET hDicomNet;
L_UINT32 nIndex;
hDicomNet = L_DicomCreateNet ("", DICOM_SECURE_ISCL);
L_DicomSetMutualAuthKeyISCL (hDicomNet, 1, 0x0123456789ABCDEF);
// 64-bit value, in hexadecimal notation
L_DicomSetIndexForMutualAuthISCL (hDicomNet, 1);
// other source code
nIndex = L_DicomGetIndexForMutualAuthISCL(hDicomNet);
}