Documentation ¶
Index ¶
- Constants
- func FromTLSEncryptionLevel(e tls.QUICEncryptionLevel) protocol.EncryptionLevel
- func SendSessionTicket(c *QUICConn, allow0RTT bool) error
- func SetCipherSuite(id uint16) (reset func())
- func SetupConfigForClient(qconf *QUICConfig, getData func() []byte, setData func([]byte) bool)
- func SetupConfigForServer(qconf *QUICConfig, _ bool, getData func() []byte, ...)
- func ToTLSEncryptionLevel(e protocol.EncryptionLevel) tls.QUICEncryptionLevel
- type AlertError
- type QUICConfig
- type QUICConn
- type QUICEncryptionLevel
- type QUICEvent
- type QUICEventKind
- type QUICSessionTicketOptions
Constants ¶
View Source
const ( QUICEncryptionLevelInitial = tls.QUICEncryptionLevelInitial QUICEncryptionLevelEarly = tls.QUICEncryptionLevelEarly QUICEncryptionLevelHandshake = tls.QUICEncryptionLevelHandshake QUICEncryptionLevelApplication = tls.QUICEncryptionLevelApplication )
View Source
const ( QUICNoEvent = tls.QUICNoEvent QUICSetReadSecret = tls.QUICSetReadSecret QUICSetWriteSecret = tls.QUICSetWriteSecret QUICWriteData = tls.QUICWriteData QUICTransportParameters = tls.QUICTransportParameters QUICTransportParametersRequired = tls.QUICTransportParametersRequired QUICRejectedEarlyData = tls.QUICRejectedEarlyData QUICHandshakeDone = tls.QUICHandshakeDone )
Variables ¶
This section is empty.
Functions ¶
func FromTLSEncryptionLevel ¶ added in v0.37.0
func FromTLSEncryptionLevel(e tls.QUICEncryptionLevel) protocol.EncryptionLevel
func SendSessionTicket ¶ added in v0.37.4
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 SetupConfigForClient(qconf *QUICConfig, getData func() []byte, setData func([]byte) bool)
func SetupConfigForServer ¶ added in v0.37.0
func ToTLSEncryptionLevel ¶ added in v0.37.0
func ToTLSEncryptionLevel(e protocol.EncryptionLevel) tls.QUICEncryptionLevel
Types ¶
type AlertError ¶ added in v0.37.0
type AlertError = tls.AlertError
type QUICConfig ¶ added in v0.37.0
type QUICConfig = tls.QUICConfig
type QUICConn ¶ added in v0.37.0
func QUICClient ¶ added in v0.37.0
func QUICClient(config *QUICConfig) *QUICConn
func QUICServer ¶ added in v0.37.0
func QUICServer(config *QUICConfig) *QUICConn
type QUICEncryptionLevel ¶ added in v0.37.0
type QUICEncryptionLevel = tls.QUICEncryptionLevel
type QUICEventKind ¶ added in v0.37.0
type QUICEventKind = tls.QUICEventKind
type QUICSessionTicketOptions ¶ added in v0.37.4
type QUICSessionTicketOptions = tls.QUICSessionTicketOptions
Click to show internal directories.
Click to hide internal directories.