LDicomNet::GetPeerEncryptionISCL

Summary

Returns a value that represents the encryption mode the sender used when sending a message. This function is available in the PACS Imaging toolkits.

Syntax

#include "ltdic.h"

L_UINT32 LDicomNet::GetPeerEncryptionISCL();

Returns

The current encryption mode used by the sender. Possible values are:

Value Meaning
DICOM_ISCL_ENCRYPT_NONE The data is transmitted without encryption.
DICOM_ISCL_ENCRYPT_DESCBC The data is transmitted encrypted using the DES algorithm in cipher block chaining mode.

Comments

This function returns a value that represents the encryption mode the sender used when sending a message to the receiver. If the encryption mode is not the same for the sender and the receiver, the message will not be sent successfully. If the MAC type is not the same on the sender and the receiver, the message will not be sent successfully.

This function can only be called by the receiver, once the sender has attempted to send a message.

To set the encryption mode, call the LDicomNet::SetDefaultEncryptionISCL function.

To set the MAC type, call the LDicomNet::SetDefaultSigningISCL function.

The encryption mode and the MAC are specified for every message, not for each connection. Every message can have a different encryption mode and MAC, keeping the connection parameters unchanged.

Required DLLs and Libraries

Platforms

Win32, x64

See Also

Functions

Topics

Example

For an example, refer to LDicomNet::IsISCLQueueEmpty.

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.