Class Cryptor
java.lang.Object
io.confluent.kafka.schemaregistry.encryption.tink.Cryptor
-
Constructor Details
-
Cryptor
- Throws:
GeneralSecurityException
-
-
Method Details
-
getDekFormat
-
generateKey
- Throws:
GeneralSecurityException
-
encrypt
public byte[] encrypt(byte[] dek, byte[] plaintext, byte[] associatedData) throws GeneralSecurityException - Throws:
GeneralSecurityException
-
decrypt
public byte[] decrypt(byte[] dek, byte[] ciphertext, byte[] associatedData) throws GeneralSecurityException - Throws:
GeneralSecurityException
-