Versions in this module Expand all Collapse all v2 v2.12.0 May 14, 2024 v2.11.1 Apr 2, 2024 v2.11.0 Apr 2, 2024 v2.10.1 Feb 7, 2024 v2.10.0 Jan 9, 2024 v2.9.0 Nov 7, 2023 v2.8.0 Oct 4, 2023 v2.7.1 Sep 13, 2023 v2.7.0 Aug 29, 2023 v2.6.4 Sep 8, 2023 v2.6.3 Aug 4, 2023 v2.6.2 Jul 18, 2023 v2.6.1 Jul 5, 2023 v2.6.0 Jun 27, 2023 v2.5.1 Jun 9, 2023 v2.5.0 May 25, 2023 Changes in this version + const ChallengeTypeDNS01 + const ChallengeTypeHTTP01 + const ChallengeTypeTLSALPN01 + const DNSPrefix + const OCSPStatusGood + const OCSPStatusRevoked + const ResourceAuthz + const ResourceChallenge + const ResourceKeyChange + const ResourceNewAuthz + const ResourceNewCert + const ResourceNewReg + const ResourceRegistration + const ResourceRevokeCert + const StatusDeactivated + const StatusInvalid + const StatusPending + const StatusProcessing + const StatusReady + const StatusRevoked + const StatusUnknown + const StatusValid + const Unspecified + var BuildHost string + var BuildID string + var BuildTime string + var OCSPStatusToInt = map[OCSPStatus]int + var RandReader randSource = rand.Reader + func Fingerprint256(data []byte) string + func GetBuildHost() (retID string) + func GetBuildID() (retID string) + func GetBuildTime() (retID string) + func IsASCII(str string) bool + func IsAnyNilOrZero(vals ...interface{}) bool + func KeyDigestB64(key crypto.PublicKey) (string, error) + func KeyDigestEquals(j, k crypto.PublicKey) bool + func LoadCert(filename string) (*x509.Certificate, error) + func LooksLikeAToken(token string) bool + func NewToken() string + func PublicKeysEqual(a, b interface{}) (bool, error) + func RandomString(byteLength int) string + func RetryBackoff(retries int, base, max time.Duration, factor float64) time.Duration + func SerialToString(serial *big.Int) string + func StringToSerial(serial string) (*big.Int, error) + func UniqueLowerNames(names []string) (unique []string) + func ValidSerial(serial string) bool + type AcmeChallenge string + func (c AcmeChallenge) IsValid() bool + type AcmeResource string + type AcmeStatus string + type Authorization struct + Challenges []Challenge + Expires *time.Time + ID string + Identifier identifier.ACMEIdentifier + RegistrationID int64 + Status AcmeStatus + Wildcard bool + func (authz *Authorization) FindChallengeByStringID(id string) int + func (authz *Authorization) SolvedBy() (AcmeChallenge, error) + type CertDER []byte + type Certificate struct + DER []byte + Digest string + Expires time.Time + ID int64 + Issued time.Time + RegistrationID int64 + Serial string + type CertificateStatus struct + ID int64 + IsExpired bool + IssuerID int64 + LastExpirationNagSent time.Time + NotAfter time.Time + OCSPLastUpdated time.Time + OCSPResponse []byte + RevokedDate time.Time + RevokedReason revocation.Reason + Serial string + Status OCSPStatus + type Challenge struct + Error *probs.ProblemDetails + ProvidedKeyAuthorization string + Status AcmeStatus + Token string + Type AcmeChallenge + URI string + URL string + Validated *time.Time + ValidationRecord []ValidationRecord + func DNSChallenge01(token string) Challenge + func HTTPChallenge01(token string) Challenge + func NewChallenge(kind AcmeChallenge, token string) (Challenge, error) + func TLSALPNChallenge01(token string) Challenge + func (ch Challenge) CheckConsistencyForClientOffer() error + func (ch Challenge) CheckConsistencyForValidation() error + func (ch Challenge) ExpectedKeyAuthorization(key *jose.JSONWebKey) (string, error) + func (ch Challenge) RecordsSane() bool + func (ch Challenge) StringID() string + type FQDNSet struct + Expires time.Time + ID int64 + Issued time.Time + Serial string + SetHash []byte + type JSONBuffer []byte + func (jb *JSONBuffer) UnmarshalJSON(data []byte) (err error) + func (jb JSONBuffer) MarshalJSON() (result []byte, err error) + type OCSPStatus string + type PolicyAuthority interface + ChallengeTypeEnabled func(AcmeChallenge) bool + ChallengesFor func(identifier.ACMEIdentifier) ([]Challenge, error) + CheckAuthz func(*Authorization) error + WillingToIssueWildcards func([]identifier.ACMEIdentifier) error + type RawCertificateRequest struct + CSR JSONBuffer + type Registration struct + Agreement string + Contact *[]string + CreatedAt *time.Time + ID int64 + InitialIP net.IP + Key *jose.JSONWebKey + Status AcmeStatus + type RenewalInfo struct + SuggestedWindow SuggestedWindow + func RenewalInfoImmediate(now time.Time) RenewalInfo + func RenewalInfoSimple(issued time.Time, expires time.Time) RenewalInfo + type SCTDERs [][]byte + type Sha256Digest [sha256.Size]byte + func KeyDigest(key crypto.PublicKey) (Sha256Digest, error) + type SuggestedWindow struct + End time.Time + Start time.Time + type ValidationRecord struct + AddressUsed net.IP + AddressesResolved []net.IP + AddressesTried []net.IP + Hostname string + Port string + URL string