Package com.google.crypto.tink.prf
Class AesCmacPrfKeyManager
- java.lang.Object
-
- com.google.crypto.tink.prf.AesCmacPrfKeyManager
-
public final class AesCmacPrfKeyManager extends java.lang.ObjectThis key manager generates newAesCmacKeyPrfkeys and produces new instances ofAesCmacPrf.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static KeyTemplateaes256CmacTemplate()Returns aKeyTemplatethat generates new instances of AES-CMAC keys with the following parameters: Key size: 32 bytes Prefix type:KeyTemplate.OutputPrefixType.RAWstatic voidregister(boolean newKeyAllowed)
-
-
-
Method Detail
-
register
public static void register(boolean newKeyAllowed) throws java.security.GeneralSecurityException- Throws:
java.security.GeneralSecurityException
-
aes256CmacTemplate
public static final KeyTemplate aes256CmacTemplate()
Returns aKeyTemplatethat generates new instances of AES-CMAC keys with the following parameters:- Key size: 32 bytes
- Prefix type:
KeyTemplate.OutputPrefixType.RAW
- Returns:
- A
KeyTemplatethat generates new instances of AES-CMAC keys with the following parameters:- Key size: 32 bytes
- Prefix type:
KeyTemplate.OutputPrefixType.RAW
-
-