pub unsafe extern "C-unwind" fn CMSEncode(
signers: Option<&CFType>,
recipients: Option<&CFType>,
e_content_type: *const SecAsn1Oid,
detached_content: bool,
signed_attributes: CMSSignedAttributes,
content: NonNull<c_void>,
content_len: usize,
encoded_content_out: NonNull<*const CFData>,
) -> i32
๐Deprecated
Available on crate features
CMSEncoder
and SecAsn1Types
only.Expand description
ยงSafety
signers
should be of the correct type.recipients
should be of the correct type.e_content_type
must be a valid pointer or null.content
must be a valid pointer.encoded_content_out
must be a valid pointer.