LDicomNet::SetCipherToIndexTLS

#include "ltdic.h"

L_UINT32 LDicomNet::SetCipherToIndexTLS(nIndex, cipher)

L_UINT32 nIndex;

index into an array

L_CIPHERSUITE cipher;

ciphersuite

Sets the ciphersuite for the specified index. This function is available in the PACS Imaging toolkits.

Parameter

Description

nIndex

Position in an array for which to set the specified ciphersuite. The ciphersuites in this array are those known by the client and should be ordered by preference.

cipher

Value that indicates the ciphersuite to set at the specified index. For a list of possible values, refer to L_CIPHERSUITE.

Returns

DICOM_SUCCESS

Success

DICOM_ERROR_PARAMETER

A parameter error occurred.

Comments

The server chooses the first ciphersuite proposed by client, which it can understand. If the client puts the ciphersuites with reduced security first, then a ciphersuite with reduced security will most likely be selected by the server.

Required DLLs and Libraries

LTDIC
LTCRY
LTTLS

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

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS DICOM C++ Class Library Help