---
title: kSecMatchEmailAddressIfPresent
framework: security
role: symbol
role_heading: Global Variable
path: security/ksecmatchemailaddressifpresent
---

# kSecMatchEmailAddressIfPresent

A key whose value is a string to match against a certificate or identity’s email address.

## Declaration

```swift
let kSecMatchEmailAddressIfPresent: CFString
```

## Discussion

Discussion The corresponding value is of type CFString and contains an RFC822 email address. If provided, returned certificates or identities are limited to those that either contain the address or do not contain any email address.
