Class BcMlsKdf

java.lang.Object
org.bouncycastle.mls.crypto.bc.BcMlsKdf
All Implemented Interfaces:
MlsKdf

public class BcMlsKdf extends Object implements MlsKdf
  • Constructor Details

    • BcMlsKdf

      public BcMlsKdf(org.bouncycastle.crypto.Digest digest)
  • Method Details

    • getDigest

      public org.bouncycastle.crypto.Digest getDigest()
      Specified by:
      getDigest in interface MlsKdf
    • getHashLength

      public int getHashLength()
      Specified by:
      getHashLength in interface MlsKdf
    • extract

      public byte[] extract(byte[] salt, byte[] ikm)
      Specified by:
      extract in interface MlsKdf
    • expand

      public byte[] expand(byte[] prk, byte[] info, int length)
      Specified by:
      expand in interface MlsKdf
    • expandWithLabel

      public byte[] expandWithLabel(byte[] secret, String label, byte[] context, int length) throws IOException
      Specified by:
      expandWithLabel in interface MlsKdf
      Throws:
      IOException