secret

package
v0.6.36 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2024 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 (o Gen) Ensure(certPath string, keyPath string)

func (Gen) Generate

func (o 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