|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sshtools.j2ssh.transport.publickey.SshKeyPair
com.sshtools.j2ssh.transport.publickey.rsa.SshRsaKeyPair
public class SshRsaKeyPair
| Field Summary | |
|---|---|
private java.security.interfaces.RSAPrivateKey |
prvKey
|
private java.security.interfaces.RSAPublicKey |
pubKey
|
| Constructor Summary | |
|---|---|
SshRsaKeyPair()
Creates a new SshRsaKeyPair object. |
|
| Method Summary | |
|---|---|
SshPrivateKey |
decodePrivateKey(byte[] encoded)
|
SshPublicKey |
decodePublicKey(byte[] encoded)
|
void |
generate(int bits)
|
| Methods inherited from class com.sshtools.j2ssh.transport.publickey.SshKeyPair |
|---|
getPrivateKey, getPublicKey, setPrivateKey, setPrivateKey, setPublicKey |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private java.security.interfaces.RSAPrivateKey prvKey
private java.security.interfaces.RSAPublicKey pubKey
| Constructor Detail |
|---|
public SshRsaKeyPair()
| Method Detail |
|---|
public SshPrivateKey decodePrivateKey(byte[] encoded)
throws InvalidSshKeyException
decodePrivateKey in class SshKeyPairencoded -
InvalidSshKeyException
public SshPublicKey decodePublicKey(byte[] encoded)
throws InvalidSshKeyException
decodePublicKey in class SshKeyPairencoded -
InvalidSshKeyExceptionpublic void generate(int bits)
generate in class SshKeyPairbits -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||