CredentialIssuerLD.verifyCredentialLD() method
Verifies a Verifiable Credential JWT or LDS Format.
Signature:
verifyCredentialLD(args: IVerifyCredentialLDArgs, context: IRequiredContext): Promise<boolean>;
Parameters
Parameter | Type | Description |
---|---|---|
args | IVerifyCredentialLDArgs | Arguments necessary to verify a VerifiableCredential |
context | IRequiredContext | This reserved param is automatically added and handled by the framework, *do not override* |
Returns:
Promise<boolean>
- a promise that resolves to the boolean true on successful verification or rejects on error
Remarks
Please see Verifiable Credential data model
This API may change without a BREAKING CHANGE notice.