Class CommittedKey
java.lang.Object
com.amazonaws.encryptionsdk.internal.CommittedKey
-
Method Summary
Modifier and TypeMethodDescriptionstatic CommittedKey
generate(CryptoAlgorithm alg, SecretKey dataKey, byte[] nonce)
Generates an encryption key along with associated commitment value.byte[]
getKey()
-
Method Details
-
getKey
-
getCommitment
public byte[] getCommitment() -
generate
public static CommittedKey generate(CryptoAlgorithm alg, SecretKey dataKey, byte[] nonce) throws InvalidKeyExceptionGenerates an encryption key along with associated commitment value.- Throws:
InvalidKeyException
-