Skip to content

Commit cd88a39

Browse files
committed
Clarify CertificateParams::signed_by() docs
1 parent b2a851f commit cd88a39

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

rcgen/src/certificate.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,8 @@ impl CertificateParams {
146146
///
147147
/// The returned certificate will have its issuer field set to the subject of the
148148
/// provided `issuer`, and the authority key identifier extension will be populated using
149-
/// the subject public key of `issuer`. It will be signed by `issuer_key`.
149+
/// the subject public key of `issuer` (typically either a [`CertificateParams`] or
150+
/// [`Certificate`]). It will be signed by `issuer_key`.
150151
///
151152
/// Note that no validation of the `issuer` certificate is performed. Rcgen will not require
152153
/// the certificate to be a CA certificate, or have key usage extensions that allow signing.

0 commit comments

Comments
 (0)