cert

package
v0.0.0-...-ef48d12 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LocalCAInit

func LocalCAInit(caCertFileName, caKeyFileName string) error

func PublicKeytoPem

func PublicKeytoPem(key *rsa.PublicKey) ([]byte, error)

Types

type CA

type CA interface {
	MakeCert(ctx context.Context, serial string, keyPem []byte) (string, error)
}

func NewLocalCA

func NewLocalCA(caCertificate *tls.Certificate) CA

Jump to

Keyboard shortcuts

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