运行方法时:
CFReadStreamSetProperty(theReadStream, kCFStreamPropertySSLSettings (CFDictionaryRef)tlsPacket->tlsSettings);
为了保护 CFReadStream 的连接,我的 iphone 客户端返回错误:
Error Domain=kCFStreamErrorDomainSSL Code=-9824 "Operation could not be completed. (kCFStreamErrorDomainSSL error -9824.)"
并且服务器发送错误:
ERROR [STDERR] javax.net.ssl.SSLHandshakeException: no cipher suites in common
有没有办法让 CFReadStream 在握手过程中使用额外的密码?