Class EncryptionExecutor

java.lang.Object
io.confluent.kafka.schemaregistry.encryption.EncryptionExecutor
All Implemented Interfaces:
RuleBase, RuleExecutor, AutoCloseable, org.apache.kafka.common.Configurable

public class EncryptionExecutor extends Object implements RuleExecutor
In envelope encryption, a user generates a data encryption key (DEK) locally, encrypts data with the DEK, sends the DEK to a KMS to be encrypted (with a key managed by KMS - KEK), and then stores the encrypted DEK. At a later point, a user can retrieve the encrypted DEK for the encrypted data, use the KEK from KMS to decrypt the DEK, and use the decrypted DEK to decrypt the data.