ca

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2023 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