Documentation ¶
Index ¶
- func FromTLSEncryptionLevel(e tls.QUICEncryptionLevel) protocol.EncryptionLevel
- func SetCipherSuite(id uint16) (reset func())
- func SetupConfigForClient(qconf *tls.QUICConfig, getData func(earlyData bool) []byte, ...)
- func SetupConfigForServer(qconf *tls.QUICConfig, _ bool, getData func() []byte, ...)
- func ToTLSEncryptionLevel(e protocol.EncryptionLevel) tls.QUICEncryptionLevel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromTLSEncryptionLevel ¶ added in v0.37.0
func FromTLSEncryptionLevel(e tls.QUICEncryptionLevel) protocol.EncryptionLevel
func SetCipherSuite ¶ added in v0.34.0
func SetCipherSuite(id uint16) (reset func())
SetCipherSuite modifies the cipherSuiteTLS13 slice of cipher suites inside qtls such that it only contains the cipher suite with the chosen id. The reset function returned resets them back to the original value.
func SetupConfigForClient ¶ added in v0.37.0
func SetupConfigForServer ¶ added in v0.37.0
func ToTLSEncryptionLevel ¶ added in v0.37.0
func ToTLSEncryptionLevel(e protocol.EncryptionLevel) tls.QUICEncryptionLevel
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.