We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d9b642 commit 6e04f85Copy full SHA for 6e04f85
rcgen/src/crl.rs
@@ -40,7 +40,7 @@ use crate::{
40
/// let remote_key_pair = MyKeyPair { public_key: vec![] };
41
/// #[cfg(not(feature = "crypto"))]
42
/// let key_pair = KeyPair::from_remote(Box::new(remote_key_pair)).unwrap();
43
-/// let issuer = Certificate::generate_self_signed(issuer_params, &key_pair).unwrap();
+/// let issuer = issuer_params.self_signed(&key_pair).unwrap();
44
/// // Describe a revoked certificate.
45
/// let revoked_cert = RevokedCertParams{
46
/// serial_number: SerialNumber::from(9999),
0 commit comments