package
25.1.0+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev
# Functions
NewCertManager creates a new certificate manager with empty certificate set.
NewFileCert will construct a new file cert but it will not try to load it.
NewSelfSignedCert will generate a new self-signed cert.
# Structs
CertManager is a collection of certificates that will be reloaded on SIGHUP signal or explicit Reload call.
FileCert represents a single cert loaded from cert/key file pair.
SelfSignedCert represents a single, self-signed certificate, generated at runtime.
# Interfaces
Cert is a generic presentation on managed certificate that can be reloaded.