Type Alias

sec_protocol_verify_complete_t

A block you return to indicate the result of a trust verification, where true indicates verification success.

Declaration

typedef void (^sec_protocol_verify_complete_t)(bool result);

See Also

Handling TLS Events

sec_protocol_options_set_verify_block

Sets a handler to override trust verification for TLS handshakes.

sec_protocol_verify_t

A block that delivers a trust object for verification during a TLS handshake.

sec_protocol_options_set_challenge_block

Sets a handler to receive identity challenges.

sec_protocol_challenge_t

A block that delivers the current TLS state for a handshake upon an identity challenge.

sec_protocol_challenge_complete_t

A block you return to indicate the identity with which to reply to a challenge.

sec_protocol_options_set_key_update_block

Sets a handler to receive notifications of TLS key updates.

sec_protocol_key_update_t

A block that delivers the current TLS state upon a key update.

sec_protocol_key_update_complete_t

A block you return to indicate that you have finished responding to a key update.

sec_protocol_options_set_pre_shared_key_selection_block

Sets a handler to receive notifications about PSK selection.

Beta
sec_protocol_pre_shared_key_selection_t

A block that delivers a PSK identity given a hint from its peers.

Beta
sec_protocol_pre_shared_key_selection_complete_t

A block you return to indicate that you have chosen a PSK identity.

Beta

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software