|
Oracle Security Developer Tools Crypto Java API Reference 10g (10.1.4.0.1) B28171-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.security.crypto.core.KeyPair
This class encapsulates a key pair, consisting of a public key and a private key.
Constructor Summary | |
KeyPair(PublicKey publicKey, PrivateKey privateKey) Creates a new key pair. |
Method Summary | |
PrivateKey |
getPrivate() Returns the private key. |
PublicKey |
getPublic() Returns the public key. |
void |
setPrivate(PrivateKey privateKey) Sets the private key. |
void |
setPublic(PublicKey publicKey) Sets the public key. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public KeyPair(PublicKey publicKey, PrivateKey privateKey)
Method Detail |
public PublicKey getPublic()
public void setPublic(PublicKey publicKey)
public PrivateKey getPrivate()
public void setPrivate(PrivateKey privateKey)
|
Oracle Security Developer Tools Crypto Java API Reference 10g (10.1.4.0.1) B28171-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |