Enumeration

CMSSignerStatus

The constants that indicate the status of the signature and signer information in a signed message.

Declaration

typedef enum CMSSignerStatus : uint32_t {
    ...
} CMSSignerStatus;

Overview

These are obtained using the CMSDecoderCopySignerStatus function.

Topics

Constants

kCMSSignerUnsigned

The message was not signed.

kCMSSignerValid

The message was signed and both the signature and the signer certificate have been verified.

kCMSSignerNeedsDetachedContent

The message was signed but has detached content. You must call the CMSDecoderSetDetachedContent function before ascertaining the signature status.

kCMSSignerInvalidSignature

The message was signed but the signature is invalid.

kCMSSignerInvalidCert

The message was signed but the signer's certificate could not be verified.

kCMSSignerInvalidIndex

The specified value for the signer index (signerIndex parameter) is greater than the number of signers of the message minus one (signerIndex > (numSigners – 1)).

See Also

Signature Verification

CMSDecoderSetSearchKeychain

Specifies the keychains to search for intermediate certificates to be used in verifying a signed message's signer certificates.

Deprecated
CMSDecoderGetNumSigners

Obtains the number of signers of a message.

CMSDecoderCopySignerEmailAddress

Obtains the email address of the specified signer of a CMS message.

CMSDecoderCopySignerCert

Obtains the certificate of the specified signer of a CMS message.

CMSDecoderCopySignerStatus

Obtains the status of a CMS message's signature.