Class AzureKmsAead
java.lang.Object
io.confluent.kafka.schemaregistry.encryption.azure.AzureKmsAead
- All Implemented Interfaces:
com.google.crypto.tink.Aead
A
Aead that forwards encryption/decryption requests to a key in AZURE KMS.-
Constructor Summary
ConstructorsConstructorDescriptionAzureKmsAead(com.azure.security.keyvault.keys.cryptography.CryptographyClient kmsClient, com.azure.security.keyvault.keys.cryptography.models.EncryptionAlgorithm algorithm) Constructor -
Method Summary
-
Constructor Details
-
AzureKmsAead
public AzureKmsAead(com.azure.security.keyvault.keys.cryptography.CryptographyClient kmsClient, com.azure.security.keyvault.keys.cryptography.models.EncryptionAlgorithm algorithm) Constructor- Parameters:
kmsClient- - kms clientalgorithm- - algorithm
-
-
Method Details
-
encrypt
- Specified by:
encryptin interfacecom.google.crypto.tink.Aead- Throws:
GeneralSecurityException
-
decrypt
- Specified by:
decryptin interfacecom.google.crypto.tink.Aead- Throws:
GeneralSecurityException
-