---
title: kSecClass
framework: security
role: symbol
role_heading: Global Variable
path: security/ksecclass
---

# kSecClass

A dictionary key whose value is the item’s class.

## Declaration

```swift
let kSecClass: CFString
```

## Mentioned in

Storing a Certificate in the Keychain Storing an Identity in the Keychain Storing Keys in the Keychain

## Discussion

Discussion Possible values for this key are listed in Item class values.
