Skip to content

Commit

Permalink
Documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
ancwrd1 committed Sep 17, 2024
1 parent 4a28821 commit 19d4511
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 19d4511

Please sign in to comment.