Versions in this module Expand all Collapse all v1 v1.3.2 May 31, 2019 Changes in this version + var CTPoisonOID = asn1.ObjectIdentifier + var SCTListOID = asn1.ObjectIdentifier + func ComputeSKI(template *x509.Certificate) ([]byte, error) + func DefaultSigAlgo(priv crypto.Signer) x509.SignatureAlgorithm + func FillTemplate(template *x509.Certificate, defaultProfile, profile *config.SigningProfile, ...) error + func ParseCertificateRequest(s Signer, csrBytes []byte) (template *x509.Certificate, err error) + func Profile(s Signer, profile string) (*config.SigningProfile, error) + func SplitHosts(hostList string) []string + type Extension struct + Critical bool + ID config.OID + Value string + type SignRequest struct + CRLOverride string + Extensions []Extension + Hosts []string + Label string + NotAfter time.Time + NotBefore time.Time + Profile string + Request string + ReturnPrecert bool + Serial *big.Int + Subject *Subject + type Signer interface + GetDBAccessor func() certdb.Accessor + Info func(info.Req) (*info.Resp, error) + Policy func() *config.Signing + SetDBAccessor func(certdb.Accessor) + SetPolicy func(*config.Signing) + SetReqModifier func(func(*http.Request, []byte)) + SigAlgo func() x509.SignatureAlgorithm + Sign func(req SignRequest) (cert []byte, err error) + type Subject struct + CN string + Names []csr.Name + SerialNumber string + func (s *Subject) Name() pkix.Name