Versions in this module Expand all Collapse all v0 v0.2.0 Jan 12, 2021 Changes in this version + const CaLetsencrypt + const CaLetsencryptRootCaKeyIdDstRootCaX3 + const CaLetsencryptRootCaKeyIdIsrgRootX1 + const CaLetsencryptStaging + const CaLetsencryptStagingRootCaKeyIdFakeLeRootX1 + const CaLetsencryptStagingRootCaKeyIdFakeLeRootX2 + func FmtX509KeyID(id []byte) string + func GetJWKThumbprintWithBase64url(key interface{}) (string, error) + func NewAcmeNonce(url string) *acmeNonce + func Sha256WithBase64url(b []byte) (d string) + type Account struct + AcctURL string + Contact []string + PemPrivateKey string + PrivateKey *ecdsa.PrivateKey + TOSAgreed bool + type CaMeta struct + DirURL string + NewAcctURL string + NewNonceURL string + NewOrderURL string + type CertInfo struct + NotAfter string + NotBefore string + PemCertBody string + PemCertBodyWithChain string + PemCertChain string + PemCertPrivateKey string + RootCAKeyID string + SignatureAlgorithm string + type Client interface + CreateAccountWithEmail func(email string, TOSAgreed bool) (*Account, error) + CreateAccountWithPrivateKey func(acct *Account) (*Account, error) + SetAccount func(acct *Account) (*Account, error) + SignCertWithDNS func(sr *IdlSignReq, opts ...Option) (*CertInfo, error) + func NewClient(conf *Config, opts ...Option) Client + type Config struct + CA string + Dns *xdns.Config + type HTTPHeaderLink struct + Params map[string]string + Rel string + URL string + func GetHTTPHeaderLink(ss []string) []HTTPHeaderLink + type IdlChallenge struct + Token string + Type string + URL string + type IdlIdentifier struct + Type string + Value string + type IdlReqNewAccountPayload struct + Contact []string + TermsOfServiceAgreed bool + type IdlReqNewOrderPayload struct + Identifiers []IdlIdentifier + NotAfter string + NotBefore string + type IdlRespDir struct + KeyChange string + Meta struct{ ... } + NewAccount string + NewNonce string + NewOrder string + RevokeCert string + type IdlRespDownLoadAuthorizationResources struct + Challenges []IdlChallenge + Expires string + Identifier IdlIdentifier + Status string + type IdlRespErr struct + Detail string + Type string + type IdlRespFinalize struct + Authorizations []string + Certificate string + Expires string + Finalize string + Identifiers []IdlIdentifier + NotAfter string + NotBefore string + Status string + type IdlRespNewAccount struct + Contact []string + Order string + Status string + type IdlRespNewOrder struct + Authorizations []string + Expires string + Finalize string + Identifiers []IdlIdentifier + NotAfter string + NotBefore string + Status string + type IdlSignReq struct + Identifiers []IdlIdentifier + TXTCname string + type Option func(opt *option) + func WithRootCAKeyID(id string) Option