We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 902e68d commit ce3587fCopy full SHA for ce3587f
security-framework/src/cms.rs
@@ -85,10 +85,10 @@ mod encoder {
85
}
86
87
/// Sets the digest algorithm to use for the signer.
88
- /// Can be one of the predefined types:
+ /// Can be one of the predefined constants:
89
///
90
- /// * `kCMSEncoderDigestAlgorithmSHA1`
91
- /// * `kCMSEncoderDigestAlgorithmSHA256`
+ /// * `CMS_DIGEST_ALGORITHM_SHA1`
+ /// * `CMS_DIGEST_ALGORITHM_SHA256`
92
pub fn set_signer_algorithm(&self, digest_algorithm: &str) -> Result<()> {
93
let alg = CFString::new(digest_algorithm);
94
0 commit comments