Contents

sec_protocol_options_set_tls_pre_shared_key_identity_hint(_:_:)

Declaration

func sec_protocol_options_set_tls_pre_shared_key_identity_hint(_ options: sec_protocol_options_t, _ psk_identity_hint: dispatch_data_t)

Parameters

  • options:

    A sec_protocol_options_t instance.

  • psk_identity_hint:

    A dispatch_data_t containing a PSK identity hint.

Discussion

Set the PSK identity hint to use by servers when negotiating a PSK ciphersuite. See https://tools.ietf.org/html/rfc4279 for more details.