cert

package
v0.0.0-...-a8938b0 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package cert handles certificates for https proxied requests

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cert

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

func NewCert

func NewCert() *Cert

func (*Cert) CAGen

func (c *Cert) CAGen(name string) error

func (*Cert) CAGetPEM

func (c *Cert) CAGetPEM() ([]byte, error)

func (*Cert) CARead

func (c *Cert) CARead(keyRdr, certRdr io.Reader) error

func (*Cert) CASet

func (c *Cert) CASet(cert *tls.Certificate) error

func (*Cert) LeafCert

func (c *Cert) LeafCert(names []string) (*tls.Certificate, error)

Jump to

Keyboard shortcuts

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