Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Native
Skip to main content

Interface IRsaKeyBuilder2

interface IRsaKeyBuilder2
Extends IRsaKeyBuilder Enhanced RSA key builder with support for explicit public exponents. This interface extends the original IRsaKeyBuilder with additional functionality for setting custom public exponents.

Methods

publicExponent()

IRsaKeyBuilder2* publicExponent(u8[] exponent)
Set an explicit public exponent for RSA key generation. If not specified, {0x01, 0x00, 0x01} will be used.

Parameters

exponent
u8[] — Required The public exponent to use for RSA key generation.

Returns

IRsaKeyBuilder2* This builder for method chaining.
Last modified on October 29, 2026