secureCose: (document: any, kind: "vc" | "vp", signer: any) => Promise<Buffer> = ...
Type Declaration
-
- (document: any, kind: "vc" | "vp", signer: any): Promise<Buffer>
-
Parameters
- document: any
- kind: "vc" | "vp"
- signer: any
Returns Promise<Buffer>
the COSE_Sign1 bytes
Secures a document as a COSE_Sign1 (section 3.3, RFC 9052).