Skip to content

You're viewing documentation for a pre-release version. View the latest stable version

Type Property

optional

The client may connect without a certificate. One it does present must still verify, and the handshake fails if it does not.
static var optional: `Self` { get }

Discussion

A handler tells the two apart by whether peerCertificateChain is nil, so anything that must only serve identified clients has to check it.