Skip to content

Commit ce3587f

Browse files
ancwrd1kornelski
authored andcommitted
Documentation
1 parent 902e68d commit ce3587f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

security-framework/src/cms.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,10 @@ mod encoder {
8585
}
8686

8787
/// Sets the digest algorithm to use for the signer.
88-
/// Can be one of the predefined types:
88+
/// Can be one of the predefined constants:
8989
///
90-
/// * `kCMSEncoderDigestAlgorithmSHA1`
91-
/// * `kCMSEncoderDigestAlgorithmSHA256`
90+
/// * `CMS_DIGEST_ALGORITHM_SHA1`
91+
/// * `CMS_DIGEST_ALGORITHM_SHA256`
9292
pub fn set_signer_algorithm(&self, digest_algorithm: &str) -> Result<()> {
9393
let alg = CFString::new(digest_algorithm);
9494

0 commit comments

Comments
 (0)