com.maverick.ssh
Class SshRsaPrivateKey
java.lang.Object
com.maverick.crypto.publickey.RsaKey
com.maverick.crypto.publickey.RsaPrivateKey
com.maverick.ssh.SshRsaPrivateKey
- All Implemented Interfaces:
- SshPrivateKey
- public class SshRsaPrivateKey
- extends com.maverick.crypto.publickey.RsaPrivateKey
- implements SshPrivateKey
Represents a RSA key and implements the SshPrivateKey
interface.
- Author:
- Lee David Painter
Fields inherited from class com.maverick.crypto.publickey.RsaPrivateKey |
ASN_SHA1, privateExponent |
Fields inherited from class com.maverick.crypto.publickey.RsaKey |
modulus |
Constructor Summary |
SshRsaPrivateKey(java.math.BigInteger modulus,
java.math.BigInteger privateExponent)
|
SshRsaPrivateKey(com.maverick.crypto.publickey.RsaPrivateKey key)
|
Methods inherited from class com.maverick.crypto.publickey.RsaPrivateKey |
equals, getPrivateExponent, sign, unsignedBigIntToBytes |
Methods inherited from class com.maverick.crypto.publickey.RsaKey |
getBitLength, getModulus, setModulus |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SshRsaPrivateKey
public SshRsaPrivateKey(com.maverick.crypto.publickey.RsaPrivateKey key)
SshRsaPrivateKey
public SshRsaPrivateKey(java.math.BigInteger modulus,
java.math.BigInteger privateExponent)
getAlgorithm
public java.lang.String getAlgorithm()
- Specified by:
getAlgorithm
in interface SshPrivateKey
Copyright © 2003 3SP LTD. All Rights Reserved.