---
title: SecTrustResultType.deny
framework: security
role: symbol
role_heading: Case
path: security/sectrustresulttype/deny
---

# SecTrustResultType.deny

The user specified that the certificate should not be trusted.

## Declaration

```swift
case deny
```

## Discussion

Discussion This value indicates that the user explicitly chose to not trust a certificate in the chain, usually by clicking the appropriate button in a certificate trust panel. Your app should not trust the chain. The Keychain Access utility refers to this value as “Never Trust.”
