Home
last modified time | relevance | path

Searched refs:Handshake (Results 1 – 25 of 53) sorted by relevance

123

/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DHandshake.java35 public final class Handshake { class
40 private Handshake( in Handshake() method in Handshake
47 public static Handshake get(SSLSession session) { in get()
66 return new Handshake(cipherSuite, peerCertificatesList, localCertificatesList); in get()
69 public static Handshake get( in get()
72 return new Handshake(cipherSuite, Util.immutableList(peerCertificates), in get()
106 if (!(other instanceof Handshake)) return false; in equals()
107 Handshake that = (Handshake) other; in equals()
DResponse.java49 private final Handshake handshake;
106 public Handshake handshake() { in handshake()
384 private Handshake handshake;
425 public Builder handshake(Handshake handshake) { in handshake()
DConnection.java76 private Handshake handshake;
208 handshake = Handshake.get(sslSocket.getSession()); in upgradeToTls()
289 public Handshake getHandshake() { in getHandshake()
/external/chromium_org/tools/telemetry/third_party/pyserial/serial/
Dserialcli.py116 self._port_handle.Handshake = System.IO.Ports.Handshake.RequestToSendXOnXOff
118 self._port_handle.Handshake = System.IO.Ports.Handshake.RequestToSend
120 self._port_handle.Handshake = System.IO.Ports.Handshake.XOnXOff
122 …self._port_handle.Handshake = getattr(System.IO.Ports.Handshake, 'None') # reserved keyword in …
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
DDelegatingHttpsURLConnection.java19 import com.squareup.okhttp.Handshake;
48 protected abstract Handshake handshake(); in handshake()
59 Handshake handshake = handshake(); in getCipherSuite()
64 Handshake handshake = handshake(); in getLocalCertificates()
71 Handshake handshake = handshake(); in getServerCertificates()
78 Handshake handshake = handshake(); in getPeerPrincipal()
83 Handshake handshake = handshake(); in getLocalPrincipal()
DHttpsURLConnectionImpl.java19 import com.squareup.okhttp.Handshake;
37 @Override protected Handshake handshake() { in handshake()
DJavaApiConverter.java18 import com.squareup.okhttp.Handshake;
95 Handshake handshake = Handshake.get( in createOkResponse()
144 Handshake handshake = Handshake.get( in createOkResponse()
181 final Handshake handshake = response.handshake(); in createJavaCacheResponse()
638 @Override protected Handshake handshake() {
/external/apache-harmony/x-net/src/test/impl/java/org/apache/harmony/xnet/tests/provider/jsse/
DServerHelloDoneTest.java23 import org.apache.harmony.xnet.provider.jsse.Handshake;
40 assertEquals("incorrect type", Handshake.SERVER_HELLO_DONE, message in testServerHelloDone()
DHelloRequestTest.java21 import org.apache.harmony.xnet.provider.jsse.Handshake;
34 assertEquals("incorrect type", Handshake.HELLO_REQUEST, message in testHelloRequest()
DFinishedTest.java24 import org.apache.harmony.xnet.provider.jsse.Handshake;
37 assertEquals("incorrect type", Handshake.FINISHED, message.getType()); in testFinished()
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/
DClientKeyExchangeTest.java43 assertEquals("incorrect type", Handshake.CLIENT_KEY_EXCHANGE, in testClientKeyExchangebyteArrayboolean()
103 assertEquals("incorrect type", Handshake.CLIENT_KEY_EXCHANGE, in testClientKeyExchangeBigInteger()
149 assertEquals("incorrect type", Handshake.CLIENT_KEY_EXCHANGE, message in testClientKeyExchange()
DServerKeyExchangeTest.java40 assertEquals("incorrect type", Handshake.SERVER_KEY_EXCHANGE, message in testServerKeyExchange_RSA_EXPORT()
94 assertEquals("incorrect type", Handshake.SERVER_KEY_EXCHANGE, message in testServerKeyExchange_DHE_DSS()
144 assertEquals("incorrect type", Handshake.SERVER_KEY_EXCHANGE, message in testServerKeyExchange_DH_anon()
DCertificateMessageTest.java61 assertEquals("incorrect type", Handshake.CERTIFICATE, message.getType()); in testCertificateMessage1()
90 assertEquals("incorrect type", Handshake.CERTIFICATE, message.getType()); in testCertificateMessage2()
DCertificateVerifyTest.java53 assertEquals("incorrect type", Handshake.CERTIFICATE_VERIFY, in testCertificateVerify()
DClientHelloTest.java44 assertEquals("incorrect type", Handshake.CLIENT_HELLO, message.getType()); in testClientHello()
DServerHelloTest.java37 assertEquals("incorrect type", Handshake.SERVER_HELLO, message in testServerHello()
DCertificateRequestTest.java68 assertEquals("incorrect type", Handshake.CERTIFICATE_REQUEST, message in testCertificateRequest()
/external/chromium_org/net/socket/
Dssl_server_socket_unittest.cc380 TEST_F(SSLServerSocketTest, Handshake) { in TEST_F() argument
386 int server_ret = server_socket_->Handshake(handshake_callback.callback()); in TEST_F()
415 int server_ret = server_socket_->Handshake(handshake_callback.callback()); in TEST_F()
499 int server_ret = server_socket_->Handshake(handshake_callback.callback()); in TEST_F()
550 int server_ret = server_socket_->Handshake(handshake_callback.callback()); in TEST_F()
Dssl_server_socket.h32 virtual int Handshake(const CompletionCallback& callback) = 0;
/external/chromium_org/third_party/tlslite/patches/
Dsave_client_hello.patch6 return # Handshake was resumed, we're done
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
DJavaApiConverterTest.java19 import com.squareup.okhttp.Handshake;
191 Handshake handshake = response.handshake(); in testCreateOkResponseInternal()
291 Handshake handshake = response.handshake(); in createOkResponse_fromSecureCacheResponse()
540 Handshake handshake = Handshake.get("SecureCipher", Arrays.<Certificate>asList(SERVER_CERT), in createJavaUrlConnection_https_extraHttpsMethods()
631 Handshake handshake = Handshake.get("SecureCipher", Arrays.<Certificate>asList(SERVER_CERT), in createJavaCacheResponse_httpsPost()
/external/chromium_org/third_party/boringssl/src/ssl/test/runner/
Dtls.go141 err = conn.Handshake()
144 errChannel <- conn.Handshake()
/external/chromium_org/build/android/pylib/gtest/filter/
Dnet_unittests_disabled7 SSLServerSocketTest.Handshake
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DRecordedResponse.java66 Handshake handshake = response.handshake(); in assertHandshake()
/external/chromium_org/mojo/services/test_service/
Dtest_request_tracker.mojom39 // Handshake to tell the client its global identifier and get the name.

123