certgen

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2024 License: Apache-2.0, BSD-2-Clause-Views, BSD-3-Clause, + 4 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) (*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