package
0.5.0
Repository: https://github.com/docker/go-connections.git
Documentation: pkg.go.dev

# Functions

Client returns a TLS configuration meant to be used by a client.
ClientDefault returns a secure-enough TLS configuration for the client TLS configuration.
IsErrEncryptedKey returns true if the 'err' is an error of incorrect password when trying to decrypt a TLS private key.
Server returns a TLS configuration meant to be used by a server.
ServerDefault returns a secure-enough TLS configuration for the server TLS configuration.
SystemCertPool returns a copy of the system cert pool, returns an error if failed to load or empty pool on windows.

# Variables

DefaultServerAcceptedCiphers should be uses by code which already has a crypto/tls options struct but wants to use a commonly accepted set of TLS cipher suites, with known weak algorithms removed.

# Structs

Options represents the information needed to create client and server TLS configurations.