JCERSAPrivateCrtKey(RSAPrivateCrtKeySpec spec){
  this.modulus=spec.getModulus();
  this.publicExponent=spec.getPublicExponent();
  this.privateExponent=spec.getPrivateExponent();
  this.primeP=spec.getPrimeP();
  this.primeQ=spec.getPrimeQ();
  this.primeExponentP=spec.getPrimeExponentP();
  this.primeExponentQ=spec.getPrimeExponentQ();
  this.crtCoefficient=spec.getCrtCoefficient();
}

JCERSAPrivateCrtKey ( RSAPrivateCrtKeySpec spec ) { this . modulus = spec . getModulus ( ) ; this . publicExponent = spec . getPublicExponent ( ) ; this . privateExponent = spec . getPrivateExponent ( ) ; this . primeP = spec . getPrimeP ( ) ; this . primeQ = spec . getPrimeQ ( ) ; this . primeExponentP = spec . getPrimeExponentP ( ) ; this . primeExponentQ = spec . getPrimeExponentQ ( ) ; this . crtCoefficient = spec . getCrtCoefficient ( ) ; }
construct a private key from an rsaprivatecrtkeyspec
