public class DH
extends java.lang.Object
Constructor and Description |
---|
DH() |
Modifier and Type | Method and Description |
---|---|
void |
computeK(java.math.BigInteger f) |
java.math.BigInteger |
getE() |
java.math.BigInteger |
getK() |
void |
init(java.math.BigInteger p,
java.math.BigInteger g) |
public void init(java.math.BigInteger p, java.math.BigInteger g) throws java.security.GeneralSecurityException
java.security.GeneralSecurityException
public void computeK(java.math.BigInteger f) throws java.security.GeneralSecurityException
java.security.GeneralSecurityException
public java.math.BigInteger getE()
public java.math.BigInteger getK()