<!--
{
  "availability" : [
    "macCatalyst: -",
    "macOS: 10.5.0 - 12.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "Security",
  "identifier" : "/documentation/Security/SecureDownloadTrustSetupCallback",
  "metadataVersion" : "0.1.0",
  "role" : "Type Alias",
  "symbol" : {
    "kind" : "Type Alias",
    "modules" : [
      "Security"
    ],
    "preciseIdentifier" : "c:@T@SecureDownloadTrustSetupCallback"
  },
  "title" : "SecureDownloadTrustSetupCallback"
}
-->

# SecureDownloadTrustSetupCallback

Determines whether trust for a particular signer should be evaluated.

```
typedef enum _SecureDownloadTrustCallbackResult (*)(struct __SecTrust *, void *) SecureDownloadTrustSetupCallback;
```

## Parameters

`trustRef`

The trust used for this evaluation.

`setupContext`

An arbitrary value that you passed in as the `setupContext` parameter to the [`SecureDownloadCreateWithTicket`](/documentation/Security/SecureDownloadCreateWithTicket) function.

## Return Value

A trust callback result that indicates whether or not a signer should be evaluated.

## Discussion

---

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)