SwiftNIO SSL core abstractions: Handlers and Contexts
mainSwiftNIO SSL provides two primary ChannelHandlers to secure data streams within a SwiftNIO Channel:
NIOSSLClientHandler: Used by clients to initiate and manage TLS connections.NIOSSLServerHandler: Used by servers to handle incoming TLS connections.
These handlers are initialized using a NIOSSLContext. The context is configured via a TLSConfiguration object, which defines the TLS parameters such as certificate chains and private keys.