Team LiB
Previous Section Next Section

RSAPrivateKeyjava.security.interfaces

Java 1.2serializable

This interface represents an RSA private key and provides direct access to the underlying key values. If you are working with a private key you know is an RSA key, you can cast the PrivateKey to an RSAPrivateKey.

Figure 14-82. java.security.interfaces.RSAPrivateKey


public interface RSAPrivateKey extends java.security.PrivateKeyRSAKey {
// Public Constants
5.0  public static final long serialVersionUID;  =5187144804936595022
// Public Instance Methods
     java.math.BigInteger getPrivateExponent( );  
}

Implementations

RSAMultiPrimePrivateCrtKey, RSAPrivateCrtKey

    Team LiB
    Previous Section Next Section