Home
last modified time | relevance | path

Searched refs:handshake (Results 1 – 25 of 80) sorted by relevance

1234

/external/okhttp/okhttp-urlconnection/src/main/java/com/squareup/okhttp/internal/huc/
DDelegatingHttpsURLConnection.java48 protected abstract Handshake handshake(); in handshake() method in DelegatingHttpsURLConnection
59 Handshake handshake = handshake(); in getCipherSuite() local
60 return handshake != null ? handshake.cipherSuite() : null; in getCipherSuite()
64 Handshake handshake = handshake(); in getLocalCertificates() local
65 if (handshake == null) return null; in getLocalCertificates()
66 List<Certificate> result = handshake.localCertificates(); in getLocalCertificates()
71 Handshake handshake = handshake(); in getServerCertificates() local
72 if (handshake == null) return null; in getServerCertificates()
73 List<Certificate> result = handshake.peerCertificates(); in getServerCertificates()
78 Handshake handshake = handshake(); in getPeerPrincipal() local
[all …]
DHttpsURLConnectionImpl.java42 @Override protected Handshake handshake() { in handshake() method in HttpsURLConnectionImpl
51 ? delegate.httpEngine.getResponse().handshake() in handshake()
52 : delegate.handshake; in handshake()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DResponse.java41 private final Handshake handshake; field in Response
55 this.handshake = builder.handshake; in Response()
108 public Handshake handshake() { in handshake() method in Response
109 return handshake; in handshake()
226 private Handshake handshake; field in Response.Builder
242 this.handshake = response.handshake; in Builder()
270 public Builder handshake(Handshake handshake) { in handshake() argument
271 this.handshake = handshake; in handshake()
DCache.java475 private final Handshake handshake; field in Entry
557 handshake = Handshake.get(cipherSuite, peerCertificates, localCertificates); in Entry()
559 handshake = null; in Entry()
574 this.handshake = response.handshake(); in Entry()
606 sink.writeUtf8(handshake.cipherSuite()); in writeTo()
608 writeCertList(sink, handshake.peerCertificates()); in writeTo()
609 writeCertList(sink, handshake.localCertificates()); in writeTo()
674 .handshake(handshake) in response()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DRecordedResponse.java89 Handshake handshake = response.handshake(); in assertHandshake() local
90 assertNotNull(handshake.cipherSuite()); in assertHandshake()
91 assertNotNull(handshake.peerPrincipal()); in assertHandshake()
92 assertEquals(1, handshake.peerCertificates().size()); in assertHandshake()
93 assertNull(handshake.localPrincipal()); in assertHandshake()
94 assertEquals(0, handshake.localCertificates().size()); in assertHandshake()
DCacheTest.java262 String suite = response1.handshake().cipherSuite(); in secureResponseCaching()
263 List<Certificate> localCerts = response1.handshake().localCertificates(); in secureResponseCaching()
264 List<Certificate> serverCerts = response1.handshake().peerCertificates(); in secureResponseCaching()
265 Principal peerPrincipal = response1.handshake().peerPrincipal(); in secureResponseCaching()
266 Principal localPrincipal = response1.handshake().localPrincipal(); in secureResponseCaching()
275 assertEquals(suite, response2.handshake().cipherSuite()); in secureResponseCaching()
276 assertEquals(localCerts, response2.handshake().localCertificates()); in secureResponseCaching()
277 assertEquals(serverCerts, response2.handshake().peerCertificates()); in secureResponseCaching()
278 assertEquals(peerPrincipal, response2.handshake().peerPrincipal()); in secureResponseCaching()
279 assertEquals(localPrincipal, response2.handshake().localPrincipal()); in secureResponseCaching()
[all …]
/external/okhttp/okhttp-android-support/src/main/java/com/squareup/okhttp/internal/huc/
DJavaApiConverter.java127 Handshake handshake = Handshake.get( in createOkResponseForCachePut() local
130 okResponseBuilder.handshake(handshake); in createOkResponseForCachePut()
252 Handshake handshake = Handshake.get( in createOkResponseForCacheGet() local
254 okResponseBuilder.handshake(handshake); in createOkResponseForCacheGet()
293 final Handshake handshake = response.handshake(); in createJavaCacheResponse() local
297 return handshake != null ? handshake.cipherSuite() : null; in createJavaCacheResponse()
302 if (handshake == null) return null; in createJavaCacheResponse()
304 List<Certificate> certificates = handshake.localCertificates(); in createJavaCacheResponse()
310 if (handshake == null) return null; in createJavaCacheResponse()
312 List<Certificate> certificates = handshake.peerCertificates(); in createJavaCacheResponse()
[all …]
/external/unicode/additions/
Demoji-sequences.txt14 1F91D 1F3FF ; Emoji_Modifier_Sequence ; handshake: light sk…
15 1F91D 1F3FE ; Emoji_Modifier_Sequence ; handshake: medium-l…
16 1F91D 1F3FD ; Emoji_Modifier_Sequence ; handshake: medium s…
17 1F91D 1F3FC ; Emoji_Modifier_Sequence ; handshake: medium-d…
18 1F91D 1F3FB ; Emoji_Modifier_Sequence ; handshake: dark ski…
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/
DJavaApiConverterTest.java131 assertNull(response.handshake()); in createOkResponseForCacheGet()
212 Handshake handshake = response.handshake(); in createOkResponseForCacheGet_secure() local
213 assertNotNull(handshake); in createOkResponseForCacheGet_secure()
214 assertNotNullAndEquals("SuperSecure", handshake.cipherSuite()); in createOkResponseForCacheGet_secure()
215 assertEquals(localPrincipal, handshake.localPrincipal()); in createOkResponseForCacheGet_secure()
216 assertEquals(serverPrincipal, handshake.peerPrincipal()); in createOkResponseForCacheGet_secure()
217 assertEquals(serverCertificates, handshake.peerCertificates()); in createOkResponseForCacheGet_secure()
218 assertEquals(localCertificates, handshake.localCertificates()); in createOkResponseForCacheGet_secure()
464 Handshake handshake = Handshake.get("SecureCipher", Arrays.<Certificate>asList(SERVER_CERT), in createJavaUrlConnection_https_extraHttpsMethods() local
467 .handshake(handshake) in createJavaUrlConnection_https_extraHttpsMethods()
[all …]
/external/conscrypt/platform/src/test/java/org/conscrypt/
DNativeCryptoTest.java926 public static Future<TestSSLHandshakeCallbacks> handshake(final ServerSocket listener, in handshake() method in NativeCryptoTest
1012 Future<TestSSLHandshakeCallbacks> client = handshake(listener, 0, true, cHooks, null); in test_SSL_do_handshake_normal()
1013 Future<TestSSLHandshakeCallbacks> server = handshake(listener, 0, false, sHooks, null); in test_SSL_do_handshake_normal()
1052 Future<TestSSLHandshakeCallbacks> client = handshake(listener, 0, true, cHooks, null); in test_SSL_do_handshake_optional_client_certificate()
1053 Future<TestSSLHandshakeCallbacks> server = handshake(listener, 0, false, sHooks, null); in test_SSL_do_handshake_optional_client_certificate()
1097 Future<TestSSLHandshakeCallbacks> client = handshake(listener, 0, true, cHooks, null); in test_SSL_do_handshake_missing_required_certificate()
1098 Future<TestSSLHandshakeCallbacks> server = handshake(listener, 0, false, sHooks, null); in test_SSL_do_handshake_missing_required_certificate()
1114 Future<TestSSLHandshakeCallbacks> client = handshake(listener, 1, true, cHooks, null); in test_SSL_do_handshake_client_timeout()
1115 Future<TestSSLHandshakeCallbacks> server = handshake(listener, -1, false, sHooks, null); in test_SSL_do_handshake_client_timeout()
1138 Future<TestSSLHandshakeCallbacks> client = handshake(listener, -1, true, cHooks, null); in test_SSL_do_handshake_server_timeout()
[all …]
DOpenSSLSocketImplTest.java259 Future<OpenSSLSocketImpl> clientFuture = handshake(listener, clientHooks); in doHandshake()
260 Future<OpenSSLSocketImpl> serverFuture = handshake(listener, serverHooks); in doHandshake()
275 Future<OpenSSLSocketImpl> handshake(final ServerSocket listener, final Hooks hooks) { in handshake() method in OpenSSLSocketImplTest.TestConnection
/external/conscrypt/openjdk/src/test/java/org/conscrypt/
DNativeCryptoTest.java928 public static Future<TestSSLHandshakeCallbacks> handshake(final ServerSocket listener, in handshake() method in NativeCryptoTest
1014 Future<TestSSLHandshakeCallbacks> client = handshake(listener, 0, true, cHooks, null); in test_SSL_do_handshake_normal()
1015 Future<TestSSLHandshakeCallbacks> server = handshake(listener, 0, false, sHooks, null); in test_SSL_do_handshake_normal()
1054 Future<TestSSLHandshakeCallbacks> client = handshake(listener, 0, true, cHooks, null); in test_SSL_do_handshake_optional_client_certificate()
1055 Future<TestSSLHandshakeCallbacks> server = handshake(listener, 0, false, sHooks, null); in test_SSL_do_handshake_optional_client_certificate()
1099 Future<TestSSLHandshakeCallbacks> client = handshake(listener, 0, true, cHooks, null); in test_SSL_do_handshake_missing_required_certificate()
1100 Future<TestSSLHandshakeCallbacks> server = handshake(listener, 0, false, sHooks, null); in test_SSL_do_handshake_missing_required_certificate()
1160 Future<TestSSLHandshakeCallbacks> client = handshake(listener, 0, true, cHooks, null); in test_SSL_do_handshake_clientCertificateRequested_throws_after_renegotiate()
1161 Future<TestSSLHandshakeCallbacks> server = handshake(listener, 0, false, sHooks, null); in test_SSL_do_handshake_clientCertificateRequested_throws_after_renegotiate()
1180 Future<TestSSLHandshakeCallbacks> client = handshake(listener, 1, true, cHooks, null); in test_SSL_do_handshake_client_timeout()
[all …]
DOpenSSLSocketImplTest.java214 Future<OpenSSLSocketImpl> clientFuture = handshake(listener, clientHooks); in doHandshake()
215 Future<OpenSSLSocketImpl> serverFuture = handshake(listener, serverHooks); in doHandshake()
230 Future<OpenSSLSocketImpl> handshake(final ServerSocket listener, final Hooks hooks) { in handshake() method in OpenSSLSocketImplTest.TestConnection
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/io/
DRealConnection.java78 private Handshake handshake; field in RealConnection
120 handshake = null; in connect()
219 handshake = unverifiedHandshake; in connectTls()
379 return handshake; in getHandshake()
402 + (handshake != null ? handshake.cipherSuite() : "none") in toString()
/external/nanohttpd/websocket/src/main/java/fi/iki/elonen/samples/echo/
DDebugWebSocketServer.java61 protected WebSocket openWebSocket(IHTTPSession handshake) { in openWebSocket() argument
62 return new DebugWebSocket(this, handshake); in openWebSocket()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/
DSocketTransportWrapper.java130 handshake(handshakeTimeout); in accept()
190 handshake(handshakeTimeout); in attach()
299 protected void handshake(long handshakeTimeout) throws IOException { in handshake() method in SocketTransportWrapper
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/debug/
Dsocket.rb38 def handshake method in ANTLR3.Debug.EventSocketProxy
280 handshake
290 def handshake method in ANTLR3.Debug.RemoteEventSocketListener
/external/nanohttpd/websocket/src/test/java/fi/iki/elonen/
DWebSocketResponseHandlerTest.java78 protected WebSocket openWebSocket(IHTTPSession handshake) { in openWebSocket() argument
79 return new WebSocket(handshake) { // Dummy websocket inner class. in openWebSocket()
/external/wpa_supplicant_8/wpa_supplicant/doc/docbook/
Dwpa_background.sgml59 <para>WPA implements a new key handshake (4-Way Handshake and
61 keys between the Authenticator and Supplicant. This handshake is
77 (reduced number of messages in initial key handshake,
/external/wpa_supplicant_8/wpa_supplicant/
Dtodo.txt54 drivers with ndiswrapper end up not being able to complete 4-way handshake
73 - cleanup TLS/PEAP/TTLS/FAST fragmentation: both the handshake and Appl. Data
77 - test EAP-FAST peer with OpenSSL and verify that fallback to full handshake
/external/iptables/extensions/
Dlibxt_tcpmss.man1 …SYN or SYN/ACK packets, since the MSS is only negotiated during the TCP handshake at connection st…
/external/curl/tests/data/
Dtest40529 # GnuTLS seems to not fail on its handshake but instead times out which gives
/external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/recipes/
DCertificatePinning.java47 for (Certificate certificate : response.handshake().peerCertificates()) { in run()
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/
DParserDebugger.cs26 proxy.handshake(); in ParserDebugger()
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Ruby/
DASTDbg.stg28 proxy.handshake

1234