public class JCEDHPublicKey extends Object implements DHPublicKey
| 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.
|
BigInteger |
getY()
Returns this key's public value Y.
|
public String getAlgorithm()
Keynull is returned.getAlgorithm in interface Keynull if the
algorithm is unknown.public String getFormat()
Keynull
if it can not be encoded.public byte[] getEncoded()
Keynull if encoding is not
supported by this key.getEncoded in interface Keynull if encoding is not
supported by this key.public DHParameterSpec getParams()
DHKeypublic BigInteger getY()
DHPublicKeygetY in interface DHPublicKey