Versions in this module Expand all Collapse all v0 v0.7.0 Mar 12, 2022 Changes in this version + type CAServiceClient interface + PostCertificateRenewal func(ctx context.Context, isd int, as api.AS, ...) (*http.Response, error) + type CMS struct + ChainBuilder ChainBuilder + IA addr.IA + Metrics CMSHandlerMetrics + Verifier RenewalRequestVerifier + func (s CMS) HandleCMSRequest(ctx context.Context, req *cppb.ChainRenewalRequest) ([]*x509.Certificate, error) + type CMSHandlerMetrics struct + DatabaseError metrics.Counter + InternalError metrics.Counter + NotFoundError metrics.Counter + ParseError metrics.Counter + Success metrics.Counter + VerifyError metrics.Counter + type CMSRequestHandler interface + HandleCMSRequest func(context.Context, *cppb.ChainRenewalRequest) ([]*x509.Certificate, error) + type CMSSigner interface + SignCMS func(ctx context.Context, msg []byte) ([]byte, error) + type ChainBuilder interface + CreateChain func(context.Context, *x509.CertificateRequest) ([]*x509.Certificate, error) + type DelegatingHandler struct + Client CAServiceClient + Metrics DelegatingHandlerMetrics + func (h *DelegatingHandler) HandleCMSRequest(ctx context.Context, req *cppb.ChainRenewalRequest) ([]*x509.Certificate, error) + type DelegatingHandlerMetrics struct + BadRequests metrics.Counter + InternalError metrics.Counter + Success metrics.Counter + Unavailable metrics.Counter + type LegacyRequestHandler interface + HandleLegacyRequest func(context.Context, *cppb.ChainRenewalRequest) (*cppb.ChainRenewalResponse, error) + type RenewalRequestVerifier interface + VerifyCMSSignedRenewalRequest func(context.Context, []byte) (*x509.CertificateRequest, error) + VerifyPbSignedRenewalRequest func(context.Context, *cryptopb.SignedMessage, [][]*x509.Certificate) (*x509.CertificateRequest, error) + type RenewalServer struct + CMSHandler CMSRequestHandler + CMSSigner CMSSigner + IA addr.IA + LegacyHandler LegacyRequestHandler + Metrics RenewalServerMetrics + func (s RenewalServer) ChainRenewal(ctx context.Context, req *cppb.ChainRenewalRequest) (*cppb.ChainRenewalResponse, error) + type RenewalServerMetrics struct + BackendErrors metrics.Counter + Success metrics.Counter