gencert

package
v0.0.0-...-2c363c2 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2022 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CertificateCache

type CertificateCache struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

CertificateCache is ...

func NewCertificateCache

func NewCertificateCache(cert, key string) (c *CertificateCache, err error)

NewCertificateCache is ...

func (*CertificateCache) CreateCert

func (c *CertificateCache) CreateCert(commonName string) (cert *tls.Certificate, err error)

CreateCert is ...

func (*CertificateCache) GetCertificate

func (c *CertificateCache) GetCertificate(clientHello *tls.ClientHelloInfo) (cert *tls.Certificate, err error)

GetCertificate is ...

Jump to

Keyboard shortcuts

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