Class AesCmacKeyManager


  • public final class AesCmacKeyManager
    extends java.lang.Object
    This key manager generates new AesCmacKey keys and produces new instances of AesCmac.
    • Method Detail

      • register

        public static void register​(boolean newKeyAllowed)
                             throws java.security.GeneralSecurityException
        Throws:
        java.security.GeneralSecurityException
      • rawAes256CmacTemplate

        public static final KeyTemplate rawAes256CmacTemplate()
        Returns:
        A KeyTemplate that generates new instances of AES-CMAC keys with the following parameters: