IIdentityWallet.signChallenge() method
Signs a big integer with an Auth BJJ Credential that identifies a key for signing.
Signature:
signChallenge(payload: bigint, credential: W3CCredential): Promise<Signature>;
Parameters
Parameter | Type | Description |
---|---|---|
payload | bigint | big number in Field |
credential | W3CCredential | Auth BJJ credential |
Returns:
Promise<Signature>
Promise<Signature>
- the signature object with R8 and S params