LDicomNet::GetChallengeISCL

#include "ltdic.h"

virtual L_UINT32 LDicomNet::GetChallengeISCL(nChallenge, nParameter)

Generates a random number. This function is available in the PACS Imaging toolkits.

Parameters

L_UINT64 *nChallenge

Pointer to a variable to be updated with the random number generated in the callback. This number is similar to a time stamp.

L_UINT64 nParameter

Value that indicates the current mutual authentication key.

Returns

Value Meaning
DICOM_SUCCESS The generation of the random number was successful.
<> DICOM_SUCCESS The generation of the random number was not successful.

Comments

The generation of a random number can use a pool of random (or pseudo-random) data. If the pool is empty, the GetChallenge function may fail. In this case, try to call GetChallenge later in the application, when some random data has been added to the pool.

Required DLLs and Libraries

Platforms

Win32, x64

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

LEADTOOLS DICOM C++ Class Library Help

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