pub type SecTrustWithErrorCallback = *mut DynBlock<dyn Fn(NonNull<SecTrust>, bool, *mut CFError)>;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 result: A boolean value indicating whether the certificate is trusted.
Parameter error: An error if the trust evaluation failed.
See also Appleās documentation