Class TwoStepKDFParameterSpec.Builder

java.lang.Object
org.bouncycastle.jcajce.spec.TwoStepKDFParameterSpec.Builder
Enclosing class:
TwoStepKDFParameterSpec

public static class TwoStepKDFParameterSpec.Builder extends Object
  • Constructor Details

    • Builder

      public Builder(TwoStepKDFParameterSpec.KDFMode kdfMode)
      Construct parameters for HKDF, specifying both the optional salt and optional info.
      Parameters:
      kdfMode - the KDF mode to use.
    • Builder

      public Builder(TwoStepKDFParameterSpec.KDFMode kdfMode, int r)
      Construct parameters for TwoStepKDF using Counter mode, specifying both the optional salt and optional info (default location position of After Iteration Data is used).
      Parameters:
      kdfMode - the KDF mode to use.
      r - the bit length of the counter to use.
  • Method Details