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

# kSecCodeInfoTime

A key whose value is the signing date embedded in the code signature.

```
let kSecCodeInfoTime: CFString
```

## Discussion

The value is a <doc://com.apple.documentation/documentation/CoreFoundation/CFDate> object. Note that a signer is able to omit this date or pre-date it. Therefore, this is not necessarily the date the code was actually signed. However, you do know that this is the date the signer wanted you to see. Ad-hoc signatures never have secured signing dates.

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)