Added in API level 1
RSAKeyGenParameterSpec
open class RSAKeyGenParameterSpec : AlgorithmParameterSpec
| kotlin.Any | |
| ↳ | java.security.spec.RSAKeyGenParameterSpec |
This class specifies the set of parameters used to generate an RSA key pair.
Summary
Public constructors |
|
|---|---|
<init>(keysize: Int, publicExponent: BigInteger!)Constructs a new |
|
Public methods |
|
|---|---|
| open Int |
Returns the keysize. |
| open BigInteger! |
Returns the public-exponent value. |
Properties |
|
|---|---|
| static BigInteger! |
The public-exponent value F0 = 3. |
| static BigInteger! |
The public exponent-value F4 = 65537. |
Public constructors
<init>
Added in API level 1
RSAKeyGenParameterSpec(
keysize: Int,
publicExponent: BigInteger!)
Constructs a new RSAParameterSpec object from the given keysize and public-exponent value.
| Parameters | |
|---|---|
keysize |
Int: the modulus size (specified in number of bits) |
publicExponent |
BigInteger!: the public exponent |
Public methods
getKeysize
Added in API level 1
open fun getKeysize(): Int
Returns the keysize.
| Return | |
|---|---|
Int |
the keysize. |
getPublicExponent
Added in API level 1
open fun getPublicExponent(): BigInteger!
Returns the public-exponent value.
| Return | |
|---|---|
BigInteger! |
the public-exponent value. |