Versions in this module Expand all Collapse all v4 v4.18.1 Sep 18, 2024 Changes in this version + const DefaultOverallRequestLimit + func MakeARICertID(leaf *x509.Certificate) (string, error) + type Certifier struct + func NewCertifier(core *api.Core, resolver resolver, options CertifierOptions) *Certifier + func (c *Certifier) Get(url string, bundle bool) (*Resource, error) + func (c *Certifier) GetOCSP(bundle []byte) ([]byte, *ocsp.Response, error) + func (c *Certifier) GetRenewalInfo(req RenewalInfoRequest) (*RenewalInfoResponse, error) + func (c *Certifier) Obtain(request ObtainRequest) (*Resource, error) + func (c *Certifier) ObtainForCSR(request ObtainForCSRRequest) (*Resource, error) + func (c *Certifier) Renew(certRes Resource, bundle, mustStaple bool, preferredChain string) (*Resource, error) + func (c *Certifier) RenewWithOptions(certRes Resource, options *RenewOptions) (*Resource, error) + func (c *Certifier) Revoke(cert []byte) error + func (c *Certifier) RevokeWithReason(cert []byte, reason *uint) error + type CertifierOptions struct + KeyType certcrypto.KeyType + OverallRequestLimit int + Timeout time.Duration + type ObtainForCSRRequest struct + AlwaysDeactivateAuthorizations bool + Bundle bool + CSR *x509.CertificateRequest + NotAfter time.Time + NotBefore time.Time + PreferredChain string + ReplacesCertID string + type ObtainRequest struct + AlwaysDeactivateAuthorizations bool + Bundle bool + Domains []string + MustStaple bool + NotAfter time.Time + NotBefore time.Time + PreferredChain string + PrivateKey crypto.PrivateKey + ReplacesCertID string + type RenewOptions struct + AlwaysDeactivateAuthorizations bool + Bundle bool + MustStaple bool + NotAfter time.Time + NotBefore time.Time + PreferredChain string + type RenewalInfoRequest struct + Cert *x509.Certificate + type RenewalInfoResponse struct + RetryAfter time.Duration + func (r *RenewalInfoResponse) ShouldRenewAt(now time.Time, willingToSleep time.Duration) *time.Time + type Resource struct + CSR []byte + CertStableURL string + CertURL string + Certificate []byte + Domain string + IssuerCertificate []byte + PrivateKey []byte Other modules containing this package github.com/alekseiops/lego