# Print output for @column tags ?> RSAPrivateKeySpec - Android SDK | Android Developers

Most visited


Recently visited


RSAPrivateKeySpec

public class RSAPrivateKeySpec
extends Object implements KeySpec

java.lang.Object
   ↳ java.security.spec.RSAPrivateKeySpec


This class specifies an RSA private key.

See also:

Summary


Public constructors

RSAPrivateKeySpec(BigInteger modulus, BigInteger privateExponent)

Creates a new RSAPrivateKeySpec.

Public methods

BigInteger getModulus()

Returns the modulus.

BigInteger getPrivateExponent()

Returns the private exponent.

Inherited methods

Public constructors


RSAPrivateKeySpec

public RSAPrivateKeySpec (BigInteger modulus, 
                BigInteger privateExponent)

Creates a new RSAPrivateKeySpec.

Parameters
modulus BigInteger: the modulus

privateExponent BigInteger: the private exponent

Public methods


getModulus

public BigInteger getModulus ()

Returns the modulus.

Returns
BigInteger the modulus

getPrivateExponent

public BigInteger getPrivateExponent ()

Returns the private exponent.

Returns
BigInteger the private exponent

Browse this site in English?

You requested a page in English, but your language preference for this site is English.

Would you like to change your language preference and browse this site in English? If you want to change your language preference later, use the language menu at the bottom of each page.