SecTrustCallback

Type Alias SecTrustCallback 

Source
pub type SecTrustCallback = *mut DynBlock<dyn Fn(NonNull<SecTrust>, SecTrustResultType)>;
Available on crate features SecTrust and block2 only.
Expand description

Delivers the result from an asynchronous trust evaluation.

Parameter trustRef: A reference to the trust object which has been evaluated.

Parameter trustResult: The trust result of the evaluation. Additional status information can be obtained by calling SecTrustCopyProperties().

See also Apple’s documentation