LDicomNet::ExternalAuthenticateISCL

#include "ltdic.h"

virtual L_UINT32 LDicomNet::ExternalAuthenticateISCL(nChallenge, nResponse, nParameter)

L_UINT64 nChallenge;

/* challenge code */

L_UINT64 nResponse;

/* response code */

L_UINT64 nParameter;

/* key */

Determines whether the response code is a valid response for the challenge code. This function is available in the Medical Suite toolkits.

Parameter

Description

nChallenge

Value that represents the challenge code sent to the peer computer. This value is similar to a time stamp. This function will determine whether the response code in the nResponse parameter is a valid response for this challenge code.

nResponse

Value that represents the response code generated by the peer computer. This value is similar to a time stamp. This function will determine whether this response code is a valid response for the challenge code in the nChallenge parameter.

nParameter

Value that indicates the current mutual authentication key.

Returns

DICOM_SUCCESS

The response code and challenge code match.

<> DICOM_SUCCESS

The response code and challenge code do not match.

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

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.