ca

package
v0.40.3 Latest Latest
Warning

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

Go to latest
Published: May 5, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateCA

func GenerateCA(name, certPath, privateKeyPath, password string, expiryYears int) error

GenerateCA generates a new CA certificate

func ReadCA added in v0.17.13

func ReadCA(ca *types.CA) (*certs.Certificate, error)

ReadCA opens the CA stored in the file ca.Cert using the private key in ca.PrivateKey with key password ca.Password.

func ValidateCA

func ValidateCA(certPath, privateKeyPath, password string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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