LDicomNet::SetDefaultSigningISCL

Summary

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

Syntax

#include "ltdic.h"

L_UINT32 LDicomNet::SetDefaultSigningISCL(SignMode);

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

See Also

Functions

Topics

Example

For an example, refer to LDicomNet::IsISCLQueueEmpty.

Help Version 23.0.2024.2.29
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.