Name
RSAMultiPrimePrivateCrtKeySpec
Synopsis
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( ); }
Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.