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.DHPrivateKey
public java.math.BigInteger getP()
public java.math.BigInteger getG()
public javax.crypto.spec.DHParameterSpec getParams()
getParams
in interface javax.crypto.interfaces.DHKey
public java.lang.String getAlgorithm()
getAlgorithm
in interface java.security.Key
public java.lang.String getFormat()
getFormat
in interface java.security.Key
public byte[] getEncoded()
getEncoded
in interface java.security.Key