| Package | Description |
|---|---|
| com.google.crypto.tink.mac |
| Modifier and Type | Method and Description |
|---|---|
static AesCmacParameters |
AesCmacParameters.create(int tagSize)
Equivalent to
createForKeysetWithCryptographicTagSize(tagSize, Variant.NO_PREFIX); |
static AesCmacParameters |
AesCmacParameters.createForKeysetWithCryptographicTagSize(int tagSizeBytes,
AesCmacParameters.Variant variant)
Creates a new parameters object.
|
AesCmacParameters |
AesCmacKey.getParameters() |
| Modifier and Type | Method and Description |
|---|---|
static AesCmacKey |
AesCmacKey.create(AesCmacParameters parameters,
SecretBytes aesKey)
Creates a new AES-CMAC key with an empty prefix.
|
static AesCmacKey |
AesCmacKey.createForKeyset(AesCmacParameters parameters,
SecretBytes aesKeyBytes,
Integer idRequirement)
Creates a new AES-CMAC key for use in a keyset.
|