Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "src/verification/Verifier"

This module contains the Verifier class which is used to verify Credentials.

Index

Functions

requestCombinedPresentation

requestPresentation

  • requestPresentation(__namedParameters: { keyLength: undefined | 1024 | 2048 | 4096; reqUpdatedAfter: undefined | Date; requestedAttributes: string[] }): Promise<{ message: PresentationRequest; session: VerificationSession }>
  • Initiates a verification session.

    Parameters

    • __namedParameters: { keyLength: undefined | 1024 | 2048 | 4096; reqUpdatedAfter: undefined | Date; requestedAttributes: string[] }
      • keyLength: undefined | 1024 | 2048 | 4096
      • reqUpdatedAfter: undefined | Date
      • requestedAttributes: string[]

    Returns Promise<{ message: PresentationRequest; session: VerificationSession }>

    A session and a message object. The message should be sent to the Claimer and used in buildPresentation. The session should be kept private and used in verifyPresentation.

verifyCombinedPresentation

verifyPresentation

Generated using TypeDoc