ca

package
v0.76.5 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2024 License: Apache-2.0 Imports: 13 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