Class HkdfPrfKeyManager


  • public class HkdfPrfKeyManager
    extends java.lang.Object
    This key manager generates new HkdfPrfKey keys and produces new instances of HkdfStreamingPrf and HkdfPrf.
    • Method Detail

      • register

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

        public static java.lang.String staticKeyType()
      • hkdfSha256Template

        public static final KeyTemplate hkdfSha256Template()
        Generates a KeyTemplate for HKDF-PRF keys with the following parameters.
        • Hash function: SHA256
        • HMAC key size: 32 bytes
        • Salt: empty