Enum FipsKDF.PRF

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<FipsKDF.PRF>
    Enclosing class:
    FipsKDF

    public static enum FipsKDF.PRF
    extends java.lang.Enum<FipsKDF.PRF>
    An enumeration of the FIPS approved psuedo-random-function (PRF) for KDFs used with SP 800-108.
    • Enum Constant Detail

      • TRIPLEDES_CMAC

        public static final FipsKDF.PRF TRIPLEDES_CMAC
      • SHA224_HMAC

        public static final FipsKDF.PRF SHA224_HMAC
      • SHA256_HMAC

        public static final FipsKDF.PRF SHA256_HMAC
      • SHA384_HMAC

        public static final FipsKDF.PRF SHA384_HMAC
      • SHA512_HMAC

        public static final FipsKDF.PRF SHA512_HMAC
      • SHA512_224_HMAC

        public static final FipsKDF.PRF SHA512_224_HMAC
      • SHA512_256_HMAC

        public static final FipsKDF.PRF SHA512_256_HMAC
    • Method Detail

      • values

        public static FipsKDF.PRF[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (FipsKDF.PRF c : FipsKDF.PRF.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static FipsKDF.PRF valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null