gen

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2022 License: MIT Imports: 13 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Keys

func Keys(validFor time.Duration) (cert, key *bytes.Buffer, fingerprint [32]byte, err error)

Keys generates a new P256 ECDSA public private key pair for TLS. It returns a bytes buffer for the PEM encoded private key and certificate.

Types

This section is empty.

Jump to

Keyboard shortcuts

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