pub fn create_rsa_key(bits: u32) -> PKey<Private>
Expand description
Make an RSA private key (from which we can derive a public key).
This library does not check the number of bits used to create the key pair. For Let’s Encrypt, the bits must be between 2048 and 4096.