---
title: kSecCodeInfoDesignatedRequirement
framework: security
role: symbol
role_heading: Global Variable
path: security/kseccodeinfodesignatedrequirement
---

# kSecCodeInfoDesignatedRequirement

A keys whose value is the designated requirement of the code.

## Declaration

```swift
let kSecCodeInfoDesignatedRequirement: CFString
```

## Discussion

Discussion The value is a SecRequirement object. If this object is identical to the one returned by the kSecCodeInfoImplicitDesignatedRequirement key, then there is no explicit designated requirement and the designated requirement in use was generated by the system. Specify the kSecCSRequirementInformation flag when calling the SecCodeCopySigningInformation(_:_:_:) function to get this information.
