RSAKeyGenerationParameters (Bouncy Castle Library 1.85 API Specification)
Date: 2026-07-12

org.bouncycastle.crypto.params

## Class RSAKeyGenerationParameters

- java.lang.Object
- - org.bouncycastle.crypto.KeyGenerationParameters
  - - org.bouncycastle.crypto.params.RSAKeyGenerationParameters

-     public class RSAKeyGenerationParameters
      extends KeyGenerationParameters

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `RSAKeyGenerationParameters(java.math.BigInteger publicExponent, java.security.SecureRandom random, int strength, int certainty)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `getCertainty()`
    `java.math.BigInteger` | `getPublicExponent()`

    - ### Methods inherited from class org.bouncycastle.crypto.KeyGenerationParameters

      `getRandom, getStrength`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### RSAKeyGenerationParameters

          public RSAKeyGenerationParameters(java.math.BigInteger publicExponent,
                                            java.security.SecureRandom random,
                                            int strength,
                                            int certainty)

  - ### Method Detail

    - #### getPublicExponent

          public java.math.BigInteger getPublicExponent()

    - #### getCertainty

          public int getCertainty()