public final class AesCmacKeyManager extends Object
AesCmacKey keys and produces new instances of AesCmac.| Modifier and Type | Method and Description |
|---|---|
static KeyTemplate |
aes256CmacTemplate() |
static KeyTemplate |
rawAes256CmacTemplate() |
static void |
register(boolean newKeyAllowed) |
public static void register(boolean newKeyAllowed)
throws GeneralSecurityException
GeneralSecurityExceptionpublic static final KeyTemplate aes256CmacTemplate()
KeyTemplate that generates new instances of AES-CMAC keys with the following
parameters:
KeyTemplate.OutputPrefixType#TINK
public static final KeyTemplate rawAes256CmacTemplate()
KeyTemplate that generates new instances of AES-CMAC keys with the following
parameters:
KeyTemplate.OutputPrefixType#RAW (no prefix)