Versions in this module Expand all Collapse all v1 v1.7.28 Jan 13, 2021 Changes in this version + const RegistrationURLPathV1Regexp + var OSCPMustStaple = false + func CheckFile(name string) (bool, error) + func GetKeyType(value string) certcrypto.KeyType + type Account struct + Email string + KeyType certcrypto.KeyType + PrivateKey []byte + Registration *registration.Resource + func NewAccount(email string, keyTypeValue string) (*Account, error) + func (a *Account) GetEmail() string + func (a *Account) GetPrivateKey() crypto.PrivateKey + func (a *Account) GetRegistration() *registration.Resource + type Certificate struct + Certificate []byte + Domain types.Domain + Key []byte + type Configuration struct + ACMELogging bool + CAServer string + DNSChallenge *DNSChallenge + Domains []types.Domain + Email string + EntryPoint string + HTTPChallenge *HTTPChallenge + KeyType string + OnDemand bool + OnHostRule bool + Storage string + TLSChallenge *TLSChallenge + type DNSChallenge struct + DelayBeforeCheck flaeg.Duration + DisablePropagationCheck bool + Provider string + Resolvers types.DNSResolvers + type HTTPChallenge struct + EntryPoint string + type LocalStore struct + SaveDataChan chan *StoredData + func NewLocalStore(filename string) *LocalStore + func (s *LocalStore) AddTLSChallenge(domain string, cert *Certificate) error + func (s *LocalStore) GetAccount() (*Account, error) + func (s *LocalStore) GetCertificates() ([]*Certificate, error) + func (s *LocalStore) GetHTTPChallengeToken(token, domain string) ([]byte, error) + func (s *LocalStore) GetTLSChallenge(domain string) (*Certificate, error) + func (s *LocalStore) RemoveHTTPChallengeToken(token, domain string) error + func (s *LocalStore) RemoveTLSChallenge(domain string) error + func (s *LocalStore) SaveAccount(account *Account) error + func (s *LocalStore) SaveCertificates(certificates []*Certificate) error + func (s *LocalStore) SetHTTPChallengeToken(token, domain string, keyAuth []byte) error + type Provider struct + Store Store + func (p *Provider) AddRoutes(router *mux.Router) + func (p *Provider) GetTLSALPNCertificate(domain string) (*tls.Certificate, error) + func (p *Provider) Init(_ types.Constraints) error + func (p *Provider) ListenConfiguration(config types.Configuration) + func (p *Provider) ListenRequest(domain string) (*tls.Certificate, error) + func (p *Provider) Provide(configurationChan chan<- types.ConfigMessage, pool *safe.Pool) error + func (p *Provider) SetCertificateStore(certificateStore *traefiktls.CertificateStore) + func (p *Provider) SetConfigListenerChan(configFromListenerChan chan types.Configuration) + type Store interface + AddTLSChallenge func(domain string, cert *Certificate) error + GetAccount func() (*Account, error) + GetCertificates func() ([]*Certificate, error) + GetHTTPChallengeToken func(token, domain string) ([]byte, error) + GetTLSChallenge func(domain string) (*Certificate, error) + RemoveHTTPChallengeToken func(token, domain string) error + RemoveTLSChallenge func(domain string) error + SaveAccount func(*Account) error + SaveCertificates func([]*Certificate) error + SetHTTPChallengeToken func(token, domain string, keyAuth []byte) error + type StoredData struct + Account *Account + Certificates []*Certificate + HTTPChallenges map[string]map[string][]byte + TLSChallenges map[string]*Certificate + type TLSChallenge struct