public class Ssh1RsaPublicKey extends Ssh2RsaPublicKey
| Constructor and Description |
|---|
Ssh1RsaPublicKey(BigInteger modulus,
BigInteger publicExponent) |
Ssh1RsaPublicKey(RSAPublicKey pub) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getEncoded()
Get the encoded format required by SSH1
|
String |
getName()
The algorithm name "rsa1"
|
int |
getVersion() |
doPublic, equals, getBitLength, getFingerprint, getModulus, getPublicExponent, hashCode, init, verifySignaturepublic Ssh1RsaPublicKey(RSAPublicKey pub)
public Ssh1RsaPublicKey(BigInteger modulus, BigInteger publicExponent) throws NoSuchAlgorithmException, InvalidKeySpecException
public byte[] getEncoded()
throws SshException
getEncoded in interface SshPublicKeygetEncoded in class Ssh2RsaPublicKeySshExceptionpublic String getName()
getName in interface SshComponentgetName in interface SshPublicKeygetName in class Ssh2RsaPublicKeypublic int getVersion()
getVersion in interface SshRsaPublicKeygetVersion in class Ssh2RsaPublicKeyCopyright © 2012. All Rights Reserved.