public class DH
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected javax.crypto.KeyAgreement |
agreement |
protected java.security.KeyPairGenerator |
generator |
| Constructor and Description |
|---|
DH() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getE() |
java.math.BigInteger |
getG() |
java.math.BigInteger |
getK() |
java.math.BigInteger |
getP() |
protected void |
init(java.security.spec.AlgorithmParameterSpec params,
Factory<Random> randomFactory) |
protected final java.security.KeyPairGenerator generator
protected final javax.crypto.KeyAgreement agreement
protected void init(java.security.spec.AlgorithmParameterSpec params,
Factory<Random> randomFactory)
throws java.security.GeneralSecurityException
java.security.GeneralSecurityExceptionpublic java.math.BigInteger getP()
public java.math.BigInteger getG()
public byte[] getE()
public java.math.BigInteger getK()