kCFStreamSSLPeerName
Security property key whose value overrides the name used for certificate verification.
Declaration
let kCFStreamSSLPeerName: CFStringDiscussion
By default, the host name that was used when the stream was created is used; if no host name was used, no peer name will be used. Set the value of this key to kCFNull to prevent name verification.
See Also
Streams
CFReadStreamCreateForHTTPRequest(_:_:)CFReadStreamCreateForStreamedHTTPRequest(_:_:_:)kCFStreamPropertyHTTPAttemptPersistentConnectionkCFStreamPropertyHTTPFinalRequestkCFStreamPropertyHTTPFinalURLkCFStreamPropertyHTTPProxykCFStreamPropertyHTTPProxyHostkCFStreamPropertyHTTPProxyPortkCFStreamPropertyHTTPRequestBytesWrittenCountkCFStreamPropertyHTTPResponseHeaderkCFStreamPropertyHTTPSProxyHostkCFStreamPropertyHTTPSProxyPortkCFStreamPropertyHTTPShouldAutoredirectCFWriteStreamCreateWithFTPURL(_:_:)CFReadStreamCreateWithFTPURL(_:_:)