de.flexiprovider.core.mersa
Class MeRSAPrivateKeySpec

java.lang.Object
  |
  +--java.security.spec.RSAPrivateKeySpec
        |
        +--java.security.spec.RSAPrivateCrtKeySpec
              |
              +--de.flexiprovider.core.rsa.RSAPrivateCrtKeySpec
                    |
                    +--de.flexiprovider.core.mersa.MeRSAPrivateKeySpec
All Implemented Interfaces:
KeySpec, java.security.spec.KeySpec, RSAPrivKeySpecInterface

public class MeRSAPrivateKeySpec
extends RSAPrivateCrtKeySpec


Constructor Summary
MeRSAPrivateKeySpec(FlexiBigInt n, FlexiBigInt e, FlexiBigInt d, FlexiBigInt p, FlexiBigInt q, FlexiBigInt dP, FlexiBigInt dQ, FlexiBigInt crtCoeff, FlexiBigInt k, FlexiBigInt eInvP)
           
 
Method Summary
 FlexiBigInt getEInvP()
           
 FlexiBigInt getK()
           
 
Methods inherited from class de.flexiprovider.core.rsa.RSAPrivateCrtKeySpec
getCRTCoeff, getD, getDp, getDq, getE, getN, getP, getQ
 
Methods inherited from class java.security.spec.RSAPrivateCrtKeySpec
getCrtCoefficient, getPrimeExponentP, getPrimeExponentQ, getPrimeP, getPrimeQ, getPublicExponent
 
Methods inherited from class java.security.spec.RSAPrivateKeySpec
getModulus, getPrivateExponent
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MeRSAPrivateKeySpec

public MeRSAPrivateKeySpec(FlexiBigInt n,
                           FlexiBigInt e,
                           FlexiBigInt d,
                           FlexiBigInt p,
                           FlexiBigInt q,
                           FlexiBigInt dP,
                           FlexiBigInt dQ,
                           FlexiBigInt crtCoeff,
                           FlexiBigInt k,
                           FlexiBigInt eInvP)
Method Detail

getK

public FlexiBigInt getK()
Returns:
the exponent k

getEInvP

public FlexiBigInt getEInvP()
Returns:
the inverse of the public exponent modulo p