Enum Class EncryptionExecutor.Status
java.lang.Object
java.lang.Enum<EncryptionExecutor.Status>
io.confluent.kafka.schemaregistry.encryption.EncryptionExecutor.Status
- All Implemented Interfaces:
Serializable,Comparable<EncryptionExecutor.Status>,Constable
- Enclosing class:
- EncryptionExecutor
Field-level decryption outcome recorded under
EncryptionExecutor.META_STATUS
during deserialization.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionField ciphertext was decrypted to plaintext.Decryption was attempted but threw.Field was left as ciphertext because the executor was configured for passthrough (non-shared KEK). -
Method Summary
Modifier and TypeMethodDescriptionstatic EncryptionExecutor.StatusReturns the enum constant of this class with the specified name.static EncryptionExecutor.Status[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DECRYPTED
Field ciphertext was decrypted to plaintext. -
PASSTHROUGH
Field was left as ciphertext because the executor was configured for passthrough (non-shared KEK). -
FAILED
Decryption was attempted but threw. The exception message is underEncryptionExecutor.META_ERROR_MESSAGE.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-