MCPcopy Create free account
hub / github.com/cloudflare/cfssl / InsertOCSP

Method InsertOCSP

certdb/certdb.go:83–83  ·  view source on GitHub ↗
(rr OCSPRecord)

Source from the content-addressed store, hash-verified

81 GetRevokedAndUnexpiredCertificatesByLabelSelectColumns(label string) ([]CertificateRecord, error)
82 RevokeCertificate(serial, aki string, reasonCode int) error
83 InsertOCSP(rr OCSPRecord) error
84 GetOCSP(serial, aki string) ([]OCSPRecord, error)
85 GetUnexpiredOCSPs() ([]OCSPRecord, error)
86 UpdateOCSP(serial, aki, body string, expiry time.Time) error

Callers 7

TestSqliteTrivialFunction · 0.95
TestSqliteRealResponseFunction · 0.95
testInsertOCSPAndGetOCSPFunction · 0.65
testUpdateOCSPAndGetOCSPFunction · 0.65
HandleMethod · 0.65
HandleMethod · 0.65

Implementers 1

Accessorcertdb/sql/database_accessor.go

Calls

no outgoing calls

Tested by 5

TestSqliteTrivialFunction · 0.76
TestSqliteRealResponseFunction · 0.76
testInsertOCSPAndGetOCSPFunction · 0.52
testUpdateOCSPAndGetOCSPFunction · 0.52