#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. |
DICOM_SUCCESS |
Success |
DICOM_ERROR_PARAMETER |
A parameter error occurred. |
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 For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application |
Win32, x64
Functions: |
LDicomNet::LDicomNet, LDicomNet::GetCipherFromIndexTLS, LDicomNet::GetCiphersuiteTLS, Class Members |
Topics: |
|
|
For an example, refer to LDicomNet::Initialize.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET