Documentation
¶
Overview ¶
Package certs provides embedded CERN CA certificates. Certificates are downloaded at build time by scripts/download_certs.sh and embedded into the binary using go:embed.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCERNCertPool ¶
GetCERNCertPool returns a new certificate pool containing CERN CA certificates. This does NOT include system certificates - use AppendToCertPool to add to an existing pool.
func GetCERNCertsBundle ¶
func GetCERNCertsBundle() []byte
GetCERNCertsBundle returns the concatenated CERN CA certificates as a PEM bundle.
func GetSystemWithCERNCertPool ¶
GetSystemWithCERNCertPool returns a certificate pool containing both the system's trusted certificates and CERN CA certificates.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.