L_UINT32 LDicomNet::SetCipherToIndexTLS(nIndex, cipher)
Sets the ciphersuite for the specified index. This function is available in the PACS Imaging toolkits.
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.
Value that indicates the ciphersuite to set at the specified index. For a list of possible values, refer to L_CIPHERSUITE.
|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
For an example, refer to LDicomNet::Initialize.
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries