RSAPrivateCrtKey


RSAPrivateCrtKey java.security.interfaces

Java 1.2 serializable

This interface extends RSAPrivateKey and provides a decomposition (based on the Chinese remainder theorem) of the private-key value into the various pieces that comprise it. This interface is useful only if you plan to implement your own cryptographic algorithms. To use this interface, you must have a detailed understanding of the mathematics underlying RSA public-key cryptography. Given a java.security.PrivateKey object, you can use the instanceof operator to determine whether you can safely cast it to an RSAPrivateCrtKey .

Figure 14-81. java.security.interfaces.RSAPrivateCrtKey

 public interface  RSAPrivateCrtKey  extends RSAPrivateKey {  // Public Constants   5.0  public static final long  serialVersionUID  ;  =-5682214253527700368   // Public Instance Methods  java.math.BigInteger  getCrtCoefficient  ( );        java.math.BigInteger  getPrimeExponentP  ( );        java.math.BigInteger  getPrimeExponentQ  ( );        java.math.BigInteger  getPrimeP  ( );        java.math.BigInteger  getPrimeQ  ( );        java.math.BigInteger  getPublicExponent  ( );   } 



Java In A Nutshell
Java In A Nutshell, 5th Edition
ISBN: 0596007736
EAN: 2147483647
Year: 2004
Pages: 1220

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net