Versions in this module Expand all Collapse all v0 v0.15.0 Feb 13, 2023 v0.14.0 Dec 16, 2022 v0.13.2 Oct 18, 2023 v0.13.1 Dec 20, 2022 v0.13.0 Nov 4, 2022 v0.12.0 Aug 26, 2022 v0.11.0 Jul 19, 2022 v0.10.0 Jun 28, 2022 v0.9.0 May 5, 2022 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 + var BuildHost string + var BuildID string + var BuildTime string + 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 + Combinations [][]int + 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 CertificateRequest struct + Bytes []byte + CSR *x509.CertificateRequest + func (cr *CertificateRequest) UnmarshalJSON(data []byte) error + func (cr CertificateRequest) MarshalJSON() ([]byte, error) + 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 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(t AcmeChallenge) bool + ChallengesFor func(domain identifier.ACMEIdentifier) ([]Challenge, error) + WillingToIssue func(domain identifier.ACMEIdentifier) error + WillingToIssueWildcards func(identifiers []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 + 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 + OldTLS bool + Port string + URL string