From ce3587f82bc7203422d2b05cdc34d626eb0b14d9 Mon Sep 17 00:00:00 2001 From: Dmitry Pankratov Date: Tue, 17 Sep 2024 11:31:30 +0200 Subject: [PATCH] Documentation --- security-framework/src/cms.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/security-framework/src/cms.rs b/security-framework/src/cms.rs index 1c4562d3..790015c9 100644 --- a/security-framework/src/cms.rs +++ b/security-framework/src/cms.rs @@ -85,10 +85,10 @@ mod encoder { } /// Sets the digest algorithm to use for the signer. - /// Can be one of the predefined types: + /// Can be one of the predefined constants: /// - /// * `kCMSEncoderDigestAlgorithmSHA1` - /// * `kCMSEncoderDigestAlgorithmSHA256` + /// * `CMS_DIGEST_ALGORITHM_SHA1` + /// * `CMS_DIGEST_ALGORITHM_SHA256` pub fn set_signer_algorithm(&self, digest_algorithm: &str) -> Result<()> { let alg = CFString::new(digest_algorithm);