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 IRsaOaepKeyBuilder2

interface IRsaOaepKeyBuilder2
Extends IRsaOaepKeyBuilder Enhanced RSA OAEP key builder with support for public exponents. This interface extends the original IRsaOaepKeyBuilder with additional functionality for setting custom public exponents.

Methods

publicExponent()

IRsaOaepKeyBuilder2* publicExponent(u8[] exponent)
Set an explicit public exponent for RSA OAEP 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

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