certificates

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2022 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WriteCertificates

func WriteCertificates(filepath string, caConfig *CAConfig, serverConfig *ServerConfig) error

Types

type CAConfig

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

func NewCACertificate added in v0.7.0

func NewCACertificate() *CAConfig

func (*CAConfig) GetCertificatePEM added in v0.7.0

func (c *CAConfig) GetCertificatePEM() *bytes.Buffer

type ServerConfig

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

func NewServerCertificate added in v0.7.0

func NewServerCertificate(caConfig *CAConfig, commonName string, dnsNames []string) *ServerConfig

Jump to

Keyboard shortcuts

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