L_DicomSetIndexForEncryptISCL

#include "ltdic.h"

L_LTDIC_API L_UINT32 L_DicomSetIndexForEncryptISCL(hNet, nIndex)

HDICOMNET hNet;

/* handle to an existing DICOM Network */

L_UINT32 nIndex;

/* index */

Sets the index of the encryption key. This function is available in the PACS Imaging toolkits.

Parameter

Description

hNet

Handle to an existing DICOM Network. This is the handle returned from the L_DicomCreateNet function.

nIndex

Index of the encryption key to be used. Possible values for this index are 1 through 8 and DICOM_ISCL_UNIQUE_SESSION_KEYS.

Returns

DICOM_SUCCESS

Success. The key in the specified location in the array was set as the key to use for encryption.

DICOM_ERROR_PARAMETER

A parameter error occurred. Refer to Return Codes.

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

Platforms

Win32, x64

See Also

Functions:

L_DicomCreateNet, L_DicomSetEncryptKeyISCL, L_DicomSetDefaultSigningISCL, L_DicomSetDefaultEncryptionISCL, L_DicomSetAuthDataISCL, L_DicomSetMaxCommBlockLengthISCL, L_DicomSetMaxMessageLengthISCL, L_DicomSetMutualAuthAlgISCL, L_DicomSetMutualAuthKeyISCL, L_DicomSetIndexForMutualAuthISCL

Topics:

DICOM Net: Working with encryption key

 

Adding Security to a DICOM Connection

 

General Integrated Secure Communication Layer (ISCL) Information

Example

For an example, refer to L_DicomSetEncryptKeyISCL.