Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/refraction-networking/utls
/ functions
Functions
1,354 in github.com/refraction-networking/utls
⨍
Functions
1,354
◇
Types & classes
248
Function
MustHaveCGO
MustHaveCGO calls t.Skip if cgo is not available.
testenv/testenv.go:248
Function
MustHaveExecPath
path -> error MustHaveExecPath checks that the current system can start the named executable using os.StartProcess or (more commonly) exec.Command. If
testenv/testenv.go:209
Function
MustHaveGoRun
MustHaveGoRun checks that the current system can run programs with ``go run.'' If not, MustHaveGoRun calls t.Skip with an explanation.
testenv/testenv.go:131
Function
MustHaveLink
MustHaveLink reports whether the current system can use os.Link. If not, MustHaveLink calls t.Skip with an explanation.
testenv/testenv.go:305
Function
MustHaveSymlink
MustHaveSymlink reports whether the current system can use os.Symlink. If not, MustHaveSymlink calls t.Skip with an explanation.
testenv/testenv.go:288
Function
MustInternalLink
MustInternalLink checks that the current system can link programs with internal linking. If not, MustInternalLink calls t.Skip with an explanation.
testenv/testenv.go:274
Method
NetConn
NetConn returns the underlying connection that is wrapped by c. Note that writing to or reading from this connection directly will corrupt the TLS ses
conn.go:166
Function
NewKeySharesParameters
()
u_alias.go:23
Function
NewRoller
NewRoller creates Roller object with default range of HelloIDs to cycle through until a working/unblocked one is found.
u_roller.go:20
Method
NextEvent
NextEvent returns the next event occurring on the connection. It returns an event with a Kind of QUICNoEvent when no events are available.
u_quic.go:67
Method
OCSPResponse
OCSPResponse returns the stapled OCSP response from the TLS server, if any. (Only valid for client connections.)
conn.go:1678
Method
Open
(out, nonce, ciphertext, additionalData []byte)
cipher_suites.go:472
Method
Open
(aad, ciphertext []byte)
internal/hpke/hpke.go:281
Method
Overhead
()
cipher_suites.go:464
Function
ParseECNHeaderBits
(bits byte)
internal/quicvarint/protocol/protocol.go:52
Method
PatchBuiltHello
(hello *PubClientHelloMsg)
u_pre_shared_key.go:122
Method
PatchBuiltHello
(hello *PubClientHelloMsg)
u_pre_shared_key.go:264
Method
PatchBuiltHello
(*PubClientHelloMsg)
u_pre_shared_key.go:387
Method
Put
Put adds the provided (sessionKey, cs) pair to the cache. If cs is nil, the entry corresponding to sessionKey is removed from the cache instead.
common.go:1680
Method
Put
(sessionKey string, cs *ClientSessionState)
handshake_client_test.go:1084
Method
Put
(sessionKey string, cs *tls.ClientSessionState)
examples/tls-resumption/main.go:31
Method
QUICGetTransportParameters
()
u_quic.go:200
Method
QUICSetReadSecret
(level QUICEncryptionLevel, suite uint16, secret []byte)
u_quic.go:182
Method
QUICSetWriteSecret
(level QUICEncryptionLevel, suite uint16, secret []byte)
u_quic.go:191
Method
Range
Range selects a random integer in [min, max]. If min < 0, min is set to 0. If max < min, min is returned.
u_prng.go:178
Function
Read
Read reads a number in the QUIC varint format from r.
internal/quicvarint/varint.go:30
Method
Read
(b []byte)
u_session_ticket.go:38
Method
Read
(p []byte)
conn.go:806
Method
Read
Read reads data from the connection. As Read calls [Conn.Handshake], in order to prevent indefinite blocking a deadline must be set for both Read and
conn.go:1381
Method
Read
Read implements TLSExtension.
u_ech.go:280
Method
Read
(b []byte)
u_tls_extensions.go:137
Method
Read
(b []byte)
u_tls_extensions.go:219
Method
Read
(b []byte)
u_tls_extensions.go:271
Method
Read
(b []byte)
u_tls_extensions.go:347
Method
Read
(b []byte)
u_tls_extensions.go:408
Method
Read
(b []byte)
u_tls_extensions.go:488
Method
Read
(b []byte)
u_tls_extensions.go:537
Method
Read
(b []byte)
u_tls_extensions.go:627
Method
Read
(b []byte, supportedProtocols []string)
u_tls_extensions.go:708
Method
Read
(b []byte)
u_tls_extensions.go:769
Method
Read
(b []byte)
u_tls_extensions.go:808
Method
Read
(b []byte)
u_tls_extensions.go:849
Method
Read
(b []byte)
u_tls_extensions.go:884
Method
Read
(b []byte)
u_tls_extensions.go:936
Method
Read
(b []byte)
u_tls_extensions.go:993
Method
Read
(b []byte)
u_tls_extensions.go:1072
Method
Read
(b []byte)
u_tls_extensions.go:1159
Method
Read
(b []byte)
u_tls_extensions.go:1242
Method
Read
(b []byte)
u_tls_extensions.go:1353
Method
Read
(b []byte)
u_tls_extensions.go:1382
Method
Read
(b []byte)
u_tls_extensions.go:1459
Method
Read
(b []byte)
u_tls_extensions.go:1553
Method
Read
(b []byte)
u_tls_extensions.go:1606
Method
Read
(b []byte)
u_tls_extensions.go:1648
Method
Read
(b []byte)
u_tls_extensions.go:1720
Method
Read
(b []byte)
u_tls_extensions.go:1757
Method
Read
(b []byte)
u_tls_extensions.go:1811
Method
Read
(b []byte)
u_tls_extensions.go:1885
Method
Read
(buf []byte)
handshake_client_test.go:63
Method
Read
(b []byte)
example_test.go:20
Method
Read
(b []byte)
handshake_test.go:111
Method
Read
(b []byte)
handshake_test.go:239
Method
Read
(b []byte)
handshake_test.go:390
Method
Read
(b []byte)
tls_test.go:321
Method
Read
([]byte)
u_pre_shared_key.go:114
Method
Read
(b []byte)
u_pre_shared_key.go:257
Method
Read
(b []byte)
u_pre_shared_key.go:361
Function
RunWithTimeout
RunWithTimeout runs cmd and returns its combined output. If the subprocess exits with a non-zero status, it will log that status and return a non-nil
testenv/testenv.go:372
Method
Seal
(out, nonce, plaintext, additionalData []byte)
cipher_suites.go:467
Method
Secret
()
internal/tls13/u_tls13.go:26
Method
Seed
Seed must exist in order to use a PRNG as a math/rand.Source. This call is not supported and ignored.
u_prng.go:135
Method
SendSessionTicket
SendSessionTicket sends a session ticket to the client. It produces connection events, which may be read with NextEvent. Currently, it can only be cal
u_quic.go:139
Method
ServerCertificates
Certificate chain presented by the server
u_public.go:735
Method
SessionTicket
Encrypted ticket used for session resumption with server
u_public.go:711
Method
SetAgeAdd
(ageAdd uint32)
u_public.go:804
Method
SetCipherSuite
(CipherSuite uint16)
u_public.go:755
Method
SetCreatedAt
(createdAt uint64)
u_public.go:762
Method
SetDeadline
(t time.Time)
handshake_test.go:295
Method
SetEMS
(ems bool)
u_public.go:776
Method
SetMasterSecret
(MasterSecret []byte)
u_public.go:769
Method
SetOmitEmptyPsk
(val bool)
u_pre_shared_key.go:126
Method
SetOmitEmptyPsk
(val bool)
u_pre_shared_key.go:253
Method
SetOmitEmptyPsk
(val bool)
u_pre_shared_key.go:357
Method
SetPskExtension
SetPskExtension sets the psk extension for tls 1.3 resumption. This is a no-op if the psk is nil.
u_conn.go:236
Method
SetReadDeadline
(t time.Time)
handshake_test.go:296
Method
SetServerCertificates
(ServerCertificates []*x509.Certificate)
u_public.go:783
Method
SetSessionCache
If you want session tickets to be reused - use same cache on following connections
u_conn.go:249
Method
SetSessionTicket
(SessionTicket []uint8)
u_public.go:744
Method
SetTransportParameters
SetTransportParameters sets the transport parameters to send to the peer. Server connections may delay setting the transport parameters until after r
u_quic.go:163
Method
SetUseBy
(useBy uint64)
u_public.go:797
Method
SetVerifiedChains
(VerifiedChains [][]*x509.Certificate)
u_public.go:790
Method
SetVers
(Vers uint16)
u_public.go:748
Method
SetWriteDeadline
(t time.Time)
handshake_test.go:297
Function
SkipFlaky
(t testing.TB, issue int)
testenv/testenv.go:313
Function
SkipFlakyNet
(t testing.TB)
testenv/testenv.go:320
Function
SkipIfShortAndSlow
SkipIfShortAndSlow skips t if -short is set and the CPU running the test is suspected to be slow. (This is useful for CPU-intensive tests that otherw
testenv/testenv.go:362
Method
Start
Start starts the client or server handshake protocol. It may produce connection events, which may be read with NextEvent. Start must be called at mos
u_quic.go:46
Method
String
()
quic.go:24
Method
String
()
common_string.go:41
Method
String
()
common_string.go:87
← previous
next →
801–900 of 1,354, ranked by callers