Contents

CMSDecoderGetNumSigners(_:_:)

Obtains the number of signers of a message.

Declaration

func CMSDecoderGetNumSigners(_ cmsDecoder: CMSDecoder, _ numSignersOut: UnsafeMutablePointer<Int>) -> OSStatus

Parameters

  • cmsDecoder:

    The CMSDecoder reference returned by the CMSDecoderCreate function.

  • numSignersOut:

    On return, the number of signers of the message. Zero indicates that the message was not signed.

Return Value

A result code. See Security Framework Result Codes.

Discussion

Call the CMSDecoderCopySignerStatus function to determine the status of a signature.

You cannot call this function until after you have called the CMSDecoderFinalizeMessage function.

See Also

Related Documentation