verifyAnswer: (record: any, rawVpToken: unknown, ctx: any) => Promise<any> = ...
Type Declaration
-
- (record: any, rawVpToken: unknown, ctx: any): Promise<any>
-
Parameters
- record: any
- rawVpToken: unknown
- ctx: any
Returns Promise<any>
{ shapeOk: true, verified, presentation, format, id }, or a
shape refusal
Verifies one answer: the
vp_tokenread for its query, the presentation checked in its format, the issuer certificate's revocation and the credential's status.