certgen

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: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CertGenerator

type CertGenerator struct {
	// contains filtered or unexported fields
}

CertGenerator allows for generating certificates for a given host.

func NewCertGenerator

func NewCertGenerator(certStore certStore, orgName string) (*CertGenerator, error)

func (*CertGenerator) GetCertificate

func (cg *CertGenerator) GetCertificate(host string) (*tls.Certificate, error)

GetCertificate returns a self-signed certificate for the given host.

Jump to

Keyboard shortcuts

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