Package org.bouncycastle.tls.crypto
Class TlsDHConfig
java.lang.Object
org.bouncycastle.tls.crypto.TlsDHConfig
Basic config for Diffie-Hellman.
-
Field Summary
Modifier and TypeFieldDescriptionprotected final DHGroup
protected final int
protected final boolean
-
Constructor Summary
ConstructorDescriptionTlsDHConfig
(int namedGroup, boolean padded) TlsDHConfig
(DHGroup explicitGroup) -
Method Summary
-
Field Details
-
explicitGroup
-
namedGroup
protected final int namedGroup -
padded
protected final boolean padded
-
-
Constructor Details
-
TlsDHConfig
-
TlsDHConfig
public TlsDHConfig(int namedGroup, boolean padded)
-
-
Method Details
-
getExplicitGroup
-
getNamedGroup
public int getNamedGroup() -
isPadded
public boolean isPadded()
-