public class FieldEncryptionExecutor extends FieldRuleExecutor
| Modifier and Type | Class and Description |
|---|---|
class |
FieldEncryptionExecutor.FieldEncryptionExecutorTransform |
| Modifier and Type | Field and Description |
|---|---|
static String |
CACHE_EXPIRY_SECS |
static String |
CACHE_SIZE |
static String |
CLOCK |
static byte[] |
EMPTY_AAD |
static String |
ENCRYPT_ALTERNATE_KMS_KEY_IDS |
static String |
ENCRYPT_DEK_ALGORITHM |
static String |
ENCRYPT_DEK_EXPIRY_DAYS |
static String |
ENCRYPT_KEK_NAME |
static String |
ENCRYPT_KMS_KEY_ID |
static String |
ENCRYPT_KMS_TYPE |
static String |
KMS_TYPE_SUFFIX |
protected static int |
LATEST_VERSION |
protected static byte |
MAGIC_BYTE |
protected static int |
MILLIS_IN_DAY |
static String |
TYPE |
protected static int |
VERSION_SIZE |
PRESERVE_SOURCE_FIELDSDEFAULT_NAME| Constructor and Description |
|---|
FieldEncryptionExecutor() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addOriginalConfigs() |
void |
close() |
void |
configure(Map<String,?> configs) |
protected byte[] |
generateDek(DekFormat dekFormat) |
Map<DekFormat,Cryptor> |
getCryptors() |
FieldEncryptionExecutor.FieldEncryptionExecutorTransform |
newTransform(RuleContext ctx) |
String |
type() |
isPreserveSource, transformpublic static final String TYPE
public static final String ENCRYPT_KEK_NAME
public static final String ENCRYPT_KMS_KEY_ID
public static final String ENCRYPT_KMS_TYPE
public static final String ENCRYPT_DEK_ALGORITHM
public static final String ENCRYPT_DEK_EXPIRY_DAYS
public static final String ENCRYPT_ALTERNATE_KMS_KEY_IDS
public static final String KMS_TYPE_SUFFIX
public static final byte[] EMPTY_AAD
public static final String CACHE_EXPIRY_SECS
public static final String CACHE_SIZE
public static final String CLOCK
protected static final int LATEST_VERSION
protected static final byte MAGIC_BYTE
protected static final int MILLIS_IN_DAY
protected static final int VERSION_SIZE
public boolean addOriginalConfigs()
public void configure(Map<String,?> configs)
configure in interface RuleBaseconfigure in interface org.apache.kafka.common.Configurableconfigure in class FieldRuleExecutorpublic String type()
public FieldEncryptionExecutor.FieldEncryptionExecutorTransform newTransform(RuleContext ctx) throws RuleException
newTransform in class FieldRuleExecutorRuleExceptionprotected byte[] generateDek(DekFormat dekFormat) throws GeneralSecurityException
GeneralSecurityExceptionpublic void close()
throws RuleException
RuleExceptionCopyright © 2026 Confluent, Inc.. All rights reserved.