Structure
ServerConfiguration.TLSConfiguration
Transport-level TLS configuration for the server.
struct TLSConfiguration
Topics
Structures
struct ClientCertificateVerificationMutual TLS: what the server trusts when a client presents a certificate, and whether a client may connect without one.
Instance Properties
var clientCertificateVerification: ClientCertificateVerification?Mutual TLS: how the server verifies the certificate a client presents.
Type Methods
static func inMemory(certificateChain: [Certificate], privateKey: Certificate.PrivateKey) -> ServerConfiguration.TLSConfigurationTLS credentials loaded from in-memory X.509 certificates and a private key.static func pemFile(certificateChainPath: String, privateKeyPath: String) -> ServerConfiguration.TLSConfigurationTLS credentials loaded from PEM files on disk.static func reloading(any CertificateReloader) -> ServerConfiguration.TLSConfigurationTLS credentials supplied by aCertificateReloader.
Relationships
Conforms To
Swift.SendableSwift.SendableMetatype