Class EncryptionExecutor.EncryptionExecutorTransform
java.lang.Object
io.confluent.kafka.schemaregistry.encryption.EncryptionExecutor.EncryptionExecutorTransform
- Enclosing class:
- EncryptionExecutor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidRethrows a kek lookup failure thatinit(RuleContext)deferred so the field walk could record per-field metadata.protected StringgetKekName(RuleContext ctx) getOrCreateDek(RuleContext ctx, Integer version) protected Kekvoidinit(RuleContext ctx) booleantransform(RuleContext ctx, RuleContext.Type type, Object value)
-
Constructor Details
-
EncryptionExecutorTransform
public EncryptionExecutorTransform()
-
-
Method Details
-
init
- Throws:
RuleException
-
checkDeferredFailure
Rethrows a kek lookup failure thatinit(RuleContext)deferred so the field walk could record per-field metadata. Must be called once the walk is done, before its result is used.- Throws:
RuleException
-
isDekRotated
public boolean isDekRotated() -
getKekName
- Throws:
RuleException
-
getOrCreateKek
- Throws:
RuleException
-
getOrCreateDek
public Dek getOrCreateDek(RuleContext ctx, Integer version) throws RuleException, GeneralSecurityException -
transform
- Throws:
RuleException
-