facebookincubator / SocketRocket

A conforming Objective-C WebSocket client library.
Other
9.54k stars 2.01k forks source link

Support for TLS-PSK? #644

Open FlyingCodeMonkey opened 2 years ago

FlyingCodeMonkey commented 2 years ago

Hi there,

Is there any way of connecting to a WSS websocket server by way of TLS-PSK instead of SSL certs?

The server I need to connect to uses PSK instead of certs and I can't figure out how to do this with SocketRocket. Apple has some sample code available ( Configuring a Wi-Fi Accessory to Join the User’s Network ) but it looks like the API they're using is only available in Swift.