| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectcom.sshtools.j2ssh.transport.publickey.SshPublicKeycom.sshtools.j2ssh.transport.publickey.rsa.SshRsaPublicKeypublic class SshRsaPublicKeyextends SshPublicKeyConstructor Summary | |
| |
| |
Method Summary | |
String | |
int | |
byte[] | |
boolean |
|
Methods inherited from class com.sshtools.j2ssh.transport.publickey.SshPublicKey | |
equals, getAlgorithmName, getBitLength, getEncoded, getFingerprint, hashCode, verifySignature | |
public SshRsaPublicKey(RSAPublicKey key)
Creates a new SshRsaPublicKey object.
- Parameters:
key-
public SshRsaPublicKey(byte[] encoded)
throws InvalidSshKeyExceptionCreates a new SshRsaPublicKey object.
- Parameters:
encoded-
- Throws:
InvalidSshKeyException-
public String getAlgorithmName()
- Overrides:
- getAlgorithmName in interface SshPublicKey
- Returns:
public boolean verifySignature(byte[] signature,
byte[] data)
throws InvalidSshKeySignatureException
- Overrides:
- verifySignature in interface SshPublicKey
- Parameters:
signature-data-
- Returns:
- Throws:
InvalidSshKeySignatureException-