Name

RSAPrivateCrtKeySpec

Synopsis

This class is a transparent representation of an RSA private key including, for convenience, the Chinese remainder theorem values associated with the key.

java.security.spec.RSAPrivateCrtKeySpec

Figure 14-101. java.security.spec.RSAPrivateCrtKeySpec

public class RSAPrivateCrtKeySpec extends RSAPrivateKeySpec {
// Public Constructors
     public RSAPrivateCrtKeySpec(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);  
// Public Instance Methods
     public java.math.BigInteger getCrtCoefficient( );  
     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.