Java in a Nutshell, 5th Edition [Electronic resources]

نسخه متنی -صفحه : 1191/ 643
نمايش فراداده

This class is a transparent representation of a multi-prime RSA private key. It is very similar to RSAPrivateCrtKeySpec, but adds an additional method for obtaining information about the other primes associated with the key.

Figure 14-100. java.security.spec.RSAMultiPrimePrivateCrtKeySpec

public class 

RSAMultiPrimePrivateCrtKeySpec extends RSAPrivateKeySpec { // Public Constructors public

RSAMultiPrimePrivateCrtKeySpec (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 , RSAOtherPrimeInfo[ ]

otherPrimeInfo ); // Public Instance Methods public java.math.BigInteger

getCrtCoefficient ( ); public RSAOtherPrimeInfo[ ]

getOtherPrimeInfo ( ); public java.math.BigInteger

getPrimeExponentP ( ); public java.math.BigInteger

getPrimeExponentQ ( ); public java.math.BigInteger

getPrimeP ( ); public java.math.BigInteger

getPrimeQ ( ); public java.math.BigInteger

getPublicExponent ( ); }