certstore

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: Apache-2.0, BSD-2-Clause-Views, BSD-3-Clause, + 4 more Imports: 20 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 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

Jump to

Keyboard shortcuts

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