pkg

package
v0.0.0-...-ca91d2f Latest Latest
Warning

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

Go to latest
Published: May 4, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CertConfig

type CertConfig struct {
	Ed25519Key   bool
	IsCA         bool
	RsaBits      int
	EcdsaCurve   string
	ValidFrom    string
	KeyLocation  string
	CertLocation string
	ValidFor     time.Duration
	Hosts        []string
}

func (*CertConfig) CertCheck

func (config *CertConfig) CertCheck() error

func (*CertConfig) Defaults

func (config *CertConfig) Defaults()

func (CertConfig) Generate

func (config CertConfig) Generate() error

Jump to

Keyboard shortcuts

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