HomeSort by relevance Sort by last modified time
    Searched refs:Handshake (Results 1 - 25 of 42) sorted by null

1 2

  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
Handshake.java 29 * A record of a TLS handshake. For HTTPS clients, the client is <i>local</i>
32 * <p>This value object describes a completed handshake. Use {@link
35 public final class Handshake {
40 private Handshake(
47 public static Handshake get(SSLSession session) {
66 return new Handshake(cipherSuite, peerCertificatesList, localCertificatesList);
69 public static Handshake get(
72 return new Handshake(cipherSuite, Util.immutableList(peerCertificates),
106 if (!(other instanceof Handshake)) return false;
107 Handshake that = (Handshake) other
    [all...]
Response.java 49 private final Handshake handshake; field in class:Response
62 this.handshake = builder.handshake;
103 * Returns the TLS handshake of the connection that carried this response, or
106 public Handshake handshake() { method in class:Response
107 return handshake;
384 private Handshake handshake; field in class:Response.Builder
425 public Builder handshake(Handshake handshake) { method in class:Response.Builder
    [all...]
Connection.java 72 private Handshake handshake; field in class:Connection
159 * Create an {@code SSLSocket} and perform the TLS handshake and certificate
196 // Force handshake. This can throw!
204 handshake = Handshake.get(sslSocket.getSession());
285 public Handshake getHandshake() {
286 return handshake;
  /external/chromium_org/net/socket/
ssl_server_socket.h 28 // Perform the SSL server handshake, and notify the supplied callback
32 virtual int Handshake(const CompletionCallback& callback) = 0;
54 // The caller starts the SSL server handshake by calling Handshake on the
ssl_server_socket_nss.h 34 virtual int Handshake(const CompletionCallback& callback) OVERRIDE;
ssl_server_socket_openssl.h 36 virtual int Handshake(const CompletionCallback& callback) OVERRIDE;
  /external/chromium_org/third_party/tlslite/tlslite/integration/
tlssocketservermixin.py 15 implement the handshake() method, doing some sort of server
16 handshake on the connection argument. If the handshake method
37 def handshake(self, tlsConnection):
45 print "Handshake failure:", str(error)
55 if self.handshake(tlsConnection) == True:
60 #if the handshake finishes properly and the request is authorized.
61 def handshake(self, tlsConnection): member in class:TLSSocketServerMixIn
  /external/apache-harmony/x-net/src/test/impl/java/org/apache/harmony/xnet/tests/provider/jsse/
FinishedTest.java 24 import org.apache.harmony.xnet.provider.jsse.Handshake;
37 assertEquals("incorrect type", Handshake.FINISHED, message.getType());
HelloRequestTest.java 21 import org.apache.harmony.xnet.provider.jsse.Handshake;
34 assertEquals("incorrect type", Handshake.HELLO_REQUEST, message
ServerHelloDoneTest.java 23 import org.apache.harmony.xnet.provider.jsse.Handshake;
40 assertEquals("incorrect type", Handshake.SERVER_HELLO_DONE, message
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
HttpsURLConnectionImpl.java 19 import com.squareup.okhttp.Handshake;
37 @Override protected Handshake handshake() { method in class:HttpsURLConnectionImpl
42 // If there's a response, get the handshake from there so that caching
43 // works. Otherwise get the handshake from the connection because we might
46 ? delegate.httpEngine.getResponse().handshake()
47 : delegate.handshake;
DelegatingHttpsURLConnection.java 19 import com.squareup.okhttp.Handshake;
48 protected abstract Handshake handshake(); method in class:DelegatingHttpsURLConnection
59 Handshake handshake = handshake(); local
60 return handshake != null ? handshake.cipherSuite() : null;
64 Handshake handshake = handshake() local
71 Handshake handshake = handshake(); local
78 Handshake handshake = handshake(); local
83 Handshake handshake = handshake(); local
    [all...]
JavaApiConverter.java 18 import com.squareup.okhttp.Handshake;
82 // Handle SSL handshake information as needed.
95 Handshake handshake = Handshake.get( local
98 okResponseBuilder.handshake(handshake);
129 // Handle SSL handshake information as needed.
133 // Handshake doesn't support null lists.
144 Handshake handshake = Handshake.get local
181 final Handshake handshake = response.handshake(); local
    [all...]
  /external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp2/
ASTDbg.stg 66 proxy.Handshake();
  /external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp3/
ASTDbg.stg 70 proxy.Handshake();
  /external/chromium_org/tools/telemetry/third_party/pyserial/serial/
serialcli.py 116 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 Py3k
  /external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/
ClientKeyExchangeTest.java 43 assertEquals("incorrect type", Handshake.CLIENT_KEY_EXCHANGE,
103 assertEquals("incorrect type", Handshake.CLIENT_KEY_EXCHANGE,
149 assertEquals("incorrect type", Handshake.CLIENT_KEY_EXCHANGE, message
CertificateMessageTest.java 61 assertEquals("incorrect type", Handshake.CERTIFICATE, message.getType());
90 assertEquals("incorrect type", Handshake.CERTIFICATE, message.getType());
CertificateVerifyTest.java 53 assertEquals("incorrect type", Handshake.CERTIFICATE_VERIFY,
ClientHelloTest.java 44 assertEquals("incorrect type", Handshake.CLIENT_HELLO, message.getType());
CertificateRequestTest.java 68 assertEquals("incorrect type", Handshake.CERTIFICATE_REQUEST, message
ServerHelloTest.java 37 assertEquals("incorrect type", Handshake.SERVER_HELLO, message
ServerKeyExchangeTest.java 40 assertEquals("incorrect type", Handshake.SERVER_KEY_EXCHANGE, message
94 assertEquals("incorrect type", Handshake.SERVER_KEY_EXCHANGE, message
144 assertEquals("incorrect type", Handshake.SERVER_KEY_EXCHANGE, message
  /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
RecordedResponse.java 66 Handshake handshake = response.handshake(); local
67 assertNotNull(handshake.cipherSuite());
68 assertNotNull(handshake.peerPrincipal());
69 assertEquals(1, handshake.peerCertificates().size());
70 assertNull(handshake.localPrincipal());
71 assertEquals(0, handshake.localCertificates().size());
  /external/chromium-trace/trace-viewer/third_party/pywebsocket/src/test/
test_handshake_hybi00.py 33 """Tests for handshake.hybi00 module."""
40 from mod_pywebsocket.handshake._base import HandshakeException
41 from mod_pywebsocket.handshake import hybi00 as handshake namespace
76 'HTTP/1.1 101 WebSocket Protocol Handshake\r\n'
86 'HTTP/1.1 101 WebSocket Protocol Handshake\r\n'
111 'HTTP/1.1 101 WebSocket Protocol Handshake\r\n'
121 'HTTP/1.1 101 WebSocket Protocol Handshake\r\n'
145 'HTTP/1.1 101 WebSocket Protocol Handshake\r\n'
188 'HTTP/1.1 101 WebSocket Protocol Handshake\r\n
    [all...]

Completed in 313 milliseconds

1 2