Team LiB
Previous Section Next Section

RSAPrivateCrtKeySpecjava.security.spec

Java 1.2

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

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( );  
}

    Team LiB
    Previous Section Next Section