pub type sec_protocol_verify_t = *mut DynBlock<dyn Fn(sec_protocol_metadata_t, sec_trust_t, sec_protocol_verify_complete_t)>;Available on crate features
SecProtocolMetadata and SecProtocolOptions and SecProtocolTypes and block2 only.Expand description
sec_protocol_verify_t
Block to be invoked when the protocol instance must verify the peer.
NOTE: this may be called one or more times for a given connection.
Parameter metadata: A sec_protocol_metadata_t instance.
Parameter trust_ref: A sec_trust_t instance.
Parameter complete: A sec_protocol_verify_finish_t to be invoked when verification is complete.
See also Appleās documentation