Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Bytes2StrUnsafe ¶
func GenerateCertificate ¶
func GenerateCertificate(dnsName string) (cert tls.Certificate, err error)
GenerateCertificate generates an ecdsa certificate with given dnsName. This should only use in test.
func InitQUICSrkFromIfaceMac ¶
A helper func to init quic stateless reset key. It use the first non-zero interface mac + sha256 hash.
func Str2BytesUnsafe ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.