Skip to main content

@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

NameType
signatureProofstring
sparseMtProof?string

Returns

CredentialProof

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

NameType
rCredentialProof

Returns

CredentialProof

Defined in

entity/identity/credential_proof.ts:27