Class HcVaultKmsAead
java.lang.Object
io.confluent.kafka.schemaregistry.encryption.hcvault.HcVaultKmsAead
- All Implemented Interfaces:
com.google.crypto.tink.Aead
A
Aead that forwards encryption/decryption requests to a key in Vault Transit Secrets Engine.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
HcVaultKmsAead
public HcVaultKmsAead(io.github.jopenlibs.vault.api.Logical vault, String keyUri) throws GeneralSecurityException - Throws:
GeneralSecurityException
-
-
Method Details
-
encrypt
- Specified by:
encryptin interfacecom.google.crypto.tink.Aead- Throws:
GeneralSecurityException
-
decrypt
- Specified by:
decryptin interfacecom.google.crypto.tink.Aead- Throws:
GeneralSecurityException
-