Documentation ¶
Overview ¶
Package certs implements a certificate signing authority implementation to sign MITM'ed hosts certificates using a self-signed authority.
It has uses an LRU-based certificate caching implementation for caching the generated certificates for frequently accessed hosts.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager implements a certificate signing authority for TLS Mitm.
func (*Manager) Get ¶
func (m *Manager) Get(host string) (*tls.Certificate, error)
Get returns a certificate for the current host.
Click to show internal directories.
Click to hide internal directories.