Abstract Class: Verifier

An abstract class that represents a verifier. It is used to verify proofs using a given cryptosuites.

Constructors

Constructor

new Verifier(): Verifier

Returns

Verifier

Methods

verify()

abstract verify(securedDocument, options, cryptosuites): boolean | Promise<boolean>

Verifies a secured document.

Parameters

======= securedDocument

The secured document to verify.

======= options

The options for the verification.

======= cryptosuites

link:ProofVerifier.md[]

The cryptosuites to use.

Returns

boolean | Promise<boolean>

True if the secured document is valid, false otherwise.