Name

RSAPublicKeySpec

Synopsis

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

java.security.spec.RSAPublicKeySpec

Figure 14-103. java.security.spec.RSAPublicKeySpec

public class RSAPublicKeySpec implements KeySpec {
// Public Constructors
     public RSAPublicKeySpec(java.math.BigInteger modulus, 
        java.math.BigInteger publicExponent);  
// Public Instance Methods
     public java.math.BigInteger getModulus( );  
     public java.math.BigInteger getPublicExponent( );  
}

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.