Package de.otto.kafka.messaging.e2ee
Class EncryptionCipherSpec.EncryptionCipherSpecBuilder
java.lang.Object
de.otto.kafka.messaging.e2ee.EncryptionCipherSpec.EncryptionCipherSpecBuilder
- Enclosing class:
- EncryptionCipherSpec
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()cipherName(String cipherName) keyVersion(int keyVersion)
-
Constructor Details
-
EncryptionCipherSpecBuilder
public EncryptionCipherSpecBuilder()
-
-
Method Details
-
keyVersion
- Parameters:
keyVersion- the version of the key within vault- Returns:
- the builder
-
cipherName
- Parameters:
cipherName- JSON property name of the key within Vault.- Returns:
- the builder
-
build
- Returns:
- the EncryptionCipherSpec
-