Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadOrGenerateKey ¶
func LoadOrGenerateKey(file string) (*ecdsa.PrivateKey, error)
func SaveKeyPair ¶
func SaveKeyPair(kp *tls.Certificate, crt, key string) error
Types ¶
type ACMEHandler ¶
type Manager ¶
type Manager struct { FQDN string AccountKey *ecdsa.PrivateKey ACMEConfig *config.ACME ACMEHandlers []ACMEHandler }
func (*Manager) MaybeRenew ¶
func (m *Manager) MaybeRenew(kp *tls.Certificate) (*tls.Certificate, error)
Click to show internal directories.
Click to hide internal directories.