public class DHPrivateKeyImpl
extends java.lang.Object
implements javax.crypto.interfaces.DHPrivateKey
| Constructor and Description |
|---|
DHPrivateKeyImpl(java.math.BigInteger x,
java.math.BigInteger p,
java.math.BigInteger g) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAlgorithm() |
byte[] |
getEncoded() |
java.lang.String |
getFormat() |
java.math.BigInteger |
getG() |
java.math.BigInteger |
getP() |
javax.crypto.spec.DHParameterSpec |
getParams() |
java.math.BigInteger |
getX() |
public DHPrivateKeyImpl(java.math.BigInteger x,
java.math.BigInteger p,
java.math.BigInteger g)
public java.math.BigInteger getX()
getX in interface javax.crypto.interfaces.DHPrivateKeypublic java.math.BigInteger getP()
public java.math.BigInteger getG()
public javax.crypto.spec.DHParameterSpec getParams()
getParams in interface javax.crypto.interfaces.DHKeypublic java.lang.String getAlgorithm()
getAlgorithm in interface java.security.Keypublic java.lang.String getFormat()
getFormat in interface java.security.Keypublic byte[] getEncoded()
getEncoded in interface java.security.Key