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

Function NewAccessor

certdb/sql/database_accessor.go:93–95  ·  view source on GitHub ↗

NewAccessor returns a new Accessor.

(db *sqlx.DB)

Source from the content-addressed store, hash-verified

91
92// NewAccessor returns a new Accessor.
93func NewAccessor(db *sqlx.DB) *Accessor {
94 return &Accessor{db: db}
95}
96
97// SetDB changes the underlying sql.DB object Accessor is manipulating.
98func (d *Accessor) SetDB(db *sqlx.DB) {

Callers 15

TestParseSerialNumberFunction · 0.92
ocspdumpMainFunction · 0.92
prepDBFunction · 0.92
revokeMainFunction · 0.92
prepDBFunction · 0.92
certinfoMainFunction · 0.92
TestSignerWithDBFunction · 0.92
ocsprefreshMainFunction · 0.92
TestOCSPRefreshMainFunction · 0.92
TestSqliteTrivialFunction · 0.92
TestSqliteRealResponseFunction · 0.92
NewSourceFromDBFunction · 0.92

Calls

no outgoing calls

Tested by 15

TestParseSerialNumberFunction · 0.74
prepDBFunction · 0.74
prepDBFunction · 0.74
TestSignerWithDBFunction · 0.74
TestOCSPRefreshMainFunction · 0.74
TestSqliteTrivialFunction · 0.74
TestSqliteRealResponseFunction · 0.74
TestStapleSCTListFunction · 0.74
TestSignerDBPersistenceFunction · 0.74
prepDBFunction · 0.74
prepDBFunction · 0.74
prepDBFunction · 0.74

Used in the wild real call sites across dependent graphs

searching dependent graphs…