LDicomNet::SetIndexForEncryptISCL

#include "ltdic.h"

L_UINT32 LDicomNet::SetIndexForEncryptISCL(nIndex)

L_UINT32 nIndex;

/* index */

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

Parameter

Description

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.

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:

LDicomNet::SetEncryptKeyISCL, LDicomNet::SetDefaultSigningISCL, LDicomNet::SetDefaultEncryptionISCL, LDicomNet::SetAuthDataISCL, LDicomNet::SetMaxCommBlockLengthISCL, LDicomNet::SetMaxMessageLengthISCL, LDicomNet::SetMutualAuthAlgISCL, LDicomNet::SetMutualAuthKeyISCL, LDicomNet::SetIndexForMutualAuthISCL, Class Members

Topics:

Adding Security to a DICOM Connection

 

General Integrated Secure Communication Layer (ISCL) Information

Example

For an example, refer to LDicomNet::SetEncryptKeyISCL.