Documentation ¶
Overview ¶
Package certstore implements a certificate store.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DiskCertStore ¶
type DiskCertStore struct {
// contains filtered or unexported fields
}
DiskCertStore is a disk-based certificate store. It manages the creation, loading, and installation of the root CA.
func NewDiskCertStore ¶
func NewDiskCertStore(config config) (*DiskCertStore, error)
func (*DiskCertStore) GetCertificate ¶
func (cs *DiskCertStore) GetCertificate() (*x509.Certificate, crypto.PrivateKey, error)
func (*DiskCertStore) Init ¶
func (cs *DiskCertStore) Init() error
func (*DiskCertStore) UninstallCA ¶
func (cs *DiskCertStore) UninstallCA() error
Click to show internal directories.
Click to hide internal directories.