---
title: kSecKeyEndDate
framework: security
role: symbol
role_heading: Global Variable
path: security/kseckeyenddate
---

# kSecKeyEndDate

Type CSSM_DATE.  Latest date at which this key may be used.  If the value is all zeros or not present, no restriction applies.

## Declaration

```swift
var kSecKeyEndDate: Int32 { get }
```
