cert

package
v1.16.1 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeCA

func MakeCA(subject string) ([]byte, error)

func MakeCertFromCSR

func MakeCertFromCSR(domain string) ([]byte, error)

Types

type Folder added in v1.3.0

type Folder struct {
	Crt     []byte `json:"crt"`
	Key     []byte `json:"key"`
	Csr     []byte `json:"csr"`
	CrtFile string `json:"crt_file"`
	CsrFile string `json:"csr_file"`
	KeyFile string `json:"key_file"`
}

func AutoFolder added in v1.3.0

func AutoFolder(domain string) (*Folder, error)

func (*Folder) GetCertPool added in v1.3.0

func (f *Folder) GetCertPool() (*x509.CertPool, error)

func (*Folder) ParseFile added in v1.3.0

func (f *Folder) ParseFile() error

Jump to

Keyboard shortcuts

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