Searched refs:handshake (Results 1 - 25 of 47) sorted by relevance

12

/external/okhttp/okhttp-urlconnection/src/main/java/com/squareup/okhttp/internal/huc/
H A DDelegatingHttpsURLConnection.java48 protected abstract Handshake handshake(); method in class:DelegatingHttpsURLConnection
59 Handshake handshake = handshake();
60 return handshake != null ? handshake.cipherSuite() : null;
64 Handshake handshake = handshake();
65 if (handshake == null) return null;
66 List<Certificate> result = handshake.localCertificates();
71 Handshake handshake
[all...]
H A DHttpsURLConnectionImpl.java42 @Override protected Handshake handshake() { method in class:HttpsURLConnectionImpl
47 // If there's a response, get the handshake from there so that caching
48 // works. Otherwise get the handshake from the connection because we might
51 ? delegate.httpEngine.getResponse().handshake()
52 : delegate.handshake;
/external/jetty/src/java/org/eclipse/jetty/websocket/
H A DWebSocketServletConnection.java27 void handshake(HttpServletRequest request, HttpServletResponse response, String subprotocol) throws IOException; method in interface:WebSocketServletConnection
H A DWebSocketServletConnectionD06.java39 public void handshake(HttpServletRequest request, HttpServletResponse response, String subprotocol) throws IOException method in class:WebSocketServletConnectionD06
H A DWebSocketServletConnectionD08.java40 public void handshake(HttpServletRequest request, HttpServletResponse response, String subprotocol) throws IOException method in class:WebSocketServletConnectionD08
H A DWebSocketServletConnectionRFC6455.java40 public void handshake(HttpServletRequest request, HttpServletResponse response, String subprotocol) throws IOException method in class:WebSocketServletConnectionRFC6455
H A DWebSocketServletConnectionD00.java40 public void handshake(HttpServletRequest request, HttpServletResponse response, String subprotocol) throws IOException method in class:WebSocketServletConnectionD00
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
H A DResponse.java41 private final Handshake handshake; field in class:Response
55 this.handshake = builder.handshake;
105 * Returns the TLS handshake of the connection that carried this response, or
108 public Handshake handshake() { method in class:Response
109 return handshake;
226 private Handshake handshake; field in class:Response.Builder
242 this.handshake = response.handshake;
270 public Builder handshake(Handshak argument
[all...]
H A DCache.java475 private final Handshake handshake; field in class:Cache.Entry
557 handshake = Handshake.get(cipherSuite, peerCertificates, localCertificates);
559 handshake = null;
574 this.handshake = response.handshake();
606 sink.writeUtf8(handshake.cipherSuite());
608 writeCertList(sink, handshake.peerCertificates());
609 writeCertList(sink, handshake.localCertificates());
674 .handshake(handshake)
[all...]
H A DConnection.java85 private Handshake handshake; field in class:Connection
234 // Force handshake. This can throw!
251 // Success! Save the handshake and the ALPN protocol.
258 handshake = unverifiedHandshake;
304 // This check is imperfect: it doesn't tell us whether a handshake will succeed, just
440 return handshake;
510 + (handshake != null ? handshake.cipherSuite() : "none")
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
H A DRecordedResponse.java89 Handshake handshake = response.handshake();
90 assertNotNull(handshake.cipherSuite());
91 assertNotNull(handshake.peerPrincipal());
92 assertEquals(1, handshake.peerCertificates().size());
93 assertNull(handshake.localPrincipal());
94 assertEquals(0, handshake.localCertificates().size());
/external/okhttp/okhttp-android-support/src/main/java/com/squareup/okhttp/internal/huc/
H A DJavaApiConverter.java114 // Handle SSL handshake information as needed.
127 Handshake handshake = Handshake.get(
130 okResponseBuilder.handshake(handshake);
237 // Handle SSL handshake information as needed.
252 Handshake handshake = Handshake.get(
254 okResponseBuilder.handshake(handshake);
293 final Handshake handshake = response.handshake();
804 @Override protected Handshake handshake() { method in class:JavaApiConverter.CacheHttpsURLConnection
[all...]
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/
H A DParserDebugger.cs26 proxy.handshake();
/external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/recipes/
H A DCertificatePinning.java47 for (Certificate certificate : response.handshake().peerCertificates()) {
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Java/
H A DASTDbg.stg58 proxy.handshake();
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Python/
H A DASTDbg.stg56 proxy.handshake()
/external/nanohttpd/websocket/src/main/java/fi/iki/elonen/samples/echo/
H A DDebugWebSocketServer.java61 protected WebSocket openWebSocket(IHTTPSession handshake) { argument
62 return new DebugWebSocket(this, handshake);
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/
H A DJavaApiConverterTest.java131 assertNull(response.handshake());
212 Handshake handshake = response.handshake();
213 assertNotNull(handshake);
214 assertNotNullAndEquals("SuperSecure", handshake.cipherSuite());
215 assertEquals(localPrincipal, handshake.localPrincipal());
216 assertEquals(serverPrincipal, handshake.peerPrincipal());
217 assertEquals(serverCertificates, handshake.peerCertificates());
218 assertEquals(localCertificates, handshake.localCertificates());
464 Handshake handshake
[all...]
/external/conscrypt/src/test/java/org/conscrypt/
H A DNativeCryptoTest.java938 public static Future<TestSSLHandshakeCallbacks> handshake(final ServerSocket listener, method in class:NativeCryptoTest
945 @SuppressWarnings("resource") // Socket needs to remain open after the handshake
961 + " handshake"
974 + " handshake"
1021 Future<TestSSLHandshakeCallbacks> client = handshake(listener, 0, true, cHooks, null, null);
1022 Future<TestSSLHandshakeCallbacks> server = handshake(listener, 0, false, sHooks, null, null);
1061 Future<TestSSLHandshakeCallbacks> client = handshake(listener, 0, true, cHooks, null, null);
1062 Future<TestSSLHandshakeCallbacks> server = handshake(listener, 0, false, sHooks, null, null);
1108 Future<TestSSLHandshakeCallbacks> client = handshake(listener, 0, true, cHooks, null,
1110 Future<TestSSLHandshakeCallbacks> server = handshake(listene
[all...]
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ObjC/
H A DASTDbg.stg63 [proxy handshake];
/external/nanohttpd/websocket/src/test/java/fi/iki/elonen/
H A DWebSocketResponseHandlerTest.java78 protected WebSocket openWebSocket(IHTTPSession handshake) { argument
79 return new WebSocket(handshake) { // Dummy websocket inner class.
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/
H A DSocketTransportWrapper.java127 handshake(handshakeTimeout);
186 handshake(handshakeTimeout);
291 protected void handshake(long handshakeTimeout) throws IOException { method in class:SocketTransportWrapper
309 throw new IOException("Unexpected handshake response: " + response);
/external/antlr/antlr-3.4/runtime/C/include/
H A Dantlr3debugeventlistener.h100 ANTLR3_BOOLEAN (*handshake) (pANTLR3_DEBUG_EVENT_LISTENER delboy); member in struct:ANTLR3_DEBUG_EVENT_LISTENER_struct
/external/sl4a/Common/src/com/googlecode/android_scripting/jsonrpc/
H A DJsonRpcServer.java49 * @param handshake the secret handshake required for authorization to use this server
51 public JsonRpcServer(RpcReceiverManagerFactory managerFactory, String handshake) { argument
52 // mHandshake = handshake;
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/C/
H A DDbg.stg123 proxy->handshake(proxy);

Completed in 2186 milliseconds

12