method PrivateSecp256r1.prototype.decryptChaCha20
PrivateSecp256r1.prototype.decryptChaCha20(
verification_method: DIDURL,
jwe: JWE,
): Uint8Array

Decrypt the provided JWE object using the X25519 key and the XC20P algorithm.

Parameters

verification_method: DIDURL
jwe: JWE

Return Type

Uint8Array