---
title: kSecMatchSubjectEndsWith
framework: security
role: symbol
role_heading: Global Variable
path: security/ksecmatchsubjectendswith
---

# kSecMatchSubjectEndsWith

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

## Declaration

```swift
let kSecMatchSubjectEndsWith: CFString
```

## Discussion

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