LDicomNet::SetAuthDataISCL

Summary

Sets the authentication data used during the mutual authentication process. This function is available in the PACS Imaging toolkits.

Syntax

#include "ltdic.h"

L_UINT32 LDicomNet::SetAuthDataISCL(pBuffer, nLength);

Parameters

L_VOID *pBuffer

Pointer to an array containing the authentication data.

L_UINT32 nLength

Length of the authentication data, in bytes.

Returns

Value Meaning
DICOM_SUCCESS Success
DICOM_ERROR_PARAMETER A parameter error occurred. The authentication data could not be set. (pBuffer is NULL, or nLength is not in the range 1 to 128.)

Comments

Every ISCL-compliant entity must have between 1 and 128 bytes of authentication data. These authentication data are exchanged between client and server during the mutual authentication process. This function sets an array of 1 to 128 bytes that contains authentication data.

The authentication data is data exchanged in plain text. After the mutual authentication process, the communication entities can verify the authentication data of the other entity (client or server) and, if the authentication data is wrong, can close the connection.

Required DLLs and Libraries

Platforms

Win32, x64

See Also

Functions

Topics

Example

For an example, refer to LDicomNet::IsISCLQueueEmpty.

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

LEADTOOLS DICOM C++ Class Library Help

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2022 LEAD Technologies, Inc. All Rights Reserved.