Java Platform 1.2

java.security.interfaces
Interface RSAPrivateKey

All Known Subinterfaces:
RSAPrivateCrtKey

public abstract interface RSAPrivateKey
extends PrivateKey

The interface to an RSA private key.

See Also:
RSAPrivateCrtKey

Fields inherited from class java.security.PrivateKey
serialVersionUID
 
Fields inherited from class java.security.Key
serialVersionUID
 
Fields inherited from class java.io.Serializable
serialVersionUID
 
Method Summary
 BigInteger getModulus()
          Returns the modulus.
 BigInteger getPrivateExponent()
          Returns the private exponent.
 
Methods inherited from interface java.security.Key
getAlgorithm, getEncoded, getFormat
 

Method Detail

getModulus

public BigInteger getModulus()
Returns the modulus.
Returns:
the modulus

getPrivateExponent

public BigInteger getPrivateExponent()
Returns the private exponent.
Returns:
the private exponent

Java Platform 1.2

Submit a bug or feature Version 1.2 of Java Platform API Specification
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.