cert

package
v0.0.61 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2021 License: MIT Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate(organization, commonName, hosts string, duration time.Duration) (cert, key []byte, err error)

Generate a pair of keys. These keys can be loaded with cert, err = tls.LoadX509KeyPair("cert.pem", "key.pem")

Types

This section is empty.

Jump to

Keyboard shortcuts

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