secret

package
v0.1.72 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2023 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Ensure

func Ensure(certPath string, keyPath string)

func EnsureDir

func EnsureDir(dir string)

func FileNames

func FileNames(dir string) (string, string)

Types

type Gen

type Gen struct {
	Host         string
	Organization string
	ValidFrom    time.Time
	ValidFor     time.Duration
	IsCA         any
	RsaBits      int
	EcdsaCurve   string
	// contains filtered or unexported fields
}

func (Gen) Ensure

func (this Gen) Ensure(certPath string, keyPath string)

func (Gen) Generate

func (this Gen) Generate(certPath string, keyPath string) error

Jump to

Keyboard shortcuts

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