Contents

sec_protocol_options_set_pre_shared_key_selection_block(_:_:_:)

Declaration

func sec_protocol_options_set_pre_shared_key_selection_block(_ options: sec_protocol_options_t, _ psk_selection_block: @escaping  sec_protocol_pre_shared_key_selection_t, _ psk_selection_queue: dispatch_queue_t)

Parameters

  • options:

    A sec_protocol_options_t instance.

  • psk_selection_block:

    A sec_protocol_pre_shared_key_selection_t block.

Discussion

Set the PSK selection block.

 A `dispatch_queue_t` on which the PSK selection block should be called.