Class HKDF

  • Direct Known Subclasses:
    HKDFv3

    public abstract class HKDF
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      HKDF()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static byte[] deriveSecrets​(byte[] inputKeyMaterial, byte[] salt, byte[] info, int outputLength)  
      static byte[] deriveSecrets​(byte[] inputKeyMaterial, byte[] info, int outputLength)  
      • Methods inherited from class java.lang.Object

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

      • HKDF

        public HKDF()
    • Method Detail

      • deriveSecrets

        public static byte[] deriveSecrets​(byte[] inputKeyMaterial,
                                           byte[] info,
                                           int outputLength)
      • deriveSecrets

        public static byte[] deriveSecrets​(byte[] inputKeyMaterial,
                                           byte[] salt,
                                           byte[] info,
                                           int outputLength)