Versions in this module Expand all Collapse all v1 v1.0.2 Aug 2, 2023 Changes in this version + type Depot struct + func NewBoltDepot(db *bolt.DB) (*Depot, error) + func (db *Depot) CA(pass []byte) ([]*x509.Certificate, *rsa.PrivateKey, error) + func (db *Depot) CreateOrLoadCA(key *rsa.PrivateKey, years int, org, country string) (*x509.Certificate, error) + func (db *Depot) CreateOrLoadKey(bits int) (*rsa.PrivateKey, error) + func (db *Depot) HasCN(cn string, allowTime int, cert *x509.Certificate, revokeOldCertificate bool) (bool, error) + func (db *Depot) Put(cn string, crt *x509.Certificate) error + func (db *Depot) Serial() (*big.Int, error)