Contents

CMSEncoderGetHasDetachedContent(_:_:)

Indicates whether the message is to have detached content.

Declaration

func CMSEncoderGetHasDetachedContent(_ cmsEncoder: CMSEncoder, _ detachedContentOut: UnsafeMutablePointer<DarwinBoolean>) -> OSStatus

Parameters

  • cmsEncoder:

    The CMSEncoder reference returned by the CMSEncoderCreate function.

  • detachedContentOut:

    Returns TRUE if 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.

See Also

Related Documentation