Versions in this module Expand all Collapse all v1 v1.6.5 Mar 5, 2024 Changes in this version + func GenerateDER(priv crypto.Signer, req *CertificateRequest) (csr []byte, err error) v1.6.4 Mar 28, 2023 v1.6.3 Oct 4, 2022 v1.6.2 Aug 24, 2022 Changes in this version type CertificateRequest + DelegationEnabled bool v1.6.1 Jul 14, 2021 v1.6.0 Mar 26, 2021 Changes in this version + func OIDFromString(s string) (asn1.ObjectIdentifier, error) type Name + E string + OID map[string]string v1.5.0 Oct 21, 2020 Changes in this version type CertificateRequest + CRL string + Extensions []pkix.Extension v1.4.1 Nov 13, 2019 v1.4.0 Oct 31, 2019 Changes in this version + func Generate(priv crypto.Signer, req *CertificateRequest) (csr []byte, err error) + func IsNameEmpty(n Name) bool + func ParseRequest(req *CertificateRequest) (csr, key []byte, err error) + func Regenerate(priv crypto.Signer, csr []byte) ([]byte, error) + type BasicConstraints struct + IsCA bool + MaxPathLen int + type CAConfig struct + Backdate string + Expiry string + PathLenZero bool + PathLength int + type CertificateRequest struct + CA *CAConfig + CN string + Hosts []string + KeyRequest *KeyRequest + Names []Name + SerialNumber string + func ExtractCertificateRequest(cert *x509.Certificate) *CertificateRequest + func New() *CertificateRequest + func (cr *CertificateRequest) Name() pkix.Name + type Generator struct + Validator func(*CertificateRequest) error + func (g *Generator) ProcessRequest(req *CertificateRequest) (csr, key []byte, err error) + type KeyRequest struct + A string + S int + func NewKeyRequest() *KeyRequest + func (kr *KeyRequest) Algo() string + func (kr *KeyRequest) Generate() (crypto.PrivateKey, error) + func (kr *KeyRequest) SigAlgo() x509.SignatureAlgorithm + func (kr *KeyRequest) Size() int + type Name struct + C string + L string + O string + OU string + ST string + SerialNumber string v1.4.0-rc1 Oct 30, 2019