Interface: VerifierOptions

The options for the verifier.

Properties

challenge?

optional challenge?: string

The challenge that the proof is expected to have. If the proof has a challenge, this value should be the same as the challenge in the proof.

domain?

optional domain?: string

The domain that the proof is expected to be used in. If the proof has a domain, this value should be the same as the domain in the proof.

Inherited from

expectedProofPurpose?

optional expectedProofPurpose?: string

The expected proof purpose.

verificationMethodResolver

verificationMethodResolver: (verificationMethod) => Promise<Uint8Array<ArrayBufferLike>>

The function to resolve the verification method to the public key.

Parameters

======= verificationMethod

string

Returns

Promise<Uint8Array<ArrayBufferLike>>