awala
Toggle table of contents
1.0.0a3
jvm
Platform filter
jvm
Switch theme
Search in API
awala
awala
/
tech.relaycorp.relaynet.wrappers
/
generateRSAKeyPair
generate
RSAKey
Pair
fun
generateRSAKeyPair
(
modulus
:
Int
=
DEFAULT_RSA_KEY_MODULUS
)
:
KeyPair
Generate an RSA key pair.
Parameters
modulus
The modulus
Throws
Key
Exception
If
modulus
is less than 2048