MCPcopy Create free account

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

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

FunctionTestHandshakeServerEmptyCertificates
TestHandshakeServerEmptyCertificates tests that GetCertificates is called in the case that Certificates is empty, even without SNI.
handshake_server_test.go:1155
FunctionTestHandshakeServerExportKeyingMaterial
(t *testing.T)
handshake_server_test.go:1280
FunctionTestHandshakeServerGetCertificateExtensions
TestHandshakeServerGetCertificateExtensions tests to make sure that the Extensions passed to GetCertificate match what we expect based on the clientHe
handshake_server_test.go:1077
FunctionTestHandshakeServerHelloRetryRequest
(t *testing.T)
handshake_server_test.go:907
FunctionTestHandshakeServerKeySharePreference
TestHandshakeServerKeySharePreference checks that we prefer a key share even if it's later in the CurvePreferences order.
handshake_server_test.go:927
FunctionTestHandshakeServerP256
(t *testing.T)
handshake_server_test.go:894
FunctionTestHandshakeServerRSA3DES
(t *testing.T)
handshake_server_test.go:808
FunctionTestHandshakeServerRSAAES
(t *testing.T)
handshake_server_test.go:817
FunctionTestHandshakeServerRSAPKCS1v15
(t *testing.T)
handshake_server_test.go:1299
FunctionTestHandshakeServerRSAPSS
(t *testing.T)
handshake_server_test.go:1307
FunctionTestHandshakeServerRSARC4
(t *testing.T)
handshake_server_test.go:798
FunctionTestHandshakeServerSNI
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
FunctionTestHandshakeServerSNIGetCertificate
TestHandshakeServerSNIGetCertificate is similar to TestHandshakeServerSNI, but tests the dynamic GetCertificate method
handshake_server_test.go:1038
FunctionTestHandshakeServerSNIGetCertificateError
TestHandshakeServerSNIGetCertificateError tests to make sure that errors in GetCertificate result in a tls alert.
handshake_server_test.go:1135
FunctionTestHandshakeServerSNIGetCertificateNotFound
TestHandshakeServerSNIGetCertificateNotFound is similar to TestHandshakeServerSNICertForName, but tests to make sure that when the GetCertificate meth
handshake_server_test.go:1060
FunctionTestHandshakeServerX25519
(t *testing.T)
handshake_server_test.go:881
FunctionTestHostnameInSNI
(t *testing.T)
handshake_client_test.go:1482
FunctionTestKeyLogTLS12
(t *testing.T)
handshake_client_test.go:1159
FunctionTestKeyLogTLS13
(t *testing.T)
handshake_client_test.go:1212
FunctionTestKeyTooSmallForRSAPSS
(t *testing.T)
handshake_server_test.go:1718
FunctionTestKeysFromPreMasterSecret
(t *testing.T)
prf_test.go:48
FunctionTestLRUClientSessionCache
(t *testing.T)
handshake_client_test.go:1102
FunctionTestLargeCertMsg
(t *testing.T)
tls_test.go:2033
FunctionTestLegacyTypeAndHash
(t *testing.T)
auth_test.go:130
FunctionTestLinkerGC
Tests that the linker is able to remove references to the Client or Server if unused.
link_test.go:18
FunctionTestMain
(m *testing.M)
handshake_test.go:406
FunctionTestMarshal
(t *testing.T)
u_quic_transport_parameters_test.go:8
FunctionTestMarshalUnmarshal
(t *testing.T)
handshake_messages_test.go:51
FunctionTestMultipleCertificates
(t *testing.T)
handshake_server_test.go:1758
FunctionTestNoCompressionOverlap
(t *testing.T)
handshake_server_test.go:132
FunctionTestNoRC4ByDefault
(t *testing.T)
handshake_server_test.go:142
FunctionTestNoSuiteOverlap
(t *testing.T)
handshake_server_test.go:122
FunctionTestPKCS1OnlyCert
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
FunctionTestQUICCanceledWaitingForData
(t *testing.T)
quic_test.go:482
FunctionTestQUICCanceledWaitingForTransportParams
(t *testing.T)
quic_test.go:496
FunctionTestQUICConnection
(t *testing.T)
quic_test.go:161
FunctionTestQUICConnectionState
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
FunctionTestQUICDelayedTransportParameters
(t *testing.T)
quic_test.go:422
FunctionTestQUICEarlyData
(t *testing.T)
quic_test.go:509
FunctionTestQUICEarlyDataDeclined
(t *testing.T)
quic_test.go:562
FunctionTestQUICEmptyTransportParameters
(t *testing.T)
quic_test.go:456
FunctionTestQUICFragmentaryData
(t *testing.T)
quic_test.go:235
FunctionTestQUICHandshakeError
(t *testing.T)
quic_test.go:341
FunctionTestQUICPostHandshakeClientAuthentication
(t *testing.T)
quic_test.go:266
FunctionTestQUICPostHandshakeKeyUpdate
(t *testing.T)
quic_test.go:294
FunctionTestQUICPostHandshakeMessageTooLarge
(t *testing.T)
quic_test.go:319
FunctionTestQUICSessionResumption
(t *testing.T)
quic_test.go:203
FunctionTestQUICStartContextPropagation
(t *testing.T)
quic_test.go:395
FunctionTestRSAPSSKeyError
(t *testing.T)
handshake_client_test.go:2446
FunctionTestRecordBadVersionTLS13
(t *testing.T)
conn_test.go:293
FunctionTestRejectBadProtocolVersion
(t *testing.T)
handshake_server_test.go:106
FunctionTestRejectDuplicateExtensions
(t *testing.T)
handshake_messages_test.go:584
FunctionTestRejectEmptySCT
(t *testing.T)
handshake_messages_test.go:566
FunctionTestRejectEmptySCTList
(t *testing.T)
handshake_messages_test.go:523
FunctionTestRejectSNIWithTrailingDot
(t *testing.T)
handshake_server_test.go:156
FunctionTestRemovePadding
(t *testing.T)
conn_test.go:49
FunctionTestRenegotiateOnce
(t *testing.T)
handshake_client_test.go:1386
FunctionTestRenegotiateTwice
(t *testing.T)
handshake_client_test.go:1400
FunctionTestRenegotiateTwiceRejected
(t *testing.T)
handshake_client_test.go:1414
FunctionTestRenegotiationExtension
(t *testing.T)
handshake_server_test.go:215
FunctionTestRenegotiationRejected
(t *testing.T)
handshake_client_test.go:1365
FunctionTestResumption
(t *testing.T)
handshake_client_test.go:844
FunctionTestResumptionKeepsOCSPAndSCT
(t *testing.T)
handshake_client_test.go:2553
FunctionTestRoundUp
(t *testing.T)
conn_test.go:14
FunctionTestSCTHandshake
(t *testing.T)
handshake_server_test.go:481
FunctionTestSNIGivenOnFailure
(t *testing.T)
handshake_server_test.go:1498
FunctionTestServerHandshakeContextCancellation
TestServerHandshakeContextCancellation tests that canceling the context given to the server side conn.HandshakeContext interrupts the in-progress hand
handshake_server_test.go:2029
FunctionTestServerResumption
(t *testing.T)
handshake_server_test.go:1185
FunctionTestServerResumptionDisabled
(t *testing.T)
handshake_server_test.go:1230
FunctionTestServerSelectingUnconfiguredApplicationProtocol
(t *testing.T)
handshake_client_test.go:1275
FunctionTestServerSelectingUnconfiguredCipherSuite
(t *testing.T)
handshake_client_test.go:1518
FunctionTestSignatureSelection
(t *testing.T)
auth_test.go:14
FunctionTestSimpleError
(t *testing.T)
handshake_server_test.go:100
FunctionTestSkipBadConfigs
(t *testing.T)
ech_test.go:35
FunctionTestSplitPreMasterSecret
(t *testing.T)
prf_test.go:24
FunctionTestSupportedSignatureAlgorithms
TestSupportedSignatureAlgorithms checks that all supportedSignatureAlgorithms have valid type and hash information.
auth_test.go:162
FunctionTestTLS12OnlyCipherSuites
(t *testing.T)
handshake_server_test.go:269
FunctionTestTLS13ECHRejectionCallbacks
(t *testing.T)
handshake_client_test.go:2813
FunctionTestTLS13OnlyClientHelloCipherSuite
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
FunctionTestTLSPointFormats
(t *testing.T)
handshake_server_test.go:323
FunctionTestTLSUniqueMatches
(t *testing.T)
tls_test.go:448
FunctionTestTrafficKey
(t *testing.T)
key_schedule_test.go:102
FunctionTestUTLSECH
(t *testing.T)
u_conn_test.go:747
FunctionTestUTLSEmptyServerName
(t *testing.T)
u_conn_test.go:221
FunctionTestUTLSFingerprintClientHello
(t *testing.T)
u_fingerprinter_test.go:236
FunctionTestUTLSFingerprintClientHelloAlwaysAddPadding
(t *testing.T)
u_fingerprinter_test.go:293
FunctionTestUTLSFingerprintClientHelloBluntMimicry
(t *testing.T)
u_fingerprinter_test.go:250
FunctionTestUTLSFingerprintClientHelloKeepPSK
(t *testing.T)
u_fingerprinter_test.go:375
FunctionTestUTLSHandshakeClientFingerprintedSpecFromChrome_58
(t *testing.T)
u_fingerprinter_test.go:518
FunctionTestUTLSHandshakeClientFingerprintedSpecFromChrome_70
(t *testing.T)
u_fingerprinter_test.go:553
FunctionTestUTLSHandshakeClientFingerprintedSpecFromRaw
(t *testing.T)
u_fingerprinter_test.go:589
FunctionTestUTLSHandshakeClientParrotChrome_58
(t *testing.T)
u_conn_test.go:98
FunctionTestUTLSHandshakeClientParrotChrome_58_setclienthello
(t *testing.T)
u_conn_test.go:159
FunctionTestUTLSHandshakeClientParrotChrome_70
(t *testing.T)
u_conn_test.go:78
FunctionTestUTLSHandshakeClientParrotFirefox_55
(t *testing.T)
u_conn_test.go:140
FunctionTestUTLSHandshakeClientParrotFirefox_63
(t *testing.T)
u_conn_test.go:117
FunctionTestUTLSHandshakeClientParrotGolang
(t *testing.T)
u_conn_test.go:60
FunctionTestUTLSHelloRetryRequest
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
FunctionTestUTLSIsGrease
(t *testing.T)
u_common_test.go:11
FunctionTestUTLSMakeConnWithCompleteHandshake
(t *testing.T)
u_conn_test.go:706
← previousnext →1,001–1,100 of 1,354, ranked by callers