Versions in this module Expand all Collapse all v0 v0.4.0 Nov 7, 2026 Changes in this version + var ErrNoTransport = errors.New(...) + var ErrPartialTLS = errors.New("tlsconf: TLS needs a certificate, a key and a CA together") + var ErrPlaintextWithTLS = errors.New("tlsconf: plaintext and TLS are mutually exclusive") + func Client(caFile, certFile, keyFile string) (*tls.Config, error) + func Server(certFile, keyFile, clientCAFile string, plaintext bool) (*tls.Config, error) + func Thumbprint(cert *x509.Certificate) (string, error) + func ThumbprintFile(path string) (string, error) + type Caller struct + Cert []byte + Thumbprint string + func CallerOf(chain []*x509.Certificate) (Caller, bool) v0.4.0-rc.1 Nov 6, 2026