# Functions
New returns a new TLS Configuration modified by any provided configuration options.
NewRenewingCertificateProvider returns a new CertificateProvider which manages and updates its certificates using Generator.
WithCACertPEM declares a PEM-encoded CA Certificate to be used.
WithClientAuthType declares the server's policy regardling TLS Client Authentication.
WithClientCertificateProvider declares a dynamic provider for the client certificate.
WithDynamicClientCA declares a dynamic client CA which will be updated on each client request.
WithKeypair declares a specific TLS keypair to be used.
WithServerCertificateProvider declares a dynamic provider for the server certificate.
# Constants
Mutual configures the server's policy for TLS Client Authentication to mutual TLS.
ServerOnly configures the server's policy for TLS Client Authentication to server only.
# Interfaces
CertificateProvider describes an interface by which TLS certificates may be managed.
Generator describes an interface to sign the CSR.
# Type aliases
ConfigOptionFunc describes a configuration option function for the TLS config.
Type represents the TLS authentication type.