secureJwt: (document: any, kind: "vc" | "vp", signer: any) => Promise<string> = ...
Type Declaration
-
- (document: any, kind: "vc" | "vp", signer: any): Promise<string>
-
Parameters
- document: any
- kind: "vc" | "vp"
- signer: any
Returns Promise<string>
the compact JWS
Secures a document as a JWS whose payload is the document (section 3.1).