Generates a RequestMetaform object containing a QR code for verifying a credential.
The options for generating the QR code.
A RequestMetaform object containing the generated QR code.
Signs a DVR token using the provided key and DVR object, and returns a signed DVR response.
An object containing the key in PEM format, the DVR object, and the verifying key in JKWS format.
The SIWE payload to verify before signing the DVR token.
The callback URL to include in the signed DVR response.
Optional
from: stringThe DID of the sender, if provided. If not provided, a default DID is generated from the key in PEM format.
A promise that resolves with a signed DVR response object containing the DVR ID, sender DID, callback URL, and signed DVR token.
Verifies a ZkPass proof token using the provided ZkPassProofMetadataValidator.
The ZkPass proof token to verify.
The ZkPassProofMetadataValidator to use for validation.
A Promise that resolves to a boolean indicating whether the proof is valid.
Verifies a SIWE message and signature.
The SIWE message to verify.
Generated using TypeDoc
Verifier class that implements the IVerifier interface. Provides methods for generating QR codes, signing DVR tokens, verifying SIWE messages, and verifying ZkPass proofs.