Package org.bouncycastle.tls.crypto
Class TlsDHConfig
- java.lang.Object
-
- org.bouncycastle.tls.crypto.TlsDHConfig
-
public class TlsDHConfig extends java.lang.Object
Basic config for Diffie-Hellman.
-
-
Field Summary
Fields Modifier and Type Field Description protected DHGroup
explicitGroup
protected int
namedGroup
protected boolean
padded
-
Constructor Summary
Constructors Constructor Description TlsDHConfig(int namedGroup, boolean padded)
TlsDHConfig(DHGroup explicitGroup)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DHGroup
getExplicitGroup()
int
getNamedGroup()
boolean
isPadded()
-
-
-
Field Detail
-
explicitGroup
protected final DHGroup explicitGroup
-
namedGroup
protected final int namedGroup
-
padded
protected final boolean padded
-
-
Constructor Detail
-
TlsDHConfig
public TlsDHConfig(DHGroup explicitGroup)
-
TlsDHConfig
public TlsDHConfig(int namedGroup, boolean padded)
-
-
Method Detail
-
getExplicitGroup
public DHGroup getExplicitGroup()
-
getNamedGroup
public int getNamedGroup()
-
isPadded
public boolean isPadded()
-
-