Class HKDFParameters

java.lang.Object
org.bouncycastle.crypto.internal.params.HKDFParameters
All Implemented Interfaces:
DerivationParameters

public class HKDFParameters extends Object implements DerivationParameters
Parameter class for the HKDFBytesGenerator class.
  • Constructor Details

    • HKDFParameters

      public HKDFParameters(KeyParameter hkdfKey, byte[] info)
  • Method Details

    • getKey

      public KeyParameter getKey()
      Returns the input keying material or seed.
      Returns:
      the keying material
    • getInfo

      public byte[] getInfo()
      Returns the info field, which may be empty (null is converted to empty).
      Returns:
      the info field, never null