cert

package
v0.0.1-test9 Latest Latest
Warning

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

Go to latest
Published: May 7, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package cert provides certificate management for MITM proxying.

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 manages CA certificates for MITM proxying.

func NewManager

func NewManager(certDir string) (*Manager, error)

NewManager creates a new certificate manager.

func (*Manager) GetCA

func (m *Manager) GetCA() *tls.Certificate

GetCA returns the CA certificate.

func (*Manager) GetCACertPath

func (m *Manager) GetCACertPath() string

GetCACertPath returns the path to the CA certificate file.

Jump to

Keyboard shortcuts

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