cert

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2021 License: MIT Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CertificateFileName

func CertificateFileName(certificateName string) (string, string)

func CertificateFilePath added in v1.1.3

func CertificateFilePath(certificateName string) (string, string)

func CreateCertificateAuthority added in v1.1.4

func CreateCertificateAuthority() (*x509.Certificate, *rsa.PrivateKey)

func GenerateCertificate

func GenerateCertificate() (cert []byte, key []byte, err error)

func LoadCertificate

func LoadCertificate(certificateName string) (err error)

func ParseEnv

func ParseEnv(e string) string

func WriteCertificate

func WriteCertificate(certificateName string) (err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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