public class AeadWrapper extends Object implements com.google.crypto.tink.Aead
| Modifier and Type | Field and Description |
|---|---|
static String |
ENCRYPT_ALTERNATE_KMS_KEY_IDS |
| Constructor and Description |
|---|
AeadWrapper(Map<String,?> configs,
String kmsType,
String kmsKeyId) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
decrypt(byte[] ciphertext,
byte[] associatedData) |
byte[] |
encrypt(byte[] plaintext,
byte[] associatedData) |
public static final String ENCRYPT_ALTERNATE_KMS_KEY_IDS
public 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 © 2025 Confluent, Inc.. All rights reserved.