views:

153

answers:

1

I am attempting to look at the SSLContext in a CFReadStream. secureTransport has lots of useful methods for examining a SSLContextRef like SSLGetEnabledCiphers, but I don't have a good way to get a SSLContextRef from CFReadStream. Is there some sort of getter method for SSLContextRef in CFNetworks?

A: 

If anyone else has this problem, take note, you can't. What you can do is create a new SSL context, send the readstream to the context and encrypt the stream there. What you can't is get the cipher settings from CFNetwork classes. I suppose Apple wants the to remain private.

deuseldorf