javax.crypto.interfaces
Interface DHPublicKey
- All Known Implementing Classes:
- DHPubKey
- public abstract interface DHPublicKey
- extends DHKey, java.security.PublicKey
The interface to a Diffie-Hellman public key.
- See Also:
DHKey
,
DHPrivateKey
Field Summary |
static java.lang.String |
ident
|
Fields inherited from class javax.crypto.interfaces.DHKey |
ident |
Fields inherited from class java.security.PublicKey |
serialVersionUID |
Fields inherited from class java.security.Key |
serialVersionUID |
Fields inherited from class java.io.Serializable |
serialVersionUID |
Method Summary |
java.math.BigInteger |
getY()
Returns the public value, y. |
Methods inherited from interface javax.crypto.interfaces.DHKey |
getParams |
Methods inherited from interface java.security.Key |
getAlgorithm,
getEncoded,
getFormat |
ident
public static final java.lang.String ident
getY
public java.math.BigInteger getY()
- Returns the public value, y.
- Returns:
- the public value, y