Versions in this module Expand all Collapse all v2 v2.0.1 May 15, 2019 Changes in this version + const ChallengeTypeDNS01 + const ChallengeTypeHTTP01 + const ChallengeTypeTLSALPN01 + const ChallengeTypeTLSSNI01 + const LetsEncryptProduction + const LetsEncryptStaging + const ReasonAaCompromise + const ReasonAffiliationChanged + const ReasonCaCompromise + const ReasonCertificateHold + const ReasonCessationOfOperation + const ReasonKeyCompromise + const ReasonPrivilegeWithdrawn + const ReasonRemoveFromCRL + const ReasonSuperseded + const ReasonUnspecified + var ErrUnsupported = errors.New("acme: unsupported") + func EncodeDNS01KeyAuthorization(keyAuth string) string + func JWKThumbprint(pub crypto.PublicKey) (string, error) + type Account struct + Contact []string + Orders string + PrivateKey crypto.Signer + Status string + TermsOfServiceAgreed bool + Thumbprint string + URL string + type Authorization struct + ChallengeMap map[string]Challenge + ChallengeTypes []string + Challenges []Challenge + Expires time.Time + Identifier Identifier + Status string + URL string + Wildcard bool + type AutoCert struct + CacheDir string + DirectoryURL string + HostCheck HostCheck + Options []OptionFunc + PreUpdateChallengeHook func(Account, Challenge) + RootCert string + func (m *AutoCert) GetCertificate(hello *tls.ClientHelloInfo) (*tls.Certificate, error) + func (m *AutoCert) HTTPHandler(handler http.Handler) http.Handler + type Challenge struct + AuthorizationURL string + Error Problem + KeyAuthorization string + Status string + Token string + Type string + URL string + Validated string + type Client struct + PollInterval time.Duration + PollTimeout time.Duration + func NewClient(directoryURL string, options ...OptionFunc) (Client, error) + func (c Client) AccountKeyChange(account Account, newPrivateKey crypto.Signer) (Account, error) + func (c Client) DeactivateAccount(account Account) (Account, error) + func (c Client) DeactivateAuthorization(account Account, authURL string) (Authorization, error) + func (c Client) Directory() Directory + func (c Client) FetchAuthorization(account Account, authURL string) (Authorization, error) + func (c Client) FetchCertificates(account Account, certificateURL string) ([]*x509.Certificate, error) + func (c Client) FetchChallenge(account Account, challengeURL string) (Challenge, error) + func (c Client) FetchOrder(account Account, orderURL string) (Order, error) + func (c Client) FinalizeOrder(account Account, order Order, csr *x509.CertificateRequest) (Order, error) + func (c Client) NewAccount(privateKey crypto.Signer, onlyReturnExisting, termsOfServiceAgreed bool, ...) (Account, error) + func (c Client) NewOrder(account Account, identifiers []Identifier) (Order, error) + func (c Client) NewOrderDomains(account Account, domains ...string) (Order, error) + func (c Client) RevokeCertificate(account Account, cert *x509.Certificate, key crypto.Signer, reason int) error + func (c Client) UpdateAccount(account Account, termsOfServiceAgreed bool, contact ...string) (Account, error) + func (c Client) UpdateChallenge(account Account, challenge Challenge) (Challenge, error) + type Directory struct + KeyChange string + Meta struct{ ... } + NewAccount string + NewAuthz string + NewNonce string + NewOrder string + RevokeCert string + URL string + type HostCheck func(host string) error + func WhitelistHosts(hosts ...string) HostCheck + type Identifier struct + Type string + Value string + type OptionFunc func(client *Client) error + func WithAcceptLanguage(acceptLanguage string) OptionFunc + func WithHTTPClient(httpClient *http.Client) OptionFunc + func WithHTTPTimeout(duration time.Duration) OptionFunc + func WithInsecureSkipVerify() OptionFunc + func WithRetryCount(retryCount int) OptionFunc + func WithUserAgentSuffix(userAgentSuffix string) OptionFunc + type Order struct + Authorizations []string + Certificate string + Error Problem + Expires time.Time + Finalize string + Identifiers []Identifier + Status string + URL string + type OrderList struct + Next string + Orders []string + type Problem struct + Detail string + Instance string + Status int + SubProblems []struct{ ... } + Type string + func (err Problem) Error() string Other modules containing this package github.com/eggsampler/acme github.com/eggsampler/acme/v3