Contents

CMSEncoderCopySigners(_:_:)

Obtains the array of signers specified with the CMSEncoderAddSigners function.

Declaration

func CMSEncoderCopySigners(_ cmsEncoder: CMSEncoder, _ signersOut: UnsafeMutablePointer<CFArray?>) -> OSStatus

Parameters

  • cmsEncoder:

    The CMSEncoder reference returned by the Cmsencodercreate(_:) function.

  • signersOut:

    On return, points to an array of identity objects of type Secidentity of the signers of the message. If the Cmsencoderaddsigners(_:_:) function has not been called for this message, this function returns a NULL array. You must use the Cfrelease function to free this reference when you are finished using it.

Return Value

A result code. See Security Framework Result Codes.

See Also

Related Documentation