Documentation
¶
Overview ¶
Package util contains various utilities.
TODO(a.garipov): Such packages are widely considered an antipattern. Remove this when we refactor our project structure.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitTLSCiphers ¶
func InitTLSCiphers() []uint16
InitTLSCiphers - the same as initDefaultCipherSuites() from src/crypto/tls/common.go
but with the difference that we don't use so many other default ciphers.
func LoadSystemRootCAs ¶
LoadSystemRootCAs - load root CAs from the system Return the x509 certificate pool object Return nil if nothing has been found.
This means that Go.crypto will use its default algorithm to find system root CA list.
https://github.com/AdguardTeam/AdGuardHome/internal/issues/1311
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.