LDicomNet::GetEncryptKeyLengthTLS

Summary

Returns the effective length (in bits) of the encryption key associated with the specified ciphersuite (56 for DES etc). This function is available in the PACS Imaging toolkits.

Syntax

#include "ltdic.h"

L_UINT32 LDicomNet::GetEncryptKeyLengthTLS(cipher)

Parameters

L_CIPHERSUITE cipher

Value that indicates the ciphersuite for which to get the length of the encryption key.

Returns

The effective length of the encryption key associated with the specified ciphersuite.

Comments

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.)

Required DLLs and Libraries

Platforms

Win32, x64

See Also

Functions

Topics

Example

For an example, refer to LDicomNet::Initialize.

Help Version 23.0.2024.7.1
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS DICOM C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.