# Functions
[deprecated] Certificate returns a TLS Certificate by looking at its arguments.
CertificateFromBase64 loads a TLS certificate from a base64-encoded string of the PEM representations of the cert and key.
CertificateHelpMessage returns a help message for configuring TLS Certificates.
CreateSelfSignedCertificate creates a self-signed x509 certificate.
CreateSelfSignedTLSCertificate creates a self-signed TLS certificate.
GetCertificate returns a function for use with "net/tls".Config.GetCertificate.
HTTPSCertificate returns loads a HTTP over TLS Certificate by looking at environment variables.
HTTPSCertificateHelpMessage returns a help message for configuring HTTP over TLS Certificates.
PEMBlockForKey returns a PEM-encoded block for key.
PublicKey returns the public key for a given private key, or nil.
# Variables
ErrInvalidCertificateConfiguration is returned when an invalid TLS configuration was found.
ErrNoCertificatesConfigured is returned when no TLS configuration was found.