Contents

kCFStreamSSLPeerName

Security property key whose value overrides the name used for certificate verification.

Declaration

let kCFStreamSSLPeerName: CFString

Discussion

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