Class

CredentialUserKeyPair

CredentialUserKeyPair()

Key pair of a credential user.

Constructor

# new CredentialUserKeyPair()

View Source pkg/wasm.js, line 1422

Methods

# static from_json() → {CredentialUserKeyPair}

Generate a key pair from a JSON-serialized JavaScript value.

View Source pkg/wasm.js, line 1466

# get_pk() → {CredUserPublicKey}

Returns the credential issuer's public key.

View Source pkg/wasm.js, line 1441

# get_sk() → {CredUserSecretKey}

Returns the credential issuer's secret key.

View Source pkg/wasm.js, line 1449

# to_json() → {any}

Convert the key pair to a serialized value that can be used in the browser.

View Source pkg/wasm.js, line 1457

any