public class Ssh1RsaPublicKey extends Ssh2RsaPublicKey
| Constructor and Description |
|---|
Ssh1RsaPublicKey(BigInteger modulus,
BigInteger publicExponent) |
Ssh1RsaPublicKey(RSAPublicKey pub) |
| Modifier and Type | Method and Description |
|---|---|
BigInteger |
doPublic(BigInteger input) |
String |
getAlgorithm()
The algorithm name "rsa1"
|
byte[] |
getEncoded()
Get the encoded format required by SSH1
|
int |
getVersion() |
equals, getBitLength, getEncodingAlgorithm, getFingerprint, getJCEPublicKey, getModulus, getPriority, getPublicExponent, getSecurityLevel, getSignatureLength, getSigningAlgorithm, hashCode, init, test, 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 getAlgorithm()
getAlgorithm in interface SshPublicKeygetAlgorithm in interface SecureComponentgetAlgorithm in class Ssh2RsaPublicKeypublic int getVersion()
getVersion in interface SshRsaPublicKeygetVersion in class Ssh2RsaPublicKeypublic BigInteger doPublic(BigInteger input)
doPublic in interface SshRsaPublicKeydoPublic in class Ssh2RsaPublicKeyCopyright © 2025. All rights reserved.