TLS PSK with NSURLConnection

Is it possible to TLS PSK ciphers with NSURLConnection/NSURLSession?


iOS's SSLGetSupportedCiphers method reports that is supports TLS_PSK_AES256_SHA384.


I initially considered that it may be possible by providing the correct NSURLCredential, however it's unclear how I could do this while also providing an PSK hint/Identity.


Thanks

> Is it possible to TLS PSK ciphers with NSURLConnection/NSURLSession?


No. NSURLSession does not give you control over TLS at the level you need.


If you'd like to see such support added in the future, I encourage you to file a bug describing your requirements.


<https://developer.apple.com/bug-reporting/>


Please post your bug number, just for the record.


Share and Enjoy

--

Quinn "The Eskimo!"

Apple Developer Relations, Developer Technical Support, Core OS/Hardware

@eskimo Is this answer still valid 8 years later? Does URLSession support TLS-PSK ?

Thanks

TLS PSK with NSURLConnection
 
 
Q