Documentation ¶
Index ¶
- func NewCAMetrics(stats prometheus.Registerer) *caMetrics
- func NewCRLImpl(issuers []*issuance.Issuer, profileConfig issuance.CRLProfileConfig, ...) (*crlImpl, error)
- func NewCertificateAuthorityImpl(sa sapb.StorageAuthorityCertificateClient, pa core.PolicyAuthority, ...) (*certificateAuthorityImpl, error)
- func NewOCSPImpl(issuers []*issuance.Issuer, ocspLifetime time.Duration, ocspLogMaxLength int, ...) (*ocspImpl, error)
- type OCSPGenerator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCAMetrics ¶
func NewCAMetrics(stats prometheus.Registerer) *caMetrics
func NewCRLImpl ¶
func NewCRLImpl( issuers []*issuance.Issuer, profileConfig issuance.CRLProfileConfig, maxLogLen int, logger blog.Logger, metrics *caMetrics, ) (*crlImpl, error)
NewCRLImpl returns a new object which fulfils the ca.proto CRLGenerator interface. It uses the list of issuers to determine what issuers it can issue CRLs from. lifetime sets the validity period (inclusive) of the resulting CRLs.
func NewCertificateAuthorityImpl ¶
func NewCertificateAuthorityImpl( sa sapb.StorageAuthorityCertificateClient, pa core.PolicyAuthority, boulderIssuers []*issuance.Issuer, defaultCertProfileName string, certificateProfiles map[string]*issuance.ProfileConfig, serialPrefix byte, maxNames int, keyPolicy goodkey.KeyPolicy, logger blog.Logger, metrics *caMetrics, clk clock.Clock, ) (*certificateAuthorityImpl, error)
NewCertificateAuthorityImpl creates a CA instance that can sign certificates from any number of issuance.Issuers according to their profiles, and can sign OCSP (via delegation to an ocspImpl and its issuers).
Types ¶
type OCSPGenerator ¶
type OCSPGenerator interface { capb.OCSPGeneratorServer LogOCSPLoop() Stop() }
OCSPGenerator is an interface which exposes both the auto-generated gRPC methods and our special-purpose log queue start and stop methods, so that they can be called from main without exporting the ocspImpl type.