certs

package
v0.0.0-...-db4bbf2 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Certs

type Certs interface {
	CACert() *x509.CertPool
	Cert() tls.Certificate
	// Set(caCertPath, cert, certKey string) error
	HasCaCert() bool
	HasCert() bool
}

func Define

func Define(caCertPath, certFile, certFileKey string) (Certs, error)

Jump to

Keyboard shortcuts

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