ca

package
v1.18.1 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2024 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddCertificate

func AddCertificate(certificate string) error

func GetGlobalTLSConfig

func GetGlobalTLSConfig(tlsConfig *tls.Config) *tls.Config

func GetSpecifiedFingerprintTLSConfig

func GetSpecifiedFingerprintTLSConfig(tlsConfig *tls.Config, fingerprint string) (*tls.Config, error)

GetSpecifiedFingerprintTLSConfig specified fingerprint

func GetTLSConfig

func GetTLSConfig(tlsConfig *tls.Config, fingerprint string, customCA string, customCAString string) (*tls.Config, error)

GetTLSConfig specified fingerprint, customCA and customCAString

func ResetCertificate

func ResetCertificate()

Types

This section is empty.

Jump to

Keyboard shortcuts

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