Documentation ¶
Index ¶
Constants ¶
View Source
const ( EnvACMEEmail = "ACME_EMAIL" EnvACMEDir = "ACME_DIR_URL" EnvACMEDNSProvider = "ACME_DNS01_PROVIDER" EnvACMEDNSResolvers = "ACME_DNS_RESOLVERS" EnvACMEDisableCompletePropagation = "ACME_DISABLE_COMPLETE_PROPAGATION" EnvACMETOSAgreed = "ACME_TOS_AGREED" )
View Source
const ( EnvTTDebug = "TEMPTXT_DEBUG" EnvTTURL = "TEMPTXT_URL" EnvTTCert = "TEMPTXT_CERT" EnvTTKey = "TEMPTXT_KEY" EnvTTCA = "TEMPTXT_CA" EnvTTStripAcmeChallenge = "TEMPTXT_STRIP_ACME_CHALLENGE" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ACMEIssuer ¶
type ACMEIssuer struct {
// contains filtered or unexported fields
}
func NewACMEIssuer ¶
func (*ACMEIssuer) Issue ¶
func (a *ACMEIssuer) Issue(req CertRequest) (*Bundle, error)
Issue implements Issuer
type Bundle ¶
type Bundle struct { Certificate *x509.Certificate CA []*x509.Certificate PrivateKey crypto.PrivateKey }
func (*Bundle) CertString ¶
func (*Bundle) ChainString ¶
type CertRequest ¶
type CertRequest struct { Domains []string PrivateKey crypto.PrivateKey MustStaple bool KeyType string }
type Issuer ¶
type Issuer interface {
Issue(CertRequest) (*Bundle, error)
}
type TempTXTProvider ¶
type TempTXTProvider struct {
// contains filtered or unexported fields
}
func NewTempTXTProvider ¶
func NewTempTXTProvider() (*TempTXTProvider, error)
Click to show internal directories.
Click to hide internal directories.