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

Most visited


Recently visited


RSAPublicKeySpec

public class RSAPublicKeySpec
extends Object implements KeySpec

java.lang.Object
   ↳ java.security.spec.RSAPublicKeySpec


This class specifies an RSA public key.

See also:

Summary


Public constructors

RSAPublicKeySpec(BigInteger modulus, BigInteger publicExponent)

Creates a new RSAPublicKeySpec.

Public methods

BigInteger getModulus()

Returns the modulus.

BigInteger getPublicExponent()

Returns the public exponent.

Inherited methods

Public constructors


RSAPublicKeySpec

public RSAPublicKeySpec (BigInteger modulus, 
                BigInteger publicExponent)

Creates a new RSAPublicKeySpec.

Parameters
modulus BigInteger: the modulus

publicExponent BigInteger: the public exponent

Public methods


getModulus

public BigInteger getModulus ()

Returns the modulus.

Returns
BigInteger the modulus

getPublicExponent

public BigInteger getPublicExponent ()

Returns the public exponent.

Returns
BigInteger the public 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.