self_signed

package
v0.7.4 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2020 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateSelfSigned

func GenerateSelfSigned(organization string, host []string, notBefore time.Time, validFor time.Duration) (cert, key []byte, err error)

func NewSelfSigned

func NewSelfSigned() (*tls.Config, error)

func NewSelfSignedWithConfig

func NewSelfSignedWithConfig() (tls.TLS, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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