net.handle.security
Class RSAPrivateCrtKeyImpl

java.lang.Object
  extended by net.handle.security.RSAPrivateKeyImpl
      extended by net.handle.security.RSAPrivateCrtKeyImpl
All Implemented Interfaces:
java.io.Serializable, java.security.interfaces.RSAKey, java.security.interfaces.RSAPrivateCrtKey, java.security.interfaces.RSAPrivateKey, java.security.Key, java.security.PrivateKey

public class RSAPrivateCrtKeyImpl
extends RSAPrivateKeyImpl
implements java.security.interfaces.RSAPrivateCrtKey

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface java.security.interfaces.RSAPrivateCrtKey
serialVersionUID
 
Constructor Summary
RSAPrivateCrtKeyImpl(java.math.BigInteger m, java.math.BigInteger pubExp, java.math.BigInteger exp, java.math.BigInteger primeP, java.math.BigInteger primeQ, java.math.BigInteger primeExpP, java.math.BigInteger primeExpQ, java.math.BigInteger crtCeoff)
           
 
Method Summary
 java.lang.String getAlgorithm()
           
 java.math.BigInteger getCrtCoefficient()
           
 byte[] getEncoded()
           
 java.lang.String getFormat()
           
 java.math.BigInteger getPrimeExponentP()
           
 java.math.BigInteger getPrimeExponentQ()
           
 java.math.BigInteger getPrimeP()
           
 java.math.BigInteger getPrimeQ()
           
 java.math.BigInteger getPublicExponent()
           
 
Methods inherited from class net.handle.security.RSAPrivateKeyImpl
getModulus, getPrivateExponent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.security.interfaces.RSAPrivateKey
getPrivateExponent
 
Methods inherited from interface java.security.interfaces.RSAKey
getModulus
 

Constructor Detail

RSAPrivateCrtKeyImpl

public RSAPrivateCrtKeyImpl(java.math.BigInteger m,
                            java.math.BigInteger pubExp,
                            java.math.BigInteger exp,
                            java.math.BigInteger primeP,
                            java.math.BigInteger primeQ,
                            java.math.BigInteger primeExpP,
                            java.math.BigInteger primeExpQ,
                            java.math.BigInteger crtCeoff)
                     throws java.lang.NumberFormatException
Throws:
java.lang.NumberFormatException
Method Detail

getPublicExponent

public java.math.BigInteger getPublicExponent()
Specified by:
getPublicExponent in interface java.security.interfaces.RSAPrivateCrtKey

getCrtCoefficient

public java.math.BigInteger getCrtCoefficient()
Specified by:
getCrtCoefficient in interface java.security.interfaces.RSAPrivateCrtKey

getPrimeExponentP

public java.math.BigInteger getPrimeExponentP()
Specified by:
getPrimeExponentP in interface java.security.interfaces.RSAPrivateCrtKey

getPrimeExponentQ

public java.math.BigInteger getPrimeExponentQ()
Specified by:
getPrimeExponentQ in interface java.security.interfaces.RSAPrivateCrtKey

getPrimeP

public java.math.BigInteger getPrimeP()
Specified by:
getPrimeP in interface java.security.interfaces.RSAPrivateCrtKey

getPrimeQ

public java.math.BigInteger getPrimeQ()
Specified by:
getPrimeQ in interface java.security.interfaces.RSAPrivateCrtKey

getAlgorithm

public java.lang.String getAlgorithm()
Specified by:
getAlgorithm in interface java.security.Key
Overrides:
getAlgorithm in class RSAPrivateKeyImpl

getFormat

public java.lang.String getFormat()
Specified by:
getFormat in interface java.security.Key
Overrides:
getFormat in class RSAPrivateKeyImpl

getEncoded

public byte[] getEncoded()
Specified by:
getEncoded in interface java.security.Key
Overrides:
getEncoded in class RSAPrivateKeyImpl