CMSEncoderCopyRecipients(_:_:)
Obtains the array of recipients specified with the CMSEncoderAddRecipients function.
Declaration
func CMSEncoderCopyRecipients(_ cmsEncoder: CMSEncoder, _ recipientsOut: UnsafeMutablePointer<CFArray?>) -> OSStatusParameters
- cmsEncoder:
The CMSEncoder reference returned by the Cmsencodercreate(_:) function.
- recipientsOut:
On return, points to an array of certificate objects of type Seccertificate of the recipients of the message. If the Cmsencoderaddrecipients(_:_:) function has not been called for this message, this function returns a
NULLarray. 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.