Versions in this module Expand all Collapse all v0 v0.5.1 Mar 9, 2024 v0.5.0 Mar 9, 2024 Changes in this version + func Find(store Store, cert *x509.Certificate) ([]*x509.Certificate, error) + func Sort(certs []*x509.Certificate) []*x509.Certificate + func ToPEM(certs ...*x509.Certificate) ([]byte, error) + func ToPEMs(certs ...*x509.Certificate) ([][]byte, error) + func VerifyForCodeSigning(certs []*x509.Certificate, failWithoutFullChain bool) error + type Collection struct + func NewCollection() *Collection + func (p *Collection) AddIntermediate(certs ...*x509.Certificate) error + func (p *Collection) AddIntermediatePEMs(pems ...[]byte) error + func (p *Collection) AddRoot(certs ...*x509.Certificate) error + func (p *Collection) AddRootPEMs(pems ...[]byte) error + func (p *Collection) CertificatesByCN(commonName string) ([]*x509.Certificate, error) + func (p *Collection) IntermediatePEMs() [][]byte + func (p *Collection) RootPEMs() [][]byte + func (p *Collection) WithEnumerator(enumerators ...Enumerator) *Collection + func (p *Collection) WithSearchers(searchers ...Searcher) *Collection + func (p *Collection) WithStores(stores ...Store) *Collection + type Enumerator interface + IntermediatePEMs func() [][]byte + RootPEMs func() [][]byte + type Searcher interface + CertificatesByCN func(commonName string) ([]*x509.Certificate, error) + type Store interface