certstore

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 14, 2026 License: BSD-3-Clause, GPL-3.0, MIT, + 1 more Imports: 22 Imported by: 0

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 CAStatusManager

type CAStatusManager interface {
	GetCAInstalled() bool
	SetCAInstalled(value bool)
}

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(caStatusManager CAStatusManager, dataDir string, orgName string) (*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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL