Versions in this module Expand all Collapse all v1 v1.3.2 May 31, 2019 Changes in this version + type Accessor interface + GetCertificate func(serial, aki string) ([]CertificateRecord, error) + GetOCSP func(serial, aki string) ([]OCSPRecord, error) + GetRevokedAndUnexpiredCertificates func() ([]CertificateRecord, error) + GetRevokedAndUnexpiredCertificatesByLabel func(label string) ([]CertificateRecord, error) + GetUnexpiredCertificates func() ([]CertificateRecord, error) + GetUnexpiredOCSPs func() ([]OCSPRecord, error) + InsertCertificate func(cr CertificateRecord) error + InsertOCSP func(rr OCSPRecord) error + RevokeCertificate func(serial, aki string, reasonCode int) error + UpdateOCSP func(serial, aki, body string, expiry time.Time) error + UpsertOCSP func(serial, aki, body string, expiry time.Time) error + type CertificateRecord struct + AKI string + CALabel string + Expiry time.Time + PEM string + Reason int + RevokedAt time.Time + Serial string + Status string + type OCSPRecord struct + AKI string + Body string + Expiry time.Time + Serial string