tlsgen

package
v0.0.0-...-95b87ed Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CA

type CA interface {
	CertBytes() []byte

	NewClientCertKeyPair() (*CertKeyPair, error)

	NewServerCertKeyPair(host string) (*CertKeyPair, error)
}

func NewCA

func NewCA() (CA, error)

type CertKeyPair

type CertKeyPair struct {
	Cert []byte

	Key []byte

	crypto.Signer
	TLSCert *x509.Certificate
}

Jump to

Keyboard shortcuts

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