verifyEnvelope: (envelope: any, kind: "vc" | "vp", opts: any) => Promise<any> = ...
Type Declaration
-
- (envelope: any, kind: "vc" | "vp", opts: any): Promise<any>
-
Parameters
- envelope: any
- kind: "vc" | "vp"
- opts: any
Returns Promise<any>
{ ok, kind, document, errors, warnings }
Reads an envelope's
data:URL — its media type, base64 or not — and verifies the value inside.