public class HcVaultKmsAead extends Object implements com.google.crypto.tink.Aead
Aead that forwards encryption/decryption requests to a key in Vault Transit Secrets Engine.| Constructor and Description |
|---|
HcVaultKmsAead(io.github.jopenlibs.vault.api.Logical vault,
String keyUri) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
decrypt(byte[] ciphertext,
byte[] associatedData) |
byte[] |
encrypt(byte[] plaintext,
byte[] associatedData) |
public HcVaultKmsAead(io.github.jopenlibs.vault.api.Logical vault,
String keyUri)
throws GeneralSecurityException
GeneralSecurityExceptionpublic byte[] encrypt(byte[] plaintext,
byte[] associatedData)
throws GeneralSecurityException
encrypt in interface com.google.crypto.tink.AeadGeneralSecurityExceptionpublic byte[] decrypt(byte[] ciphertext,
byte[] associatedData)
throws GeneralSecurityException
decrypt in interface com.google.crypto.tink.AeadGeneralSecurityExceptionCopyright © 2026 Confluent, Inc.. All rights reserved.