CMSEncodeContent

Function CMSEncodeContent 

Source
pub unsafe extern "C-unwind" fn CMSEncodeContent(
    signers: Option<&CFType>,
    recipients: Option<&CFType>,
    e_content_type_oid: Option<&CFType>,
    detached_content: bool,
    signed_attributes: CMSSignedAttributes,
    content: NonNull<c_void>,
    content_len: usize,
    encoded_content_out: *mut *const CFData,
) -> i32
Available on crate feature CMSEncoder only.
Expand description

ยงSafety

  • signers should be of the correct type.
  • recipients should be of the correct type.
  • e_content_type_oid should be of the correct type.
  • content must be a valid pointer.
  • encoded_content_out must be a valid pointer or null.