Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DomainName ¶
type DomainName string // Normalized domain name.
func (DomainName) ASCII ¶
func (d DomainName) ASCII() string
func (DomainName) FullString ¶
func (d DomainName) FullString() string
func (DomainName) String ¶
func (d DomainName) String() string
func (DomainName) Unicode ¶
func (d DomainName) Unicode() string
type GetContext ¶
type Manager ¶
type Manager struct {
CertificateIssueTimeout time.Duration
Cache cache.Cache
// Client is used to perform low-level operations, such as account registration
// and requesting new certificates.
//
// If Client is nil, a zero-value acme.Client is used with acme.LetsEncryptURL
// as directory endpoint. If the Client.Key is nil, a new ECDSA P-256 key is
// generated and, if Cache is not nil, stored in cache.
//
// Mutating the field after the first call of GetCertificate method will have no effect.
Client *acme.Client
EnableHTTPValidation bool
EnableTLSValidation bool
// contains filtered or unexported fields
}
Interface inspired to https://godoc.org/golang.org/x/crypto/acme/autocert#Manager but not compatible guarantee
func (*Manager) GetCertificate ¶
func (m *Manager) GetCertificate(hello *tls.ClientHelloInfo) (resultCert *tls.Certificate, err error)
GetCertificate implements the tls.Config.GetCertificate hook.
func (*Manager) HandleHttpValidation ¶
Click to show internal directories.
Click to hide internal directories.