SignChallengeEx()

Triggers the plug-in or applet to sign a challenge string. The name of the ArcotID PKI and the password are passed in as parameters. The plug-in or applet does not present a GUI for this function.
aa813test
Triggers the plug-in or applet to sign a challenge string. The name of the ArcotID PKI and the password are passed in as parameters. The plug-in or applet does not present a GUI for this function.
Syntax
string SignChallengeEx(
challenge
userID
cardname
PIN, orgName
)
Parameters
The following are the parameters of this method:
Parameter
Type
Description
challenge
string
The encoded challenge string.
userID
string
The unique user identifier associated with the Arcot card.
cardname
string
The card name associated with the Arcot card.
PIN
string
The ArcotID PKI password.
orgName
string
The name of the AuthMinder organization to which the user belongs.
Returns
Base-64 encoded string that includes the digital signature and the Arcot certificate, which contains the encrypted public key.
Discussion
Use this method if you are creating a custom UI.
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 useridString    = "GuestUser";
var cardnameString  = "card";
var pinString       = "123456";
var orgName         = "Acme Vendor";
// Wallet will be saved to either hard disk or USB
var response = arcotClient.SignChallengeEx(challengeString,
                                           useridString,
                                           cardnameString,
                                           pinString, orgName);