<!--
{
  "availability" : [
    "iOS: 26.4.0 -",
    "iPadOS: 26.4.0 -",
    "macCatalyst: 26.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "WiFiAware",
  "identifier" : "/documentation/WiFiAware/WASharedSecret/ProtocolName/tlsPSK",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "Wi-Fi Aware"
    ],
    "preciseIdentifier" : "s:9WiFiAware14WASharedSecretV12ProtocolNameV6tlsPSKAEvpZ"
  },
  "title" : "tlsPSK"
}
-->

# tlsPSK

Derive a shared secret to bootstrap TLS, using the resulting shared secret as a TLS Pre-Shared Key.

```
static let tlsPSK: WASharedSecret.ProtocolName
```

## Discussion

Best practices for TLS security are described in [NIST Special Publication 800-52](https://csrc.nist.gov/pubs/sp/800/52/r2/final). TLS 1.3 is recommended.

Specifying this value will use the “`TLS-PSK`” string as the protocol name when deriving the shared secret.

---

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)