pub fn gen_rsa_private_key(bits: u32) -> Result<PKey<Private>, Error>
Expand description

Generate a new RSA private key using the specified size, using the system random.