secureSdJwt: (
document: any,
kind: "vc" | "vp",
signer: any,
paths: string[],
) => Promise<string> = ...
Type Declaration
-
- (
document: any,
kind: "vc" | "vp",
signer: any,
paths: string[],
): Promise<string>
-
Parameters
- document: any
- kind: "vc" | "vp"
- signer: any
- paths: string[]
Returns Promise<string>
the SD-JWT
Secures a document as an SD-JWT (RFC 9901 section 4), each given path made selectively disclosable, deeper paths first.