Parameters
- params: {
addSuiteContext?: boolean;
documentLoader: DocumentLoader;
proofPurposeOptions: {
challenge: string;
domain: string;
} & Record<string, unknown>;
suite: any;
unsigned: Omit<VPType, "proof">;
}Optional
addSuiteContext?: boolean
proofPurposeOptions: {
challenge: string;
domain: string;
} & Record<string, unknown>
suite: any
unsigned: Omit<VPType, "proof">
Returns Promise<VPType>
A promise that resolves to the signed VP
A function to sign a Verifiable Presentation (VP).