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

# sec_trust_create(_:)

```
func sec_trust_create(_ trust: SecTrust) -> sec_trust_t?
```

## Parameters

`trust`

A `SecTrustRef` instance.

## Return Value

a `sec_trust_t` instance.

## Discussion

\abstract Create an ARC-able `sec_trust_t` instance from a `SecTrustRef`.

---

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)