LDicomNet::GetChallengeISCL

Summary

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

Syntax

#include "ltdic.h"

virtual L_UINT32 LDicomNet::GetChallengeISCL(nChallenge, nParameter)

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

See Also

Functions

Topics

Example

For an example, refer to LDicomNet::IsISCLQueueEmpty.

Help Version 22.0.2022.12.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 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.