Versions in this module Expand all Collapse all v4 v4.40.11 Jun 23, 2021 Changes in this version + type Certificate struct + Certificate []byte + PrivateKey []byte + func Generate(parent *Certificate, opts ...Option) (*Certificate, error) + func MustGenerate(parent *Certificate, opts ...Option) *Certificate + func ParseCertificate(certPEM []byte, keyPEM []byte) (*Certificate, error) + func (c *Certificate) ToPEM() ([]byte, []byte) + type Option func(*x509.Certificate) + func Authority(isCA bool) Option + func CommonName(name string) Option + func DNSNames(names ...string) Option + func KeyUsage(usage x509.KeyUsage) Option + func NotAfter(t time.Time) Option + func NotBefore(t time.Time) Option + func Organization(org string) Option Other modules containing this package github.com/kevinMKG/vtsttt