Class

CredentialCommitmentData

CredentialCommitmentData()

Commitment to a credential record, proof that the commitment is valid, and credential key that can be used to open a commitment.

Constructor

# new CredentialCommitmentData()

View Source pkg/wasm.js, line 1210

Methods

# get_commit_key() → {CredentialCommitmentKey}

Returns the key used to generate the commitment.

See:
  • wasm_credential_open_commitment for information about how to open a credential commitment.

View Source pkg/wasm.js, line 1251

# get_commitment() → {CredentialCommitment}

Returns the underlying credential commitment.

See:
  • wasm_credential_verify_commitment for information about how to verify a credential commitment.

View Source pkg/wasm.js, line 1231

# get_pok() → {CredentialPoK}

Returns the underlying proof of knowledge that the credential is valid.

See:
  • wasm_credential_verify_commitment for information about how to verify a credential commitment.

View Source pkg/wasm.js, line 1241