LDicomNet::SetDefaultSigningISCL

#include "ltdic.h"

L_UINT32 LDicomNet::SetDefaultSigningISCL(SignMode);

Sets the current message authentication code type. This function is available in the PACS Imaging toolkits.

Parameters

L_UINT32 SignMode

Flag that indicates the type of message authentication code to be used. Possible values are:

Value Meaning
DICOM_ISCL_MAC_NONE No message authentication code will be used.
DICOM_ISCL_MAC_MD5 A 128 bit MD5 message authentication code is transmitted with the message.
DICOM_ISCL_MAC_DESMAC A 64 bit DESMAC authentication code is transmitted with the message.

Returns

Value Meaning
DICOM_SUCCESS Success
DICOM_ERROR_PARAMETER A parameter error occurred. The message authentication code will be of type DICOM_ISCL_MAC_MD5.

Comments

The message authentication code is encrypted using the current encryption mode before being sent and decrypted after being received. The current encryption mode is set using the LDicomNet::SetDefaultEncryptionISCL function.

The encryption mode and the message authentication code type must be the same for both the sender and the receiver.

Required DLLs and Libraries

Platforms

Win32, x64

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

LEADTOOLS DICOM C++ Class Library Help