MCPcopy Create free account

hub / github.com/refraction-networking/utls / functions

Functions1,354 in github.com/refraction-networking/utls

FunctionMustHaveCGO
MustHaveCGO calls t.Skip if cgo is not available.
testenv/testenv.go:248
FunctionMustHaveExecPath
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
FunctionMustHaveGoRun
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
FunctionMustHaveLink
MustHaveLink reports whether the current system can use os.Link. If not, MustHaveLink calls t.Skip with an explanation.
testenv/testenv.go:305
FunctionMustHaveSymlink
MustHaveSymlink reports whether the current system can use os.Symlink. If not, MustHaveSymlink calls t.Skip with an explanation.
testenv/testenv.go:288
FunctionMustInternalLink
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
MethodNetConn
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
FunctionNewKeySharesParameters
()
u_alias.go:23
FunctionNewRoller
NewRoller creates Roller object with default range of HelloIDs to cycle through until a working/unblocked one is found.
u_roller.go:20
MethodNextEvent
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
MethodOCSPResponse
OCSPResponse returns the stapled OCSP response from the TLS server, if any. (Only valid for client connections.)
conn.go:1678
MethodOpen
(out, nonce, ciphertext, additionalData []byte)
cipher_suites.go:472
MethodOpen
(aad, ciphertext []byte)
internal/hpke/hpke.go:281
MethodOverhead
()
cipher_suites.go:464
FunctionParseECNHeaderBits
(bits byte)
internal/quicvarint/protocol/protocol.go:52
MethodPatchBuiltHello
(hello *PubClientHelloMsg)
u_pre_shared_key.go:122
MethodPatchBuiltHello
(hello *PubClientHelloMsg)
u_pre_shared_key.go:264
MethodPatchBuiltHello
(*PubClientHelloMsg)
u_pre_shared_key.go:387
MethodPut
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
MethodPut
(sessionKey string, cs *ClientSessionState)
handshake_client_test.go:1084
MethodPut
(sessionKey string, cs *tls.ClientSessionState)
examples/tls-resumption/main.go:31
MethodQUICGetTransportParameters
()
u_quic.go:200
MethodQUICSetReadSecret
(level QUICEncryptionLevel, suite uint16, secret []byte)
u_quic.go:182
MethodQUICSetWriteSecret
(level QUICEncryptionLevel, suite uint16, secret []byte)
u_quic.go:191
MethodRange
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
FunctionRead
Read reads a number in the QUIC varint format from r.
internal/quicvarint/varint.go:30
MethodRead
(b []byte)
u_session_ticket.go:38
MethodRead
(p []byte)
conn.go:806
MethodRead
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
MethodRead
Read implements TLSExtension.
u_ech.go:280
MethodRead
(b []byte)
u_tls_extensions.go:137
MethodRead
(b []byte)
u_tls_extensions.go:219
MethodRead
(b []byte)
u_tls_extensions.go:271
MethodRead
(b []byte)
u_tls_extensions.go:347
MethodRead
(b []byte)
u_tls_extensions.go:408
MethodRead
(b []byte)
u_tls_extensions.go:488
MethodRead
(b []byte)
u_tls_extensions.go:537
MethodRead
(b []byte)
u_tls_extensions.go:627
MethodRead
(b []byte, supportedProtocols []string)
u_tls_extensions.go:708
MethodRead
(b []byte)
u_tls_extensions.go:769
MethodRead
(b []byte)
u_tls_extensions.go:808
MethodRead
(b []byte)
u_tls_extensions.go:849
MethodRead
(b []byte)
u_tls_extensions.go:884
MethodRead
(b []byte)
u_tls_extensions.go:936
MethodRead
(b []byte)
u_tls_extensions.go:993
MethodRead
(b []byte)
u_tls_extensions.go:1072
MethodRead
(b []byte)
u_tls_extensions.go:1159
MethodRead
(b []byte)
u_tls_extensions.go:1242
MethodRead
(b []byte)
u_tls_extensions.go:1353
MethodRead
(b []byte)
u_tls_extensions.go:1382
MethodRead
(b []byte)
u_tls_extensions.go:1459
MethodRead
(b []byte)
u_tls_extensions.go:1553
MethodRead
(b []byte)
u_tls_extensions.go:1606
MethodRead
(b []byte)
u_tls_extensions.go:1648
MethodRead
(b []byte)
u_tls_extensions.go:1720
MethodRead
(b []byte)
u_tls_extensions.go:1757
MethodRead
(b []byte)
u_tls_extensions.go:1811
MethodRead
(b []byte)
u_tls_extensions.go:1885
MethodRead
(buf []byte)
handshake_client_test.go:63
MethodRead
(b []byte)
example_test.go:20
MethodRead
(b []byte)
handshake_test.go:111
MethodRead
(b []byte)
handshake_test.go:239
MethodRead
(b []byte)
handshake_test.go:390
MethodRead
(b []byte)
tls_test.go:321
MethodRead
([]byte)
u_pre_shared_key.go:114
MethodRead
(b []byte)
u_pre_shared_key.go:257
MethodRead
(b []byte)
u_pre_shared_key.go:361
FunctionRunWithTimeout
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
MethodSeal
(out, nonce, plaintext, additionalData []byte)
cipher_suites.go:467
MethodSecret
()
internal/tls13/u_tls13.go:26
MethodSeed
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
MethodSendSessionTicket
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
MethodServerCertificates
Certificate chain presented by the server
u_public.go:735
MethodSessionTicket
Encrypted ticket used for session resumption with server
u_public.go:711
MethodSetAgeAdd
(ageAdd uint32)
u_public.go:804
MethodSetCipherSuite
(CipherSuite uint16)
u_public.go:755
MethodSetCreatedAt
(createdAt uint64)
u_public.go:762
MethodSetDeadline
(t time.Time)
handshake_test.go:295
MethodSetEMS
(ems bool)
u_public.go:776
MethodSetMasterSecret
(MasterSecret []byte)
u_public.go:769
MethodSetOmitEmptyPsk
(val bool)
u_pre_shared_key.go:126
MethodSetOmitEmptyPsk
(val bool)
u_pre_shared_key.go:253
MethodSetOmitEmptyPsk
(val bool)
u_pre_shared_key.go:357
MethodSetPskExtension
SetPskExtension sets the psk extension for tls 1.3 resumption. This is a no-op if the psk is nil.
u_conn.go:236
MethodSetReadDeadline
(t time.Time)
handshake_test.go:296
MethodSetServerCertificates
(ServerCertificates []*x509.Certificate)
u_public.go:783
MethodSetSessionCache
If you want session tickets to be reused - use same cache on following connections
u_conn.go:249
MethodSetSessionTicket
(SessionTicket []uint8)
u_public.go:744
MethodSetTransportParameters
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
MethodSetUseBy
(useBy uint64)
u_public.go:797
MethodSetVerifiedChains
(VerifiedChains [][]*x509.Certificate)
u_public.go:790
MethodSetVers
(Vers uint16)
u_public.go:748
MethodSetWriteDeadline
(t time.Time)
handshake_test.go:297
FunctionSkipFlaky
(t testing.TB, issue int)
testenv/testenv.go:313
FunctionSkipFlakyNet
(t testing.TB)
testenv/testenv.go:320
FunctionSkipIfShortAndSlow
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
MethodStart
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
MethodString
()
quic.go:24
MethodString
()
common_string.go:41
MethodString
()
common_string.go:87
← previousnext →801–900 of 1,354, ranked by callers