Added in API level 1

RSAPublicKey

interface RSAPublicKey : PublicKey, RSAKey

The interface to an RSA public key.

Summary

Constants
static Long

The type fingerprint that is set to indicate serialization compatibility with a previous version of the type.

Public methods
abstract BigInteger!

Returns the public exponent.

Inherited functions
BigInteger! getModulus()

Returns the modulus.

AlgorithmParameterSpec! getParams()

Returns the parameters associated with this key. The parameters are optional and may be either explicitly specified or implicitly created during key pair generation.

Constants

serialVersionUID

Added in API level 1
Deprecated in API level 35
static val serialVersionUID: Long

Deprecated: A serialVersionUID field in an interface is ineffectual. Do not use; no replacement.

The type fingerprint that is set to indicate serialization compatibility with a previous version of the type.

Value: -8727434096241101194L

Public methods

getPublicExponent

Added in API level 1
abstract fun getPublicExponent(): BigInteger!

Returns the public exponent.

Return
BigInteger! the public exponent