public final class CommittedKey extends Object
Modifier and Type | Method and Description |
---|---|
static CommittedKey |
generate(CryptoAlgorithm alg,
SecretKey dataKey,
byte[] nonce)
Generates an encryption key along with associated commitment value.
|
byte[] |
getCommitment() |
SecretKey |
getKey() |
public SecretKey getKey()
public byte[] getCommitment()
public static CommittedKey generate(CryptoAlgorithm alg, SecretKey dataKey, byte[] nonce) throws InvalidKeyException
InvalidKeyException
Copyright © 2023. All rights reserved.