---
title: kSecMatchSubjectWholeString
framework: security
role: symbol
role_heading: Global Variable
path: security/ksecmatchsubjectwholestring
---

# kSecMatchSubjectWholeString

A key whose value is a string to exactly match a certificate or identity’s subject.

## Declaration

```swift
let kSecMatchSubjectWholeString: CFString
```

## Discussion

Discussion The corresponding value is of type CFString. If provided, returned certificates or identities are limited to those whose subject is exactly equal to this string.
