|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.maverick.ssh.components.SshKeyPair
Storage class for a public/private key pair.
| Constructor Summary | |
SshKeyPair()
|
|
| Method Summary | |
static SshKeyPair |
getKeyPair(SshPrivateKey prv,
SshPublicKey pub)
Wraps a public/private key pair into an SshKeyPair instance. |
SshPrivateKey |
getPrivateKey()
Get the private key. |
SshPublicKey |
getPublicKey()
Get the public key. |
void |
setPrivateKey(SshPrivateKey privatekey)
Set the private key |
void |
setPublicKey(SshPublicKey publickey)
Set the public key |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SshKeyPair()
| Method Detail |
public SshPrivateKey getPrivateKey()
public SshPublicKey getPublicKey()
public static SshKeyPair getKeyPair(SshPrivateKey prv,
SshPublicKey pub)
prv - pub -
public void setPrivateKey(SshPrivateKey privatekey)
privatekey - public void setPublicKey(SshPublicKey publickey)
publickey -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||