Documentation ¶
Index ¶
Constants ¶
View Source
const ProviderPrefix = "ACME:"
Variables ¶
This section is empty.
Functions ¶
func NewACMECertificateFactory ¶
func NewACMECertificateFactory(domains []string, configPath string, providerName string, keyFactory keys.KeyPairFactory) certs.CertificateFactory
Types ¶
type ACMECertificateFactory ¶
type ACMECertificateFactory struct {
// contains filtered or unexported fields
}
func (*ACMECertificateFactory) Name ¶
func (factory *ACMECertificateFactory) Name() string
func (*ACMECertificateFactory) New ¶
func (factory *ACMECertificateFactory) New() (crypto.PrivateKey, *x509.Certificate, error)
type Config ¶
type Config struct { Providers map[string]Provider `yaml:"providers"` Domains map[string]DomainConfig `yaml:"domains"` }
type DomainConfig ¶
type DomainConfig struct { Domain string `yaml:"-"` Http01Challenge Http01ChallengeConfig `yaml:"http-01"` TLSAPN01Challenge TLSAPN01ChallengeConfig `yaml:"tls-apn-01"` }
type Http01ChallengeConfig ¶
type ProviderRegistration ¶
type ProviderRegistration struct { Provider string `json:"provider"` Email string `json:"email"` Key string `json:"key"` Registration *registration.Resource }
func (*ProviderRegistration) GetEmail ¶
func (providerRegistration *ProviderRegistration) GetEmail() string
func (*ProviderRegistration) GetPrivateKey ¶
func (providerRegistration *ProviderRegistration) GetPrivateKey() crypto.PrivateKey
func (*ProviderRegistration) GetRegistration ¶
func (providerRegistration *ProviderRegistration) GetRegistration() *registration.Resource
type TLSAPN01ChallengeConfig ¶
Click to show internal directories.
Click to hide internal directories.