com.maverick.ssh.components.standalone
Class Ssh2RsaPrivateKey

java.lang.Object
  extended bycom.maverick.crypto.publickey.RsaKey
      extended bycom.maverick.crypto.publickey.RsaPrivateKey
          extended bycom.maverick.ssh.components.standalone.Ssh2RsaPrivateKey
All Implemented Interfaces:
SshPrivateKey, SshRsaPrivateKey

public class Ssh2RsaPrivateKey
extends com.maverick.crypto.publickey.RsaPrivateKey
implements SshRsaPrivateKey

Represents a RSA key and implements the SshPrivateKey interface.

Author:
Lee David Painter

Field Summary
 
Fields inherited from class com.maverick.crypto.publickey.RsaPrivateKey
ASN_SHA1, privateExponent
 
Fields inherited from class com.maverick.crypto.publickey.RsaKey
modulus
 
Constructor Summary
Ssh2RsaPrivateKey(java.math.BigInteger modulus, java.math.BigInteger privateExponent)
           
Ssh2RsaPrivateKey(com.maverick.crypto.publickey.RsaPrivateKey key)
           
 
Method Summary
 java.lang.String getAlgorithm()
           
 
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
 
Methods inherited from interface com.maverick.ssh.components.SshRsaPrivateKey
getModulus, getPrivateExponent, sign
 

Constructor Detail

Ssh2RsaPrivateKey

public Ssh2RsaPrivateKey(com.maverick.crypto.publickey.RsaPrivateKey key)

Ssh2RsaPrivateKey

public Ssh2RsaPrivateKey(java.math.BigInteger modulus,
                         java.math.BigInteger privateExponent)
Method Detail

getAlgorithm

public java.lang.String getAlgorithm()
Specified by:
getAlgorithm in interface SshPrivateKey


Copyright © 2003-2008 SSHTools LTD. All Rights Reserved.