Class OtherInfoGenerator

java.lang.Object
org.bouncycastle.crypto.util.OtherInfoGenerator
Direct Known Subclasses:
OtherInfoGenerator.PartyU, OtherInfoGenerator.PartyV

public class OtherInfoGenerator extends Object
OtherInfo Generator for which can be used for populating the SuppPrivInfo field used to provide shared secret data used with NIST SP 800-56A agreement algorithms.
  • Field Details

  • Constructor Details

    • OtherInfoGenerator

      public OtherInfoGenerator(AlgorithmIdentifier algorithmID, byte[] partyUInfo, byte[] partyVInfo, SecureRandom random)
      Create a basic builder with just the compulsory fields.
      Parameters:
      algorithmID - the algorithm associated with this invocation of the KDF.
      partyUInfo - sender party info.
      partyVInfo - receiver party info.
      random - a source of randomness.