Versions in this module Expand all Collapse all v1 v1.57.0 Jul 17, 2023 Changes in this version + var ErrNotFound = errors.New("certificate not found") + func Add(c Certificate, privKeyPem []byte) error + func Delete(devenvName string) error + type Archive struct + func NewArchive() *Archive + func (a *Archive) Add(c Certificate) + func (a *Archive) Export(path string) error + func (a *Archive) Import(path string) error + func (a *Archive) List() []Certificate + type CertMetadata struct + MacOSSHAHash string + type Certificate struct + Data []byte + DevenvName string + Email string + func Generate(opts GenerateOptions) (Certificate, []byte, error) + func Get(devenvName string) (Certificate, []byte, error) + func List() ([]Certificate, error) + func UnmarshalCertificate(data []byte) (c Certificate, rest []byte, err error) + type GenerateOptions struct + Days int + DevenvName string + Email string + type NSSDB struct + func MustNewDefaultNSSDB() *NSSDB + func NewDefaultNSSDB() (*NSSDB, error) + func (n *NSSDB) Add(c Certificate) error + func (n *NSSDB) Delete(c Certificate) error + func (n *NSSDB) List() ([]string, error) + type Store interface + Add func(c Certificate, privKeyPem []byte) error + Delete func(devenvName string) error + Generate func(opts GenerateOptions) (Certificate, []byte, error) + Get func(devenvName string) (Certificate, []byte, error) + List func() ([]Certificate, error) v1.57.0-rc.3 Jul 17, 2023