localca

package
v2.0.15 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

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

func NewManager

func NewManager(ca *x509.Certificate, cakey any, name *pkix.Name, keyType certutil.KeyType, maxTTL time.Duration, logger zLogger.ZLogger) *Manager

func (*Manager) Create

func (m *Manager) Create(client, server bool, uris []string, ips []net.IP, dns []string, ttl time.Duration) (cert []byte, key []byte, err error)

func (*Manager) GetCAPEM

func (m *Manager) GetCAPEM() string

Jump to

Keyboard shortcuts

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