Modifier and Type | Field and Description |
---|---|
(package private) java.math.BigInteger |
e |
(package private) byte[] |
e_array |
(package private) java.math.BigInteger |
f |
(package private) java.math.BigInteger |
g |
(package private) java.math.BigInteger |
K |
(package private) byte[] |
K_array |
private javax.crypto.KeyAgreement |
myKeyAgree |
private java.security.KeyPairGenerator |
myKpairGen |
(package private) java.math.BigInteger |
p |
Constructor and Description |
---|
DH() |
Modifier and Type | Method and Description |
---|---|
void |
checkRange() |
private void |
checkRange(java.math.BigInteger tmp) |
byte[] |
getE() |
byte[] |
getK() |
void |
init() |
(package private) void |
setF(java.math.BigInteger f) |
void |
setF(byte[] f) |
(package private) void |
setG(java.math.BigInteger g) |
void |
setG(byte[] g) |
(package private) void |
setP(java.math.BigInteger p) |
void |
setP(byte[] p) |
java.math.BigInteger p
java.math.BigInteger g
java.math.BigInteger e
byte[] e_array
java.math.BigInteger f
java.math.BigInteger K
byte[] K_array
private java.security.KeyPairGenerator myKpairGen
private javax.crypto.KeyAgreement myKeyAgree
public void init() throws java.lang.Exception
public byte[] getE() throws java.lang.Exception
public byte[] getK() throws java.lang.Exception
void setP(java.math.BigInteger p)
void setG(java.math.BigInteger g)
void setF(java.math.BigInteger f)
public void checkRange() throws java.lang.Exception
checkRange
in interface DH
java.lang.Exception
private void checkRange(java.math.BigInteger tmp) throws java.lang.Exception
java.lang.Exception