Skip to content

VerifyRequest

VerifyResponse

Purpose

A VerifyRequest instructs a verification engine to verify a commitment from a particular external identity, possibly using known signs-for relationships.

A VerifyResponse contains the result of verifying a commitment in response to a VerifyRequest.

Type

Behavior

  • Calls the verify method on the provided external identity, commitment, and data, and returns the result in an VerifyResponse
  • If useSignsFor is true, uses known signs-for relationships to determine whether the commitment is valid
  • If useSignsFor is false, only allows a commitment from the identity specifically provided

Message flow

sequenceDiagram

%% --8<-- [start:sequence]
Any Local Engine ->>+ VerificationEngine: VerifyRequest
VerificationEngine -->>- Any Local Engine: VerifyResponse
%% --8<-- [end:sequence]