---
title: leafIsCA
framework: security
role: symbol
role_heading: Type Property
path: security/sectrustoptionflags/leafisca
---

# leafIsCA

Allow CA certificates as leaf certificates.

## Declaration

```swift
static var leafIsCA: SecTrustOptionFlags { get }
```
