---
title: "sec_protocol_options_set_tls_pre_shared_key_identity_hint(_:_:)"
framework: security
role: symbol
role_heading: Function
path: "security/sec_protocol_options_set_tls_pre_shared_key_identity_hint(_:_:)"
---

# sec_protocol_options_set_tls_pre_shared_key_identity_hint(_:_:)

## Declaration

```swift
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

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.
