cert

package
v0.2.15 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateSelfSignedCert

func GenerateSelfSignedCert(host string, isCA bool) ([]byte, []byte, error)

GenerateSelfSignedCert creates a self signed RSA cert and returns it along with the private key or any errors that occurred while generating it.

func Save

func Save(path string, pemBytes []byte) error

Save saves a file to disk

Types

This section is empty.

Jump to

Keyboard shortcuts

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