---
title: kSecMatchSubjectStartsWith
framework: security
role: symbol
role_heading: Global Variable
path: security/ksecmatchsubjectstartswith
---

# kSecMatchSubjectStartsWith

A key whose value is a string to match against the beginning of a certificate or identity’s subject.

## Declaration

```swift
let kSecMatchSubjectStartsWith: CFString
```

## Discussion

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