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

