Versions in this module Expand all Collapse all v1 v1.1.0 Feb 15, 2017 Changes in this version + var ErrDoesNotExist = errors.New("does not exist") + type Bolt struct + DB *bolt.DB + func (b *Bolt) Add(caName, name string, isCa bool, key, cert []byte) error + func (b *Bolt) Fetch(caName, name string) ([]byte, []byte, error) + func (b *Bolt) Revoked(caName string) ([]pkix.RevokedCertificate, error) + func (b *Bolt) Update(caName string, sn *big.Int, st certificate.State) error v1.0.0 Feb 12, 2017 Changes in this version + const LocalCertsDir + const LocalCrlsDir + const LocalKeysDir + func InitCADir(path string) error + type Local struct + Root string + func (l *Local) Add(caName, name string, isCa bool, key, cert []byte) error + func (l *Local) Exists(caName, name string) bool + func (l *Local) Fetch(caName, name string) ([]byte, []byte, error) + func (l *Local) Revoked(caName string) ([]pkix.RevokedCertificate, error) + func (l *Local) Update(caName string, sn *big.Int, st certificate.State) error + type Store interface + Add func(string, string, bool, []byte, []byte) error + Fetch func(string, string) ([]byte, []byte, error) + Revoked func(string) ([]pkix.RevokedCertificate, error) + Update func(string, *big.Int, certificate.State) error