CredentialPlugin.matchKeyForJWT() method
This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Checks if a key is suitable for signing JWT payloads.
Signature:
matchKeyForJWT(key: IKey, context: IssuerAgentContext): Promise<boolean>;
Parameters
Parameter | Type | Description |
---|---|---|
key | IKey | the key to check |
context | IssuerAgentContext | the Veramo agent context, unused here |
Returns:
Promise<boolean>