public class SshRsaPublicKey extends SshPublicKey
| Constructor and Description |
|---|
SshRsaPublicKey(byte[] encoded)
Creates a new SshRsaPublicKey object.
|
SshRsaPublicKey(java.security.interfaces.RSAPublicKey key)
Creates a new SshRsaPublicKey object.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAlgorithmName() |
int |
getBitLength() |
byte[] |
getEncoded() |
boolean |
verifySignature(byte[] signature,
byte[] data) |
equals, getFingerprint, hashCodepublic SshRsaPublicKey(java.security.interfaces.RSAPublicKey key)
key - public SshRsaPublicKey(byte[] encoded)
throws InvalidSshKeyException
encoded - InvalidSshKeyExceptionpublic java.lang.String getAlgorithmName()
getAlgorithmName in class SshPublicKeypublic int getBitLength()
getBitLength in class SshPublicKeypublic byte[] getEncoded()
getEncoded in class SshPublicKeypublic boolean verifySignature(byte[] signature,
byte[] data)
throws InvalidSshKeySignatureException
verifySignature in class SshPublicKeysignature - data - InvalidSshKeySignatureExceptionCopyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.