---
title: kSecAttrCertificateType
framework: security
role: symbol
role_heading: Global Variable
path: security/ksecattrcertificatetype
---

# kSecAttrCertificateType

A key whose value indicates the item’s certificate type.

## Declaration

```swift
let kSecAttrCertificateType: CFString
```

## Discussion

Discussion The corresponding value is of type CFNumber and denotes the certificate type (see the CSSM_CERT_TYPE enumeration in cssmtype.h). Items of class kSecClassCertificate have this attribute. Read only.
