cauth

package
v0.0.0-...-102eb4e Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2023 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Ca

type Ca struct {
	// contains filtered or unexported fields
}

func LoadCa

func LoadCa(path string) (*Ca, error)

LoadCa initializes a CA from a file path

func NewCa

func NewCa(path string) (*Ca, error)

func (*Ca) SaveCertificate

func (c *Ca) SaveCertificate() error

SaveCertificate Public key / certifiace to the given io object.

func (*Ca) SavePrivateKey

func (c *Ca) SavePrivateKey() error

SavePrivateKey writes the CA private key to the given io object.

func (*Ca) Shutdown

func (c *Ca) Shutdown()

func (*Ca) Start

func (c *Ca) Start(port int) error

Jump to

Keyboard shortcuts

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