Class

CredentialIssuerKeyPair

CredentialIssuerKeyPair()

Key pair of a credential issuer.

Constructor

# new CredentialIssuerKeyPair()

View Source pkg/wasm.js, line 1282

Methods

# static from_json() → {CredentialIssuerKeyPair}

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

View Source pkg/wasm.js, line 1326

# get_pk() → {CredIssuerPublicKey}

Returns the credential issuer's public key.

View Source pkg/wasm.js, line 1301

# get_sk() → {CredIssuerSecretKey}

Returns the credential issuer's secret key.

View Source pkg/wasm.js, line 1309

# to_json() → {any}

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

View Source pkg/wasm.js, line 1317

any