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

# kSecCodeInfoCertificates

A key whose value is an array of certificates representing the certificate chain of the signing certificate as seen by the system.

```
let kSecCodeInfoCertificates: CFString
```

## Discussion

The value is a <doc://com.apple.documentation/documentation/CoreFoundation/CFArray> array of [`SecCertificate`](/documentation/Security/SecCertificate) objects that the system uses to process the signature. Absent for ad-hoc signed code. May be partial or absent in the case of error.

Specify the [`kSecCSSigningInformation`](/documentation/Security/kSecCSSigningInformation) 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)