package
0.2.11
Repository: https://github.com/elastic/harp.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 tryin 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 an new empty cert pool, accessing system cert pool.

# 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.