Class TlsDHConfig

java.lang.Object
org.bouncycastle.tls.crypto.TlsDHConfig

public class TlsDHConfig extends Object
Basic config for Diffie-Hellman.
  • Field Details

    • explicitGroup

      protected final DHGroup explicitGroup
    • namedGroup

      protected final int namedGroup
    • padded

      protected final boolean padded
  • Constructor Details

    • TlsDHConfig

      public TlsDHConfig(DHGroup explicitGroup)
    • TlsDHConfig

      public TlsDHConfig(int namedGroup, boolean padded)
  • Method Details

    • getExplicitGroup

      public DHGroup getExplicitGroup()
    • getNamedGroup

      public int getNamedGroup()
    • isPadded

      public boolean isPadded()