security_framework_sys::cms

Function CMSEncodeContent

Source
pub unsafe extern "C" fn CMSEncodeContent(
    signers: CFTypeRef,
    recipients: CFTypeRef,
    content_type_oid: CFTypeRef,
    detached_content: Boolean,
    signed_attributes: CMSSignedAttributes,
    content: *const c_void,
    content_len: usize,
    encoded_content_out: *mut CFDataRef,
) -> OSStatus