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

# kSecCodeInfoRequirements

A key whose value is the internal requirements of the code as a text string in canonical syntax.

```
let kSecCodeInfoRequirements: CFString
```

## Discussion

The value is a <doc://com.apple.documentation/documentation/CoreFoundation/CFString> object. If there is an explicit designated requirement, then it’s included in this text string.

Specify the [`kSecCSRequirementInformation`](/documentation/Security/kSecCSRequirementInformation) flag when calling the [`SecCodeCopySigningInformation(_:_:_:)`](/documentation/Security/SecCodeCopySigningInformation(_:_:_:)) function to get this information.

---

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)