Team LiB
Previous Section Next Section

RSAPrivateKeySpecjava.security.spec

Java 1.2

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

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

    Team LiB
    Previous Section Next Section