---
title: kSecPolicyOid
framework: security
role: symbol
role_heading: Global Variable
path: security/ksecpolicyoid
---

# kSecPolicyOid

The object identifier that defines the policy type (CFStringRef). All policies have a value for this key.

## Declaration

```swift
let kSecPolicyOid: CFString
```
