---
title: SecTrustResultType
framework: security
role: symbol
role_heading: Enumeration
path: security/sectrustresulttype
---

# SecTrustResultType

Trust evaluation result codes.

## Declaration

```swift
enum SecTrustResultType
```

## Overview

Overview You get one of these constants when you call the SecTrustGetTrustResult(_:_:) method after evaluating a trust instance with either the SecTrustEvaluateWithError(_:_:) method or the SecTrustEvaluateAsyncWithError(_:_:_:) method. If evaluation fails and SecTrustGetTrustResult(_:_:) reports SecTrustResultType.recoverableTrustFailure, you might be able to change parameters like the evaluation date, and reevaluate to obtain a passing result, as described in Configuring a Trust. See an individual constant below for more information about how to handle that result type in your app.

## Topics

### Result Codes

- [SecTrustResultType.unspecified](security/sectrustresulttype/unspecified.md)
- [SecTrustResultType.proceed](security/sectrustresulttype/proceed.md)
- [SecTrustResultType.deny](security/sectrustresulttype/deny.md)
- [SecTrustResultType.recoverableTrustFailure](security/sectrustresulttype/recoverabletrustfailure.md)
- [SecTrustResultType.fatalTrustFailure](security/sectrustresulttype/fataltrustfailure.md)
- [SecTrustResultType.otherError](security/sectrustresulttype/othererror.md)
- [SecTrustResultType.invalid](security/sectrustresulttype/invalid.md)
- [SecTrustResultType.confirm](security/sectrustresulttype/confirm.md)

### Initializers

- [init(rawValue:)](security/sectrustresulttype/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
