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 ¶
func FromTLSEncryptionLevel(e tls.QUICEncryptionLevel) protocol.EncryptionLevel
func SetCipherSuite ¶
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 ¶
func SetupConfigForServer ¶
func ToTLSEncryptionLevel ¶
func ToTLSEncryptionLevel(e protocol.EncryptionLevel) tls.QUICEncryptionLevel
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.