|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.mindbright.jca.security.KeyPair
public final class KeyPair
Handles a public/private pair of keys
KeyPairGenerator,
SSH2KeyPairFile| Constructor Summary | |
|---|---|
KeyPair(PublicKey publicKey,
PrivateKey privateKey)
Creates a new key pair |
|
| Method Summary | |
|---|---|
PrivateKey |
getPrivate()
Get the private key of the pair |
PublicKey |
getPublic()
Get the public key of the pair |
| 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)
publicKey - public key in key pairprivateKey - private key in key pair| Method Detail |
|---|
public PublicKey getPublic()
public PrivateKey getPrivate()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||