diff --git a/rcgen/src/key_pair.rs b/rcgen/src/key_pair.rs index 001860c8..7f4fe54f 100644 --- a/rcgen/src/key_pair.rs +++ b/rcgen/src/key_pair.rs @@ -178,6 +178,8 @@ impl KeyPair { } /// Generate a new random key pair for the specified signature algorithm + /// + /// If you're not sure which algorithm to use, [`PKCS_ECDSA_P256_SHA256`] is a good choice. pub fn generate(alg: &'static SignatureAlgorithm) -> Result { let rng = &SystemRandom::new();