CMSEncoderGetHasDetachedContent(_:_:)
Indicates whether the message is to have detached content.
Declaration
func CMSEncoderGetHasDetachedContent(_ cmsEncoder: CMSEncoder, _ detachedContentOut: UnsafeMutablePointer<DarwinBoolean>) -> OSStatusParameters
- cmsEncoder:
The CMSEncoder reference returned by the
CMSEncoderCreatefunction. - detachedContentOut:
Returns
TRUEif the message has detached content.
Return Value
A result code. See Security Framework Result Codes.
Discussion
This function returns the value specified in CMSEncoderSetHasDetachedContent if that function has been called; otherwise it returns FALSE.