package utils
import "github.com/invisv-privacy/masque/internal/utils"
Index ¶
Functions ¶
func TLSVerifyFunc ¶
func TLSVerifyFunc(certData []byte) (func(rawCerts [][]byte, verifiedChains [][]*x509.Certificate) error, error)
TLSVerifyFunc takes a cert data byte slice and returns a function that can be passed to the tls.Config.VerifyPeerCertificate for pinning.
Source Files ¶
- Version
- v0.0.0-20240807000525-d8d7169c2ca2 (latest)
- Published
- Aug 7, 2024
- Platform
- linux/amd64
- Imports
- 4 packages
- Last checked
- 1 month ago –
Tools for package owners.