Name

RSAPrivateKeySpec

Synopsis

This class is a transparent representation of an RSA private key.

java.security.spec.RSAPrivateKeySpec

Figure 14-102. java.security.spec.RSAPrivateKeySpec

public class RSAPrivateKeySpec implements KeySpec {
// Public Constructors
     public RSAPrivateKeySpec(java.math.BigInteger modulus, 
        java.math.BigInteger privateExponent);  
// Public Instance Methods
     public java.math.BigInteger getModulus( );  
     public java.math.BigInteger getPrivateExponent( );  
}

Subclasses

RSAMultiPrimePrivateCrtKeySpec, RSAPrivateCrtKeySpec

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.