ca

package
v1.19.32 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRoot

func NewRoot(notAfter time.Time) (public []byte, private []byte, err error)

Types

type Issuer

type Issuer struct {
	CaCertPem []byte
	CaCert    *x509.Certificate
	// contains filtered or unexported fields
}

func NewIssuer

func NewIssuer(certPem, keyPem []byte) (*Issuer, error)

func (Issuer) IssueClient added in v1.19.15

func (i Issuer) IssueClient(serverName string, notAfter time.Time) (fullChain, private []byte, err error)

func (Issuer) IssueServer added in v1.19.15

func (i Issuer) IssueServer(serverName string, notAfter time.Time) (fullChain, private []byte, err error)

Jump to

Keyboard shortcuts

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