LDicomNet::SetDefaultSigningISCL

#include "ltdic.h"

L_UINT32 LDicomNet::SetDefaultSigningISCL(SignMode);

L_UINT32 SignMode;

type of message authentication code

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

Parameter Description
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

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

LTDIC

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application

Platforms

Win32, x64

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS DICOM C++ Class Library Help