SecureDownloadTrustSetupCallback

Type Alias SecureDownloadTrustSetupCallback 

Source
pub type SecureDownloadTrustSetupCallback = Option<unsafe extern "C-unwind" fn(*mut SecTrust, *mut c_void) -> SecureDownloadTrustCallbackResult>;
👎Deprecated: SecureDownload is not supported
Available on crate features SecTrust and SecureDownload only.
Expand description

This callback is used to determine whether trust for a particular signer should be evaluated.

Parameter trustRef: The trustRef for this evaluation

Parameter setupContext: user defined.

Returns: A SecureDownloadTrustCallbackResult (see).

See also Apple’s documentation

Aliased Type§

pub enum SecureDownloadTrustSetupCallback {
    None,
    Some(unsafe extern "C-unwind" fn(*mut SecTrust, *mut c_void) -> SecureDownloadTrustCallbackResult),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C-unwind" fn(*mut SecTrust, *mut c_void) -> SecureDownloadTrustCallbackResult)

Some value of type T.