CMSDecoderGetNumSigners(_:_:)
Obtains the number of signers of a message.
Declaration
func CMSDecoderGetNumSigners(_ cmsDecoder: CMSDecoder, _ numSignersOut: UnsafeMutablePointer<Int>) -> OSStatusParameters
- cmsDecoder:
The CMSDecoder reference returned by the
CMSDecoderCreatefunction. - 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.