Versions in this module Expand all Collapse all v0 v0.7.0 Mar 12, 2022 Changes in this version type CryptoLoader + TRCDirs []string + func (l CryptoLoader) SignedTRC(ctx context.Context, id cppki.TRCID) (cppki.SignedTRC, error) type RenewingSigner + func (s RenewingSigner) SignCMS(ctx context.Context, msg []byte) ([]byte, error) v0.6.0 Dec 4, 2020 Changes in this version + type CACertLoader struct + DB trust.DB + Dir string + IA addr.IA + func (l CACertLoader) CACerts(ctx context.Context) ([]*x509.Certificate, error) + type CACertProvider interface + CACerts func(ctx context.Context) ([]*x509.Certificate, error) + type CachingPolicyGen struct + Interval time.Duration + PolicyGen PolicyGen + func (s *CachingPolicyGen) Generate(ctx context.Context) (cppki.CAPolicy, error) + type CachingSignerGen struct + Interval time.Duration + SignerGen SignerGen + func (s *CachingSignerGen) Generate(ctx context.Context) (trust.Signer, error) + type ChainBuilder struct + PolicyGen PolicyGen + func (c ChainBuilder) CreateChain(ctx context.Context, csr *x509.CertificateRequest) ([]*x509.Certificate, error) + type ClientLoader struct + ClientDB renewal.DB + Dir string + func (l ClientLoader) LoadClientChains(ctx context.Context) error + type CryptoLoader struct + Dir string + func (l CryptoLoader) Chains(ctx context.Context, query trust.ChainQuery) ([][]*x509.Certificate, error) + type LoadingPolicyGen struct + CertProvider CACertProvider + KeyRing trust.KeyRing + Validity time.Duration + func (g LoadingPolicyGen) Generate(ctx context.Context) (cppki.CAPolicy, error) + type LoadingRing struct + Dir string + func (r LoadingRing) PrivateKeys(ctx context.Context) ([]crypto.Signer, error) + type PolicyGen interface + Generate func(context.Context) (cppki.CAPolicy, error) + type RenewingSigner struct + SignerGen SignerGen + func (s RenewingSigner) Sign(ctx context.Context, msg []byte, associatedData ...[]byte) (*cryptopb.SignedMessage, error) + type SignerGen interface + Generate func(ctx context.Context) (trust.Signer, error)