---
title: kSecPolicyKU_DataEncipherment
framework: security
role: symbol
role_heading: Global Variable
path: security/ksecpolicyku_dataencipherment
---

# kSecPolicyKU_DataEncipherment

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

## Declaration

```swift
let kSecPolicyKU_DataEncipherment: CFString
```
