Skip to content

Commit

Permalink
Clarify CertificateParams::signed_by() docs
Browse files Browse the repository at this point in the history
  • Loading branch information
djc committed Jan 6, 2025
1 parent b2a851f commit cd88a39
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rcgen/src/certificate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,8 @@ impl CertificateParams {
///
/// The returned certificate will have its issuer field set to the subject of the
/// provided `issuer`, and the authority key identifier extension will be populated using
/// the subject public key of `issuer`. It will be signed by `issuer_key`.
/// the subject public key of `issuer` (typically either a [`CertificateParams`] or
/// [`Certificate`]). It will be signed by `issuer_key`.
///
/// Note that no validation of the `issuer` certificate is performed. Rcgen will not require
/// the certificate to be a CA certificate, or have key usage extensions that allow signing.
Expand Down

0 comments on commit cd88a39

Please sign in to comment.