Class AesGcmSivKeyManager


  • public final class AesGcmSivKeyManager
    extends java.lang.Object
    This key manager generates new AesGcmSivKey keys and produces new instances of AesGcmSiv.
    • Method Detail

      • register

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

        public static final KeyTemplate rawAes128GcmSivTemplate()
        Creates and returns a KeyTemplate that generates new instances of AES-GCM with the following parameters:

        Keys generated from this template should create ciphertexts compatible with other libraries.

      • rawAes256GcmSivTemplate

        public static final KeyTemplate rawAes256GcmSivTemplate()
        Creates and returns a KeyTemplate that generates new instances of AES-GCM-SIV with the following parameters:

        Keys generated from this template should create ciphertexts compatible with other libraries.