<!--
{
  "availability" : [
    "iOS: 7.0.0 -",
    "iPadOS: 7.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.9.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Security",
  "identifier" : "/documentation/Security/SecTrustCopyResult(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Security"
    ],
    "preciseIdentifier" : "c:@F@SecTrustCopyResult"
  },
  "title" : "SecTrustCopyResult(_:)"
}
-->

# SecTrustCopyResult(_:)

Returns a dictionary containing information about an evaluated trust.

```
func SecTrustCopyResult(_ trust: SecTrust) -> CFDictionary?
```

## Parameters

`trust`

The evaluated trust.

## Return Value

A dictionary containing keys with values that describe the result of the trust evaluation, or `NULL` when no information is available or if the trust has not been evaluated. See [Trust Result Dictionary Keys](/documentation/Security/trust-result-dictionary-keys) for the list of possible keys. In Objective-C, use <doc://com.apple.documentation/documentation/CoreFoundation/CFRelease> to free the dictionary’s memory when you are done with it.

## Discussion

Call one of the [`SecTrustEvaluateWithError(_:_:)`](/documentation/Security/SecTrustEvaluateWithError(_:_:)) or [`SecTrustEvaluateAsyncWithError(_:_:_:)`](/documentation/Security/SecTrustEvaluateAsyncWithError(_:_:_:)) methods before calling [`SecTrustCopyResult(_:)`](/documentation/Security/SecTrustCopyResult(_:)).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)