Added in API level 1

RSAPrivateKey

interface RSAPrivateKey : PrivateKey, RSAKey
RSAMultiPrimePrivateCrtKey

The interface to an RSA multi-prime private key, as defined in the PKCS#1 v2.2 standard, using the Chinese Remainder Theorem (CRT) information values.

RSAPrivateCrtKey

The interface to an RSA private key, as defined in the PKCS#1 v2.2 standard, using the Chinese Remainder Theorem (CRT) information values.

The interface to an RSA private 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 private 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: 5187144804936595022L

Public methods

getPrivateExponent

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

Returns the private exponent.

Return
BigInteger! the private exponent