Skip to main content

IdentityWallet.signChallenge() method

Signs a big integer with an Auth BJJ Credential that identifies a key for signing.

Signature:

signChallenge(challenge: bigint, credential: W3CCredential): Promise<Signature>;

Parameters

ParameterTypeDescription
challengebigint
credentialW3CCredentialAuth BJJ credential

Returns:

Promise<Signature>

Promise<Signature> - the signature object with R8 and S params