com.maverick.ssh
Class SshRsaPrivateCrtKey

java.lang.Object
  extended bycom.maverick.crypto.publickey.RsaKey
      extended bycom.maverick.crypto.publickey.RsaPrivateKey
          extended bycom.maverick.crypto.publickey.RsaPrivateCrtKey
              extended bycom.maverick.ssh.SshRsaPrivateCrtKey
All Implemented Interfaces:
SshPrivateKey

public class SshRsaPrivateCrtKey
extends com.maverick.crypto.publickey.RsaPrivateCrtKey
implements SshPrivateKey

Represents a RSA key and implements the SshPrivateKey interface.

Author:
Lee David Painter

Field Summary
 
Fields inherited from class com.maverick.crypto.publickey.RsaPrivateCrtKey
crtCoefficient, primeExponentP, primeExponentQ, primeP, primeQ, publicExponent
 
Fields inherited from class com.maverick.crypto.publickey.RsaPrivateKey
ASN_SHA1, privateExponent
 
Fields inherited from class com.maverick.crypto.publickey.RsaKey
modulus
 
Constructor Summary
SshRsaPrivateCrtKey(java.math.BigInteger modulus, java.math.BigInteger publicExponent, java.math.BigInteger privateExponent, java.math.BigInteger primeP, java.math.BigInteger primeQ, java.math.BigInteger crtCoefficient)
           
SshRsaPrivateCrtKey(java.math.BigInteger modulus, java.math.BigInteger publicExponent, java.math.BigInteger privateExponent, java.math.BigInteger primeP, java.math.BigInteger primeQ, java.math.BigInteger primeExponentP, java.math.BigInteger primeExponentQ, java.math.BigInteger crtCoefficient)
           
SshRsaPrivateCrtKey(com.maverick.crypto.publickey.RsaPrivateCrtKey key)
           
 
Method Summary
 java.lang.String getAlgorithm()
           
 
Methods inherited from class com.maverick.crypto.publickey.RsaPrivateCrtKey
getCrtCoefficient, getPrimeExponentP, getPrimeExponentQ, getPrimeP, getPrimeQ, getPublicExponent, sign
 
Methods inherited from class com.maverick.crypto.publickey.RsaPrivateKey
equals, getPrivateExponent, 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.SshPrivateKey
sign
 

Constructor Detail

SshRsaPrivateCrtKey

public SshRsaPrivateCrtKey(com.maverick.crypto.publickey.RsaPrivateCrtKey key)

SshRsaPrivateCrtKey

public SshRsaPrivateCrtKey(java.math.BigInteger modulus,
                           java.math.BigInteger publicExponent,
                           java.math.BigInteger privateExponent,
                           java.math.BigInteger primeP,
                           java.math.BigInteger primeQ,
                           java.math.BigInteger crtCoefficient)

SshRsaPrivateCrtKey

public SshRsaPrivateCrtKey(java.math.BigInteger modulus,
                           java.math.BigInteger publicExponent,
                           java.math.BigInteger privateExponent,
                           java.math.BigInteger primeP,
                           java.math.BigInteger primeQ,
                           java.math.BigInteger primeExponentP,
                           java.math.BigInteger primeExponentQ,
                           java.math.BigInteger crtCoefficient)
Method Detail

getAlgorithm

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


Copyright © 2003 3SP LTD. All Rights Reserved.