package
0.0.0-20210902152239-d07836ab426a
Repository: https://github.com/sylabs/golang-x-crypto.git
Documentation: pkg.go.dev

# Functions

AcceptTOS is a Manager.Prompt function that always returns true to indicate acceptance of the CA's Terms of Service during account registration.
HostWhitelist returns a policy where only the specified host names are allowed.
NewListener returns a net.Listener that listens on the standard TLS port (443) on all interfaces and returns *tls.Conn connections with LetsEncrypt certificates for the provided domain or domains.

# Variables

ErrCacheMiss is returned when a certificate is not found in cache.

# Structs

Manager is a stateful certificate manager built on top of acme.Client.

# Interfaces

Cache is used by Manager to store and retrieve previously obtained certificates and other account data as opaque blobs.

# Type aliases

DirCache implements Cache using a directory on the local filesystem.
HostPolicy specifies which host names the Manager is allowed to respond to.