public class DHPrivateKeyTest.checkDHPrivateKey extends Object implements DHPrivateKey
serialVersionUID
Constructor and Description |
---|
DHPrivateKeyTest.checkDHPrivateKey() |
Modifier and Type | Method and Description |
---|---|
String |
getAlgorithm()
Returns the name of the algorithm of this key.
|
byte[] |
getEncoded()
Returns the encoded form of this key, or
null if encoding is not
supported by this key. |
String |
getFormat()
Returns the name of the format used to encode this key, or
null
if it can not be encoded. |
DHParameterSpec |
getParams()
Returns the parameters for this key.
|
long |
getSerVerUID() |
BigInteger |
getX()
Returns this key's private value x.
|
public String getAlgorithm()
Key
null
is returned.getAlgorithm
in interface Key
null
if the
algorithm is unknown.public String getFormat()
Key
null
if it can not be encoded.public byte[] getEncoded()
Key
null
if encoding is not
supported by this key.getEncoded
in interface Key
null
if encoding is not
supported by this key.public long getSerVerUID()
public BigInteger getX()
DHPrivateKey
getX
in interface DHPrivateKey
public DHParameterSpec getParams()
DHKey