---
title: kSecKeyKeyType
framework: security
role: symbol
role_heading: Global Variable
path: security/kseckeykeytype
---

# kSecKeyKeyType

Type uint32; value is a CSSM algorithm (CSSM_ALGORITHMS) representing the algorithm associated with this key.

## Declaration

```swift
var kSecKeyKeyType: Int32 { get }
```
