registerEncryptionKey

Registers any EncryptionKey variant for JWE token decryption, merging it with any previously registered processor for the same algorithm and key ID.

Return

this builder for chaining

Parameters

key

the encryption key to register

Throws

if a key of the same type is already registered for the same algorithm and key ID


Registers an EncryptionKey in this registry, merging it with any existing processor for the same algorithm and key ID.

Parameters

key

the encryption key to register

Throws

if a key of the same type is already registered for the same algorithm and key ID