←Select platform

GetChallengeIscl Method

Summary

Generates a random number.

Syntax
C#
VB
C++
protected virtual bool GetChallengeIscl( 
   ref long challenge, 
   long parameter 
) 
Protected Overridable Function GetChallengeIscl( _ 
   ByRef challenge As Long, _ 
   ByVal parameter As Long _ 
) As Boolean 
protected: 
virtual bool GetChallengeIscl(  
   int64% challenge, 
   int64 parameter 
)  

Parameters

challenge
A variable to be updated with the random number generated. This number is similar to a time stamp.

parameter
A value that indicates the current mutual authentication key.

Return Value

true if the generation of the random number was successful; otherwise, false.

Remarks

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

Example

For an example, refer to SetIsclMutualAuthenticationAlgorithm.

Requirements

Target Platforms

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

Leadtools.Dicom Assembly