GetEncryptKeyLengthTLS method (ILEADDicomNet)

VB.NET example

C# example

Visual Basic example

Visual C++ 5.0 example

 

Syntax

long GetEncryptKeyLengthTLS(long hNet, long nCipher);

Overview

Refer to Negotiating a Ciphersuite

Remarks

(Medical Imaging Suite only) Returns the effective length (in bits) of the encryption key associated with the specified ciphersuite (56 for DES etc).

There are differences between the size of the key and the effective length. The security of a key is given by the effective length, not by the size (a DES key has 8 bytes, just like a DES40 key, but the first has 56 bits effective, and the second only 40.)

See Also

Elements:

GetAuthenticationAlgorithmTLS method, GetIntegrityAlgorithmTLS method, GetEncryptionAlgorithmTLS method, GetKeyExchangeAlgorithmTLS method, GetMutualAuthKeyLengthTLS method

Topics:

DICOM Security :Working with TLS