servertls

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: May 14, 2023 License: Apache-2.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 Certificates

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

func GenerateCertificates

func GenerateCertificates() (*Certificates, error)

func (*Certificates) GetRootCertificate

func (certs *Certificates) GetRootCertificate() *x509.Certificate

func (*Certificates) MarshalJSON

func (certs *Certificates) MarshalJSON() ([]byte, error)

func (*Certificates) RegisterNewClient

func (certs *Certificates) RegisterNewClient(clientName string) (*tls.Certificate, error)

func (*Certificates) ServerTLSConfig

func (certs *Certificates) ServerTLSConfig() *tls.Config

func (*Certificates) UnmarshalJSON

func (certs *Certificates) UnmarshalJSON(bytes []byte) error

Jump to

Keyboard shortcuts

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