CredentialIssuerLD.createVerifiablePresentationLD() method
Creates a Verifiable Presentation. The payload, signer and format are chosen based on the args
parameter.
Signature:
createVerifiablePresentationLD(args: ICreateVerifiablePresentationLDArgs, context: IRequiredContext): Promise<VerifiablePresentation>;
Parameters
Parameter | Type | Description |
---|---|---|
args | ICreateVerifiablePresentationLDArgs | Arguments necessary to create the Presentation. |
context | IRequiredContext | This reserved param is automatically added and handled by the framework, *do not override* |
Returns:
Promise<VerifiablePresentation>
- a promise that resolves to the VerifiablePresentation that was requested or rejects with an error if there was a problem with the input or while getting the key to sign
Remarks
Please see Verifiable Presentation data model
This API may change without a BREAKING CHANGE notice.