Documentation ¶
Index ¶
- Constants
- func AEADAESGCMTLS13(key, fixedNonce []byte) cipher.AEAD
- func ToTLSConnectionState(cs ConnectionState) tls.ConnectionState
- type Alert
- type Certificate
- type CertificateRequestInfo
- type CipherSuiteTLS13
- type ClientHelloInfo
- type ClientSessionCache
- type ClientSessionState
- type Config
- type Conn
- type ConnectionState
- type EncryptionLevel
- type Extension
- type ExtraConfig
- type RecordLayer
Constants ¶
View Source
const ( // EncryptionHandshake is the Handshake encryption level EncryptionHandshake = qtls.EncryptionHandshake // Encryption0RTT is the 0-RTT encryption level Encryption0RTT = qtls.Encryption0RTT // EncryptionApplication is the application data encryption level EncryptionApplication = qtls.EncryptionApplication )
Variables ¶
This section is empty.
Functions ¶
func AEADAESGCMTLS13 ¶
AEADAESGCMTLS13 creates a new AES-GCM AEAD for TLS 1.3
func ToTLSConnectionState ¶
func ToTLSConnectionState(cs ConnectionState) tls.ConnectionState
ToTLSConnectionState extracts the tls.ConnectionState
Types ¶
type CertificateRequestInfo ¶
type CertificateRequestInfo = qtls.CertificateRequestInfo
CertificateRequestInfo contains inforamtion about a certificate request.
type CipherSuiteTLS13 ¶
type CipherSuiteTLS13 = qtls.CipherSuiteTLS13
A CipherSuiteTLS13 is a cipher suite for TLS 1.3
func CipherSuiteTLS13ByID ¶
func CipherSuiteTLS13ByID(id uint16) *CipherSuiteTLS13
CipherSuiteTLS13ByID gets a TLS 1.3 cipher suite.
type ClientHelloInfo ¶
type ClientHelloInfo = qtls.ClientHelloInfo
ClientHelloInfo contains information about a ClientHello.
type ClientSessionCache ¶
type ClientSessionCache = qtls.ClientSessionCache
ClientSessionCache is a cache used for session resumption.
type ClientSessionState ¶
type ClientSessionState = qtls.ClientSessionState
ClientSessionState is a state needed for session resumption.
type Conn ¶
type Conn = qtls.Conn
A Conn is a qtls.Conn.
type ConnectionState ¶
type ConnectionState = qtls.ConnectionStateWith0RTT
ConnectionState contains information about the state of the connection.
func GetConnectionState ¶
func GetConnectionState(conn *Conn) ConnectionState
type EncryptionLevel ¶
type EncryptionLevel = qtls.EncryptionLevel
EncryptionLevel is the encryption level of a message.
Click to show internal directories.
Click to hide internal directories.