public class DHPublicKeyTest.checkDHPublicKey extends Object implements DHPublicKey
serialVersionUID
Constructor and Description |
---|
DHPublicKeyTest.checkDHPublicKey() |
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 |
getY()
Returns this key's public value Y.
|
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 getY()
DHPublicKey
getY
in interface DHPublicKey
public DHParameterSpec getParams()
DHKey