Home
last modified time | relevance | path

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

123

/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.java37 @Override protected Handshake handshake() { in handshake() method in HttpsURLConnectionImpl
46 ? delegate.httpEngine.getResponse().handshake() in handshake()
47 : 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()
DConnection.java70 private Handshake handshake; field in Connection
156 handshake = connectedSocket.handshake; in connect()
258 return handshake; in getHandshake()
328 + (handshake != null ? handshake.cipherSuite() : "none") in toString()
DCache.java454 private final Handshake handshake; field in Entry
536 handshake = Handshake.get(cipherSuite, peerCertificates, localCertificates); in Entry()
538 handshake = null; in Entry()
553 this.handshake = response.handshake(); in Entry()
585 sink.writeUtf8(handshake.cipherSuite()); in writeTo()
587 writeCertList(sink, handshake.peerCertificates()); in writeTo()
588 writeCertList(sink, handshake.localCertificates()); in writeTo()
653 .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()
/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/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/src/test/java/org/conscrypt/
DNativeCryptoTest.java928 public static Future<TestSSLHandshakeCallbacks> handshake(final ServerSocket listener, in handshake() method in NativeCryptoTest
1011 Future<TestSSLHandshakeCallbacks> client = handshake(listener, 0, true, cHooks, null, null); in test_SSL_do_handshake_normal()
1012 … Future<TestSSLHandshakeCallbacks> server = handshake(listener, 0, false, sHooks, null, null); in test_SSL_do_handshake_normal()
1051 Future<TestSSLHandshakeCallbacks> client = handshake(listener, 0, true, cHooks, null, null); in test_SSL_do_handshake_optional_client_certificate()
1052 … Future<TestSSLHandshakeCallbacks> server = handshake(listener, 0, false, sHooks, null, null); in test_SSL_do_handshake_optional_client_certificate()
1098 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()
1163 Future<TestSSLHandshakeCallbacks> client = handshake(listener, 0, true, cHooks, null, null); in test_SSL_do_handshake_clientCertificateRequested_throws_after_renegotiate()
1164 … Future<TestSSLHandshakeCallbacks> server = handshake(listener, 0, false, sHooks, null, null); in test_SSL_do_handshake_clientCertificateRequested_throws_after_renegotiate()
1182 Future<TestSSLHandshakeCallbacks> client = handshake(listener, 1, true, cHooks, null, in test_SSL_do_handshake_client_timeout()
[all …]
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
DSocketConnector.java95 Handshake handshake = null; in connectTls() local
105 handshake = Handshake.get(sslSocket.getSession()); in connectTls()
128 address.getCertificatePinner().check(address.getUriHost(), handshake.peerCertificates()); in connectTls()
130 return new ConnectedSocket(route, sslSocket, alpnProtocol, handshake); in connectTls()
261 public final Handshake handshake; field in SocketConnector.ConnectedSocket
268 handshake = null; in ConnectedSocket()
273 Handshake handshake) { in ConnectedSocket() argument
277 this.handshake = handshake; in ConnectedSocket()
/external/nanohttpd/websocket/src/main/java/fi/iki/elonen/samples/echo/
DDebugWebSocketServer.java19 public WebSocket openWebSocket(IHTTPSession handshake) { in openWebSocket() argument
20 return new DebugWebSocket(handshake, debug); in openWebSocket()
DDebugWebSocket.java16 public DebugWebSocket(NanoHTTPD.IHTTPSession handshake, boolean debug) { in DebugWebSocket() argument
17 super(handshake); in DebugWebSocket()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/
DSocketTransportWrapper.java124 handshake(handshakeTimeout); in accept()
183 handshake(handshakeTimeout); in attach()
288 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/main/java/fi/iki/elonen/
DIWebSocketFactory.java6 WebSocket openWebSocket(IHTTPSession handshake); in openWebSocket() argument
DNanoWebSocketServer.java35 public WebSocket openWebSocket(IHTTPSession handshake) { in openWebSocket() argument
/external/jetty/src/java/org/eclipse/jetty/websocket/
DWebSocketServletConnection.java27 …void handshake(HttpServletRequest request, HttpServletResponse response, String subprotocol) throw… in handshake() method
DWebSocketServletConnectionD06.java39 …public void handshake(HttpServletRequest request, HttpServletResponse response, String subprotocol… in handshake() method in WebSocketServletConnectionD06
DWebSocketServletConnectionRFC6455.java40 …public void handshake(HttpServletRequest request, HttpServletResponse response, String subprotocol… in handshake() method in WebSocketServletConnectionRFC6455
/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/iptables/extensions/
Dlibxt_tcpmss.man1 …SYN or SYN/ACK packets, since the MSS is only negotiated during the TCP handshake at connection st…
/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/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/
DParserDebugger.cs26 proxy.handshake(); in ParserDebugger()
/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/tool/src/main/resources/org/antlr/codegen/templates/Ruby/
DASTDbg.stg28 proxy.handshake

123