security_framework::cms

Function cms_encode_content

Source
pub fn cms_encode_content(
    signers: &[SecIdentity],
    recipients: &[SecCertificate],
    content_type_oid: Option<&str>,
    detached_content: bool,
    signed_attributes: SignedAttributes,
    content: &[u8],
) -> Result<Vec<u8>>
Expand description

Encodes a message and obtains the result in one high-level function call