@bloock/sdk / CredentialProof
Class: CredentialProof
Represents the proof associated with a credential, including signature and sparse merkle tree proof.
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new CredentialProof(signatureProof
, sparseMtProof?
): CredentialProof
Constructs an CredentialProof object with the specified parameters.
Parameters
Name | Type |
---|---|
signatureProof | string |
sparseMtProof? | string |
Returns
Defined in
entity/identity/credential_proof.ts:15
Properties
signatureProof
• signatureProof: string
Defined in
entity/identity/credential_proof.ts:7
sparseMtProof
• Optional
sparseMtProof: string
Defined in
entity/identity/credential_proof.ts:8
Methods
toProto
▸ toProto(): CredentialProof
Returns
CredentialProof
Defined in
entity/identity/credential_proof.ts:20
fromProto
▸ fromProto(r
): CredentialProof
Parameters
Name | Type |
---|---|
r | CredentialProof |