pub type SecureDownloadTrustEvaluateCallback = Option<unsafe extern "C-unwind" fn(*mut SecTrust, SecTrustResultType, *mut c_void) -> SecTrustResultType>;👎Deprecated: SecureDownload is not supported
Available on crate features
SecTrust and SecureDownload only.Expand description
This callback is used called after trust has been evaluated.
Parameter trustRef: The trustRef for this evaluation
Parameter result: The result of the evaluation (See the SecTrust documentation).
Parameter evaluateContext: user defined.
Returns: A SecTrustResultType. Return the value passed in result if you do not want to change the evaluation result.
See also Apple’s documentation
Aliased Type§
pub enum SecureDownloadTrustEvaluateCallback {
None,
Some(unsafe extern "C-unwind" fn(*mut SecTrust, SecTrustResultType, *mut c_void) -> SecTrustResultType),
}Variants§
None
No value.
Some(unsafe extern "C-unwind" fn(*mut SecTrust, SecTrustResultType, *mut c_void) -> SecTrustResultType)
Some value of type T.