Interface XDHPrivateKey
- All Superinterfaces:
Destroyable
,Key
,PrivateKey
,Serializable
,XDHKey
- All Known Implementing Classes:
BCXDHPrivateKey
-
Field Summary
Fields inherited from interface java.security.Key
serialVersionUID
Fields inherited from interface java.security.PrivateKey
serialVersionUID
-
Method Summary
Modifier and TypeMethodDescriptionReturn the public key associated with this private key.Methods inherited from interface javax.security.auth.Destroyable
destroy, isDestroyed
Methods inherited from interface java.security.Key
getAlgorithm, getEncoded, getFormat
-
Method Details
-
getPublicKey
XDHPublicKey getPublicKey()Return the public key associated with this private key.- Returns:
- an XDHPublicKey
-