public class SshRsaPrivateKey extends SshPrivateKey implements RSAPrivateKey
RSAPrivateKey implementation for SSH RSA KeysSshPrivateKey.SshPrivateKeyException| Modifier and Type | Field and Description |
|---|---|
static String |
BEGIN_RSA_PRIVATE_KEY |
static String |
END_RSA_PRIVATE_KEY |
| Constructor and Description |
|---|
SshRsaPrivateKey(String keyString) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAlgorithm() |
protected String |
getKeyPrefix() |
protected String |
getKeySuffix() |
BigInteger |
getModulus() |
BigInteger |
getPrivateExponent() |
BigInteger |
getPublicExponent() |
BigInteger |
getVersion() |
getEncoded, getFormatclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetEncoded, getFormatpublic static final String BEGIN_RSA_PRIVATE_KEY
public static final String END_RSA_PRIVATE_KEY
public SshRsaPrivateKey(String keyString) throws SshPrivateKey.SshPrivateKeyException
public String getAlgorithm()
getAlgorithm in interface KeygetAlgorithm in class SshPrivateKeypublic BigInteger getModulus()
getModulus in interface RSAKeypublic BigInteger getPrivateExponent()
getPrivateExponent in interface RSAPrivateKeypublic BigInteger getPublicExponent()
public BigInteger getVersion()
protected String getKeyPrefix()
getKeyPrefix in class SshPrivateKeyprotected String getKeySuffix()
getKeySuffix in class SshPrivateKeyCopyright © 2015 hobbiton bvba. All Rights Reserved.