VerifiableCredentialEncryptionType.CROSSMINT_RECOVERABLE encryption type.
This class uses a provided signature callback to authenticate the user and decrypt the credential.
To use the Crossmint decrypt endpoint, an API key with the credentials.decrypt scope must be provided.
Constructors
new CrossmintDecrypt()
new CrossmintDecrypt(userAddress,signCallback,authService):CrossmintDecrypt
Parameters
Returns
CrossmintDecrypt
Defined in
decryption/wallet.ts:25Properties
Methods
decrypt()
decrypt(Decrypts an encrypted verifiable credential. This method validates the decrypted data to ensure it is a valid verifiable credential.credential):Promise<VerifiableCredential>
Parameters
Returns
Promise<VerifiableCredential>
A promise that resolves to a VerifiableCredential.

