Previous Topic: AddCurrentCardToWallet()Next Topic: SignChallengeEx()


SignChallenge()

Important! This method is currently not supported for Signed Java Applet client.

Triggers the ArcotID PKI plug-in or applet to sign the challenge from the authentication server. User is provided with an interface to select the ArcotID PKI and enter the password.

Syntax

string SignChallenge(challenge)

Parameters

The following are the parameters of this method:

Parameter

Type

Description

challenge

string

Base-64 encoded challenge string that is to be signed.

Returns

Base-64 encoded string that includes the digital signature and the Arcot certificate, which contains the encrypted public key.

Discussion

When a client sends a signed challenge to AuthMinder, it is authenticated by the authentication server. If the server authenticates the challenge a response is generated.

The SignChallenge() method checks for this response. If a response is generated, then the method passes this response back to the client.

You obtain the challenge that is passed to this function by using one of the server-side APIs that are available for this purpose.

Example

var arcotClient = new ArcotClient();
var challengeString = "gCcBwHe/XkIxMjM0";

var response = arcotClient.SignChallenge(challengeString);