Skip to content

Commit

Permalink
Documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
ancwrd1 authored and kornelski committed Sep 20, 2024
1 parent 902e68d commit ce3587f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions security-framework/src/cms.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit ce3587f

Please sign in to comment.