Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
com.sshtools.j2ssh.transport.publickey.SshKeyPair
com.sshtools.j2ssh.transport.publickey.rsa.SshRsaKeyPair
public class SshRsaKeyPair
extends SshKeyPair
Constructor Summary | |
|
Method Summary | |
SshPrivateKey |
|
SshPublicKey |
|
void |
|
Methods inherited from class com.sshtools.j2ssh.transport.publickey.SshKeyPair | |
decodePrivateKey , decodePublicKey , generate , getPrivateKey , getPublicKey , setPrivateKey , setPrivateKey , setPublicKey |
public SshPrivateKey decodePrivateKey(byte[] encoded) throws InvalidSshKeyException
- Overrides:
- decodePrivateKey in interface SshKeyPair
- Parameters:
encoded
-
- Returns:
- Throws:
InvalidSshKeyException
-
public SshPublicKey decodePublicKey(byte[] encoded) throws InvalidSshKeyException
- Overrides:
- decodePublicKey in interface SshKeyPair
- Parameters:
encoded
-
- Returns:
- Throws:
InvalidSshKeyException
-