Name

RSAPrivateKey

Synopsis

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.

java.security.interfaces.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

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.