cert

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CaCert

type CaCert struct {
	Cert    *x509.Certificate
	PEM     bytes.Buffer
	PrivPEM bytes.Buffer
	PrivKey *rsa.PrivateKey
	Created bool
}

type SelfSignedCertRequest

type SelfSignedCertRequest struct {
	Domain string
}

type SelfSignedCertResult

type SelfSignedCertResult struct {
	ServerTLSConf *tls.Config
	ServerCert    tls.Certificate
	ClientTLSConf *tls.Config
	CaCertPEM     bytes.Buffer
	CertPEM       bytes.Buffer
	PrivatePEM    bytes.Buffer
}

Jump to

Keyboard shortcuts

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