JweEncryptor
Functional interface for encrypting a content encryption key (CEK) and the token payload.
See also
Inheritors
Properties
Functions
Link copied to clipboard
abstract suspend fun encrypt(data: ByteArray, aad: ByteArray, contentAlgorithm: EncryptionContentAlgorithm): JweEncryptResult
Encrypts data using the given contentAlgorithm and returns the full JWE encryption result.
Link copied to clipboard
Merges this BaseJweProcessor with other, producing a combined JweProcessor that supports both encryption and decryption.