Versions in this module Expand all Collapse all v0 v0.0.6 Aug 9, 2022 v0.0.5 Aug 9, 2022 v0.0.4 Aug 9, 2022 v0.0.3 Aug 9, 2022 v0.0.2 Apr 18, 2022 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 + CRL string + Extensions []pkix.Extension + 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