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
TestHandshakeServerEmptyCertificates
TestHandshakeServerEmptyCertificates tests that GetCertificates is called in the case that Certificates is empty, even without SNI.
handshake_server_test.go:1155
Function
TestHandshakeServerExportKeyingMaterial
(t *testing.T)
handshake_server_test.go:1280
Function
TestHandshakeServerGetCertificateExtensions
TestHandshakeServerGetCertificateExtensions tests to make sure that the Extensions passed to GetCertificate match what we expect based on the clientHe
handshake_server_test.go:1077
Function
TestHandshakeServerHelloRetryRequest
(t *testing.T)
handshake_server_test.go:907
Function
TestHandshakeServerKeySharePreference
TestHandshakeServerKeySharePreference checks that we prefer a key share even if it's later in the CurvePreferences order.
handshake_server_test.go:927
Function
TestHandshakeServerP256
(t *testing.T)
handshake_server_test.go:894
Function
TestHandshakeServerRSA3DES
(t *testing.T)
handshake_server_test.go:808
Function
TestHandshakeServerRSAAES
(t *testing.T)
handshake_server_test.go:817
Function
TestHandshakeServerRSAPKCS1v15
(t *testing.T)
handshake_server_test.go:1299
Function
TestHandshakeServerRSAPSS
(t *testing.T)
handshake_server_test.go:1307
Function
TestHandshakeServerRSARC4
(t *testing.T)
handshake_server_test.go:798
Function
TestHandshakeServerSNI
TestHandshakeServerSNI involves a client sending an SNI extension of "snitest.com", which happens to match the CN of testSNICertificate. The test veri
handshake_server_test.go:1028
Function
TestHandshakeServerSNIGetCertificate
TestHandshakeServerSNIGetCertificate is similar to TestHandshakeServerSNI, but tests the dynamic GetCertificate method
handshake_server_test.go:1038
Function
TestHandshakeServerSNIGetCertificateError
TestHandshakeServerSNIGetCertificateError tests to make sure that errors in GetCertificate result in a tls alert.
handshake_server_test.go:1135
Function
TestHandshakeServerSNIGetCertificateNotFound
TestHandshakeServerSNIGetCertificateNotFound is similar to TestHandshakeServerSNICertForName, but tests to make sure that when the GetCertificate meth
handshake_server_test.go:1060
Function
TestHandshakeServerX25519
(t *testing.T)
handshake_server_test.go:881
Function
TestHostnameInSNI
(t *testing.T)
handshake_client_test.go:1482
Function
TestKeyLogTLS12
(t *testing.T)
handshake_client_test.go:1159
Function
TestKeyLogTLS13
(t *testing.T)
handshake_client_test.go:1212
Function
TestKeyTooSmallForRSAPSS
(t *testing.T)
handshake_server_test.go:1718
Function
TestKeysFromPreMasterSecret
(t *testing.T)
prf_test.go:48
Function
TestLRUClientSessionCache
(t *testing.T)
handshake_client_test.go:1102
Function
TestLargeCertMsg
(t *testing.T)
tls_test.go:2033
Function
TestLegacyTypeAndHash
(t *testing.T)
auth_test.go:130
Function
TestLinkerGC
Tests that the linker is able to remove references to the Client or Server if unused.
link_test.go:18
Function
TestMain
(m *testing.M)
handshake_test.go:406
Function
TestMarshal
(t *testing.T)
u_quic_transport_parameters_test.go:8
Function
TestMarshalUnmarshal
(t *testing.T)
handshake_messages_test.go:51
Function
TestMultipleCertificates
(t *testing.T)
handshake_server_test.go:1758
Function
TestNoCompressionOverlap
(t *testing.T)
handshake_server_test.go:132
Function
TestNoRC4ByDefault
(t *testing.T)
handshake_server_test.go:142
Function
TestNoSuiteOverlap
(t *testing.T)
handshake_server_test.go:122
Function
TestPKCS1OnlyCert
TestPKCS1OnlyCert uses a client certificate with a broken crypto.Signer that always makes PKCS #1 v1.5 signatures, so can't be used with RSA-PSS.
tls_test.go:1695
Function
TestQUICCanceledWaitingForData
(t *testing.T)
quic_test.go:482
Function
TestQUICCanceledWaitingForTransportParams
(t *testing.T)
quic_test.go:496
Function
TestQUICConnection
(t *testing.T)
quic_test.go:161
Function
TestQUICConnectionState
Test that QUICConn.ConnectionState can be used during the handshake, and that it reports the application protocol as soon as it has been negotiated.
quic_test.go:367
Function
TestQUICDelayedTransportParameters
(t *testing.T)
quic_test.go:422
Function
TestQUICEarlyData
(t *testing.T)
quic_test.go:509
Function
TestQUICEarlyDataDeclined
(t *testing.T)
quic_test.go:562
Function
TestQUICEmptyTransportParameters
(t *testing.T)
quic_test.go:456
Function
TestQUICFragmentaryData
(t *testing.T)
quic_test.go:235
Function
TestQUICHandshakeError
(t *testing.T)
quic_test.go:341
Function
TestQUICPostHandshakeClientAuthentication
(t *testing.T)
quic_test.go:266
Function
TestQUICPostHandshakeKeyUpdate
(t *testing.T)
quic_test.go:294
Function
TestQUICPostHandshakeMessageTooLarge
(t *testing.T)
quic_test.go:319
Function
TestQUICSessionResumption
(t *testing.T)
quic_test.go:203
Function
TestQUICStartContextPropagation
(t *testing.T)
quic_test.go:395
Function
TestRSAPSSKeyError
(t *testing.T)
handshake_client_test.go:2446
Function
TestRecordBadVersionTLS13
(t *testing.T)
conn_test.go:293
Function
TestRejectBadProtocolVersion
(t *testing.T)
handshake_server_test.go:106
Function
TestRejectDuplicateExtensions
(t *testing.T)
handshake_messages_test.go:584
Function
TestRejectEmptySCT
(t *testing.T)
handshake_messages_test.go:566
Function
TestRejectEmptySCTList
(t *testing.T)
handshake_messages_test.go:523
Function
TestRejectSNIWithTrailingDot
(t *testing.T)
handshake_server_test.go:156
Function
TestRemovePadding
(t *testing.T)
conn_test.go:49
Function
TestRenegotiateOnce
(t *testing.T)
handshake_client_test.go:1386
Function
TestRenegotiateTwice
(t *testing.T)
handshake_client_test.go:1400
Function
TestRenegotiateTwiceRejected
(t *testing.T)
handshake_client_test.go:1414
Function
TestRenegotiationExtension
(t *testing.T)
handshake_server_test.go:215
Function
TestRenegotiationRejected
(t *testing.T)
handshake_client_test.go:1365
Function
TestResumption
(t *testing.T)
handshake_client_test.go:844
Function
TestResumptionKeepsOCSPAndSCT
(t *testing.T)
handshake_client_test.go:2553
Function
TestRoundUp
(t *testing.T)
conn_test.go:14
Function
TestSCTHandshake
(t *testing.T)
handshake_server_test.go:481
Function
TestSNIGivenOnFailure
(t *testing.T)
handshake_server_test.go:1498
Function
TestServerHandshakeContextCancellation
TestServerHandshakeContextCancellation tests that canceling the context given to the server side conn.HandshakeContext interrupts the in-progress hand
handshake_server_test.go:2029
Function
TestServerResumption
(t *testing.T)
handshake_server_test.go:1185
Function
TestServerResumptionDisabled
(t *testing.T)
handshake_server_test.go:1230
Function
TestServerSelectingUnconfiguredApplicationProtocol
(t *testing.T)
handshake_client_test.go:1275
Function
TestServerSelectingUnconfiguredCipherSuite
(t *testing.T)
handshake_client_test.go:1518
Function
TestSignatureSelection
(t *testing.T)
auth_test.go:14
Function
TestSimpleError
(t *testing.T)
handshake_server_test.go:100
Function
TestSkipBadConfigs
(t *testing.T)
ech_test.go:35
Function
TestSplitPreMasterSecret
(t *testing.T)
prf_test.go:24
Function
TestSupportedSignatureAlgorithms
TestSupportedSignatureAlgorithms checks that all supportedSignatureAlgorithms have valid type and hash information.
auth_test.go:162
Function
TestTLS12OnlyCipherSuites
(t *testing.T)
handshake_server_test.go:269
Function
TestTLS13ECHRejectionCallbacks
(t *testing.T)
handshake_client_test.go:2813
Function
TestTLS13OnlyClientHelloCipherSuite
TestTLS13OnlyClientHelloCipherSuite tests that when a client states that it only supports TLS 1.3, it correctly advertises only TLS 1.3 ciphers.
handshake_client_test.go:2670
Function
TestTLSPointFormats
(t *testing.T)
handshake_server_test.go:323
Function
TestTLSUniqueMatches
(t *testing.T)
tls_test.go:448
Function
TestTrafficKey
(t *testing.T)
key_schedule_test.go:102
Function
TestUTLSECH
(t *testing.T)
u_conn_test.go:747
Function
TestUTLSEmptyServerName
(t *testing.T)
u_conn_test.go:221
Function
TestUTLSFingerprintClientHello
(t *testing.T)
u_fingerprinter_test.go:236
Function
TestUTLSFingerprintClientHelloAlwaysAddPadding
(t *testing.T)
u_fingerprinter_test.go:293
Function
TestUTLSFingerprintClientHelloBluntMimicry
(t *testing.T)
u_fingerprinter_test.go:250
Function
TestUTLSFingerprintClientHelloKeepPSK
(t *testing.T)
u_fingerprinter_test.go:375
Function
TestUTLSHandshakeClientFingerprintedSpecFromChrome_58
(t *testing.T)
u_fingerprinter_test.go:518
Function
TestUTLSHandshakeClientFingerprintedSpecFromChrome_70
(t *testing.T)
u_fingerprinter_test.go:553
Function
TestUTLSHandshakeClientFingerprintedSpecFromRaw
(t *testing.T)
u_fingerprinter_test.go:589
Function
TestUTLSHandshakeClientParrotChrome_58
(t *testing.T)
u_conn_test.go:98
Function
TestUTLSHandshakeClientParrotChrome_58_setclienthello
(t *testing.T)
u_conn_test.go:159
Function
TestUTLSHandshakeClientParrotChrome_70
(t *testing.T)
u_conn_test.go:78
Function
TestUTLSHandshakeClientParrotFirefox_55
(t *testing.T)
u_conn_test.go:140
Function
TestUTLSHandshakeClientParrotFirefox_63
(t *testing.T)
u_conn_test.go:117
Function
TestUTLSHandshakeClientParrotGolang
(t *testing.T)
u_conn_test.go:60
Function
TestUTLSHelloRetryRequest
tests consistency of fingerprint after HelloRetryRequest chrome 70 is used, due to only specifying X25519 in keyshare, but being able to generate P-25
u_conn_test.go:176
Function
TestUTLSIsGrease
(t *testing.T)
u_common_test.go:11
Function
TestUTLSMakeConnWithCompleteHandshake
(t *testing.T)
u_conn_test.go:706
← previous
next →
1,001–1,100 of 1,354, ranked by callers