Skip to content

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

Structure

ServerConfiguration.TLSConfiguration.ClientCertificateVerification.Mode

Whether a client may connect without a certificate.
struct Mode

Topics

Type Properties

  • static var optional: `Self`
    The client may connect without a certificate. One it does present must still verify, and the handshake fails if it does not.
  • static var required: `Self`
    The client must present a certificate, and it must verify against trust. The chain is verified but no hostname is: a client has none to check against.

Relationships

Conforms To

  • Swift.Equatable
  • Swift.Hashable
  • Swift.Sendable
  • Swift.SendableMetatype