pub fn generate_rsa_keypair(
rng: &mut impl CryptoRng,
) -> Result<(String, String), Error>Expand description
A new RSA key pair for an actor, 2048 bits: the private key as PKCS#8
PEM and the public key as SPKI PEM, the forms actor documents publish and
PrivateKey::from_pem reads.
ยงErrors
When rng fails, or the key cannot be encoded.