Available in LEADTOOLS Medical Imaging toolkits. |
LDicomNet::GetChallengeISCL
#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 |
Win32, x64
See Also
Functions: |
|
Topics: |
|
|
General Integrated Secure Communication Layer (ISCL) Information |
Example
For an example, refer to LDicomNet::GetErrorSecure.