scenario

package
v0.0.0-...-bc43709 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2024 License: GPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenCert

func GenCert(commonName, output, privateKeyPath, caKeyPath, caCertPath string, days int, dnsNames []string, ipAddresses []net.IP) error

func GenCertCA

func GenCertCA(commonName, output, privateKeyPath string, days int) error

func GenKey

func GenKey(filename string) error

func GenPair

func GenPair(commonName, output, privateKeyFilename, caKeyFilename, caCertFilename, domains string, days int) error

func GenPairCA

func GenPairCA(commonName, output, privateKeyFilename string, days int) error

func LoadCert

func LoadCert(filename string) (*x509.Certificate, error)

func LoadPrivateKey

func LoadPrivateKey(filename string) (*rsa.PrivateKey, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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