Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.23
LEADTOOLS DICOM C++ Class Library Help

LDicomNet::GetChallengeISCL

Show in webframe

#include "ltdic.h"

virtual L_UINT32 LDicomNet::GetChallengeISCL(nChallenge, nParameter)

L_UINT64 *nChallenge;

/* pointer to a variable */

L_UINT64 nParameter;

/* key */

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

Parameter

Description

nChallenge

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

nParameter

Value that indicates the current mutual authentication key.

Returns

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

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

See Also

Functions:

LDicomNet::GetErrorSecure; Class Members

Topics:

Sending and Receiving Messages

 

General Integrated Secure Communication Layer (ISCL) Information

Example

For an example, refer to LDicomNet::GetErrorSecure.

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.