Class FipsAgreementParameters

java.lang.Object
org.bouncycastle.crypto.fips.FipsParameters
org.bouncycastle.crypto.fips.FipsAgreementParameters
All Implemented Interfaces:
Parameters
Direct Known Subclasses:
FipsDH.AgreementParameters, FipsDH.DHUAgreementParameters, FipsDH.MQVAgreementParameters, FipsEC.AgreementParameters, FipsEC.DHUAgreementParameters, FipsEC.MQVAgreementParameters

public class FipsAgreementParameters extends FipsParameters
Base parameters class for Diffie-Hellman and MQV based key agreement algorithms.
  • Method Details

    • getDigestAlgorithm

      public FipsAlgorithm getDigestAlgorithm()
      Return the digest algorithm ID associated with these parameters.
      Returns:
      the digest algorithm ID, null if not present.
    • getPrfAlgorithm

      public FipsKDF.PRF getPrfAlgorithm()
      Return the PRF associated with these parameters.
      Returns:
      the PRF ID, null if not present.
    • getSalt

      public byte[] getSalt()
      Return the salt/iv associated with these parameters.
      Returns:
      the salt, null if not present.