DecryptionOnlyKey
class DecryptionOnlyKey(val identifier: EncryptionKey.Identifier, val privateKey: Key) : EncryptionKey, JweDecryptor(source)
A decryption-only key that holds only the private key material, implementing JweDecryptor.
Used when tokens must be decrypted but encryption is not required (e.g. a service that only consumes encrypted tokens). Accessing publicKey on this type throws.