Class PredefinedPrfParameters


  • public final class PredefinedPrfParameters
    extends java.lang.Object
    Predefined Parameters for PRF-Keys.

    Note: if you want to keep dependencies small, consider inlining the constants here.

    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • HKDF_SHA256

        public static final HkdfPrfParameters HKDF_SHA256
        A Parameters object for generating new instances of HkdfPrfKey with the following parameters:
        • Hash function: SHA256
        • HMAC key size: 32 bytes
        • Salt: empty
      • HMAC_SHA256_PRF

        public static final HmacPrfParameters HMAC_SHA256_PRF
        A Parameters object for generating new instances of HmacPrfKey with the following parameters:
        • Hash function: SHA256
        • HMAC key size: 32 bytes
      • HMAC_SHA512_PRF

        public static final HmacPrfParameters HMAC_SHA512_PRF
        A Parameters object for generating new instances of HmacPrfKey with the following parameters:
        • Hash function: SHA512
        • HMAC key size: 64 bytes
      • AES_CMAC_PRF

        public static final AesCmacPrfParameters AES_CMAC_PRF
        A Parameters object for generating new instances of AesCmacKey with the following parameters:
        • HMAC key size: 32 bytes