Versions in this module Expand all Collapse all v0 v0.0.2 Aug 19, 2022 v0.0.1 Jul 4, 2022 Changes in this version + const CSRNoHostMessage + const NoBundlerMessage + func CSRValidate(req *csr.CertificateRequest) error + func NewCertGeneratorHandler(validator Validator, caFile, caKeyFile string, policy *config.Signing) (http.Handler, error) + func NewCertGeneratorHandlerFromSigner(validator Validator, signer signer.Signer) http.Handler + func NewHandler(validator Validator) (http.Handler, error) + type CertGeneratorHandler struct + func (cg *CertGeneratorHandler) Handle(w http.ResponseWriter, r *http.Request) error + func (cg *CertGeneratorHandler) SetBundler(caBundleFile, intBundleFile string) (err error) + type CertRequest struct + CSR string + Key string + Sums map[string]Sum + type Handler struct + func (g *Handler) Handle(w http.ResponseWriter, r *http.Request) error + type Sum struct + MD5 string + SHA1 string + type Validator func(*csr.CertificateRequest) error