<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "Security",
  "identifier" : "/documentation/Security/sec_protocol_options_set_enable_encrypted_client_hello",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Security"
    ],
    "preciseIdentifier" : "c:@F@sec_protocol_options_set_enable_encrypted_client_hello"
  },
  "title" : "sec_protocol_options_set_enable_encrypted_client_hello"
}
-->

# sec_protocol_options_set_enable_encrypted_client_hello

```
void sec_protocol_options_set_enable_encrypted_client_hello(sec_protocol_options_t options, bool enable_encrypted_client_hello);
```

## Parameters

`options`

A `sec_protocol_options_t` instance.

## Discussion

\abstract For experimental use only. When this is enabled, the Encrypted Client Hello extension will be sent on the Client
Hello if TLS 1.3 is among the supported TLS versions. Default false.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)