---
title: kSecMatchValidOnDate
framework: security
role: symbol
role_heading: Global Variable
path: security/ksecmatchvalidondate
---

# kSecMatchValidOnDate

A key whose value indicates the validity date.

## Declaration

```swift
let kSecMatchValidOnDate: CFString
```

## Discussion

Discussion The corresponding value is of type CFDate. If provided, returned keys, certificates or identities are limited to those that are valid for the given date. Pass a value of kCFNull to indicate the current date.
