---
title: kSecPolicyKU_EncipherOnly
framework: security
role: symbol
role_heading: Global Variable
path: security/ksecpolicyku_encipheronly
---

# kSecPolicyKU_EncipherOnly

If true, the certificate’s key usage must allow it to be used only for encryption.

## Declaration

```swift
let kSecPolicyKU_EncipherOnly: CFString
```
