Versions in this module Expand all Collapse all v1 v1.1.0 Jul 6, 2023 v1.0.0 Mar 19, 2023 Changes in this version + func LoadBlock(file string) (*pem.Block, error) + func LoadBlocks(file string) ([]*pem.Block, error) + func Must(v interface{}, err error) interface + func Out(cfg *CertConfig, certificates []*x509.Certificate, keyPair ca.KeyPair) error + func PublicKey(priv any) any + type CertConfig struct + CertOutputPath string + Days int + ECDSA bool + ECDSACurve string + ED25591 bool + IssuerCertPath string + IssuerPrivateKeyPath string + PrivateKeyOutputPath string + RSA bool + RSAKeySize int + StartDate string + Subject string + func (c *CertConfig) Algorithm() (algorithm string) + func (c *CertConfig) CertificateOpts() ([]ca.CertificateOption, error) + func (c *CertConfig) GenKeyPair() (keyPair ca.KeyPair, err error) + func (c *CertConfig) IssuerCertificateChain() ([]*x509.Certificate, error) + func (c *CertConfig) IssuerPrivateKey() (interface{}, error) + func (c *CertConfig) KeyOpts() []ca.KeyOption