Type Alias

SecureDownloadTrustEvaluateCallback

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

Declaration

typedef SecTrustResultType (*SecureDownloadTrustEvaluateCallback)(SecTrustRef trustRef, SecTrustResultType result, void *evaluateContext);

Parameters

trustRef

The trust used for this evaluation.

result

The result of the trust evaluation.

evaluateContext

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

Return Value

A trust evaluation result.

See Also

Download Creation

SecureDownloadCreateWithTicket

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

SecureDownloadTrustSetupCallback

Determines whether trust for a particular signer should be evaluated.

SecureDownloadTrustCallbackResult

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

SecureDownloadRef

An opaque type representing a secure download object.