---
title: kSecCodeInfoTime
framework: security
role: symbol
role_heading: Global Variable
path: security/kseccodeinfotime
---

# kSecCodeInfoTime

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

## Declaration

```swift
let kSecCodeInfoTime: CFString
```

## Discussion

Discussion The value is a 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 flag when calling the SecCodeCopySigningInformation(_:_:_:) function to get this information.
