JavaTM 2 Platform
Standard Edition

java.security.interfaces
Interface RSAPrivateKey

All Known Subinterfaces:
RSAPrivateCrtKey

public interface RSAPrivateKey
extends PrivateKey

The interface to an RSA private key.

See Also:
RSAPrivateCrtKey

Fields inherited from interface java.security.PrivateKey
serialVersionUID
 
Fields inherited from interface java.security.Key
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

JavaTM 2 Platform
Standard Edition

Submit a bug or feature
Java, Java 2D, and JDBC are a trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.