Interface IKeystoreRsaKeyBuilder2
interface IKeystoreRsaKeyBuilder2
Extends IKeystoreAsymmetricKeyBuilder
Enhanced keystore RSA key builder with public exponent support.
This interface extends the original keystore RSA functionality with additional
support for setting custom public exponents.
Methods
bits()
Set the size of the RSA key.IKeystoreRsaKeyBuilder2*bits(i32bits)
Parameters
bits
i32 — Required
The size of the key.
Returns
IKeystoreRsaKeyBuilder2*
The RSA key builder.
publicExponent()
Set an explicit public exponent for RSA key generation. If not specified, {0x01, 0x00, 0x01} will be used.IKeystoreRsaKeyBuilder2*publicExponent(u8[]exponent)
Parameters
exponent
u8[] — Required
The public exponent to use for RSA key generation.
Returns
IKeystoreRsaKeyBuilder2*
This builder for method chaining.

