---
title: kSecPolicyName
framework: security
role: symbol
role_heading: Global Variable
path: security/ksecpolicyname
---

# kSecPolicyName

A name (CFStringRef) that the certificate must match to satisfy this policy. For SSL/TLS, this specifies the server name which must match the common name of the certificate. For S/MIME, this specifies the RFC 822 email address.

## Declaration

```swift
let kSecPolicyName: CFString
```
