Type Alias

SecureDownloadTrustSetupCallback

Determines whether trust for a particular signer should be evaluated.

Declaration

typedef SecureDownloadTrustCallbackResult (*SecureDownloadTrustSetupCallback)(SecTrustRef trustRef, void *setupContext);

Parameters

trustRef

The trust used for this evaluation.

setupContext

An arbitrary value that you passed in as the setupContext parameter to the SecureDownloadCreateWithTicket function.

Return Value

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

See Also

Download Creation

SecureDownloadCreateWithTicket

Creates a secure download object for use during the download process.

SecureDownloadTrustEvaluateCallback

Optionally queries the user how to handle a failed trust evaluation.

SecureDownloadTrustCallbackResult

A flag used to indicate whether or not a signer should be evaluated.

SecureDownloadRef

An opaque type representing a secure download object.