<!--
{
  "availability" : [
    "macCatalyst: 13.0.0 -",
    "macOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Security",
  "identifier" : "/documentation/Security/CMSSignerStatus",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Security"
    ],
    "preciseIdentifier" : "c:@E@CMSSignerStatus"
  },
  "title" : "CMSSignerStatus"
}
-->

# CMSSignerStatus

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

```
enum CMSSignerStatus
```

## Overview

These are obtained using the [`CMSDecoderCopySignerStatus(_:_:_:_:_:_:_:)`](/documentation/Security/CMSDecoderCopySignerStatus(_:_:_:_:_:_:_:)) function.

## Topics

### Constants

[`CMSSignerStatus.unsigned`](/documentation/Security/CMSSignerStatus/unsigned)

The message was not signed.

[`CMSSignerStatus.valid`](/documentation/Security/CMSSignerStatus/valid)

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

[`CMSSignerStatus.needsDetachedContent`](/documentation/Security/CMSSignerStatus/needsDetachedContent)

The message was signed but has detached content. You must call the [`CMSDecoderSetDetachedContent(_:_:)`](/documentation/Security/CMSDecoderSetDetachedContent(_:_:)) function before ascertaining the signature status.

[`CMSSignerStatus.invalidSignature`](/documentation/Security/CMSSignerStatus/invalidSignature)

The message was signed but the signature is invalid.

[`CMSSignerStatus.invalidCert`](/documentation/Security/CMSSignerStatus/invalidCert)

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

[`CMSSignerStatus.invalidIndex`](/documentation/Security/CMSSignerStatus/invalidIndex)

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



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)