HomeSort by relevance Sort by last modified time
    Searched refs:handshake (Results 51 - 75 of 100) sorted by null

1 23 4

  /external/chromium-trace/trace-viewer/third_party/pywebsocket/src/example/
echo_client.py 90 # Special message that tells the echo server to start closing handshake
201 """A base class for WebSocket opening handshake processors for each
283 """WebSocket opening handshake processor for
295 def handshake(self): member in class:ClientHandshakeProcessor
296 """Performs opening handshake on the specified socket.
299 ClientHandshakeError: handshake failed.
303 self._logger.debug('Client\'s opening handshake Request-Line: %r',
365 self._logger.debug('Sent client\'s opening handshake headers: %r',
399 self._logger.debug('Server\'s opening handshake headers: %r', fields)
489 """WebSocket opening handshake processor fo
502 def handshake(self): member in class:ClientHandshakeProcessorHybi00
728 def handshake(self): member in class:ClientHandshakeProcessorHixie75
    [all...]
  /external/antlr/antlr-3.4/runtime/C/include/
antlr3debugeventlistener.h 100 ANTLR3_BOOLEAN (*handshake) (pANTLR3_DEBUG_EVENT_LISTENER delboy); member in struct:ANTLR3_DEBUG_EVENT_LISTENER_struct
  /external/chromium-trace/trace-viewer/third_party/pywebsocket/src/test/
test_handshake_hybi.py 33 """Tests for handshake module."""
40 from mod_pywebsocket.handshake._base import AbortedByUserException
41 from mod_pywebsocket.handshake._base import HandshakeException
42 from mod_pywebsocket.handshake._base import VersionException
43 from mod_pywebsocket.handshake.hybi import Handshaker
49 """A class for holding data for constructing opening handshake strings for
50 testing the opening handshake processor.
143 handshake processor.
client_for_testing.py 35 This module contains helper methods for performing handshake, frame
44 This code is far from robust, e.g., we cut corners in handshake.
71 # Strings used for handshake
279 received as a result of handshake.
288 """Opening handshake processor for the WebSocket protocol (RFC 6455)."""
295 def handshake(self, socket): member in class:WebSocketHandshake
296 """Handshake WebSocket.
299 Exception: handshake failed.
305 self._logger.debug('Opening handshake Request-Line: %r', request_line)
335 self._logger.debug('Opening handshake request headers: %r', fields
483 def handshake(self, socket): member in class:WebSocketHybi00Handshake
719 def handshake(self, socket): member in class:WebSocketHixie75Handshake
    [all...]
  /external/chromium_org/net/quic/
quic_connection.cc 1350 IsHandshake handshake = HasCryptoHandshake(packet.retransmittable_frames); local
    [all...]
quic_sent_packet_manager.h 173 IsHandshake handshake);
  /external/chromium_org/net/third_party/nss/ssl/
sslsecur.c 25 * Currently, the list of functions called through ss->handshake is:
42 * The ss->handshake function returns SECWouldBlock under these conditions:
45 * to switch to SSL v3 handshake processing.
89 if (ss->handshake == 0) {
90 /* Previous handshake finished. Switch to next one */
91 ss->handshake = ss->nextHandshake;
94 if (ss->handshake == 0) {
95 /* Previous handshake finished. Switch to security handshake */
96 ss->handshake = ss->securityHandshake
    [all...]
  /development/samples/ToyVpn/src/com/example/android/toyvpn/
ToyVpnService.java 152 handshake(tunnel);
256 private void handshake(DatagramChannel tunnel) throws Exception { method in class:ToyVpnService
  /external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/C/
Dbg.stg 123 proxy->handshake(proxy);
  /external/chromium_org/chrome/test/chromedriver/net/
websocket.cc 125 std::string handshake = base::StringPrintf( local
138 Write(handshake);
  /external/chromium_org/net/quic/congestion_control/
tcp_cubic_sender.cc 171 IsHandshake handshake) {
174 handshake == IS_HANDSHAKE) {
176 // We also immediately send any handshake packet (CHLO, etc.). We provide
177 // this special dispensation for handshake messages in QUIC, although the
  /external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/debug/
socket.rb 38 def handshake method in class:ANTLR3.Debug.EventSocketProxy
57 log!( "handshake failed due to an IOError:\n" )
280 handshake
290 def handshake method in class:ANTLR3.Debug.RemoteEventSocketListener
  /external/chromium-trace/trace-viewer/third_party/pywebsocket/src/mod_pywebsocket/
_stream_hixie75.py 59 handshake as specified in HyBi 00, set
94 'Requested send_message after sending out a closing handshake')
130 'handshake')
155 'handshake')
159 'Received client-initiated closing handshake')
163 'Sent ack for client-initiated closing handshake')
179 'Closing handshake is not supported in Hixie 75 protocol')
186 # start of the closing handshake.
193 ConnectionTerminatedException: when closing handshake was
208 self._logger.debug('Sent server-initiated closing handshake')
    [all...]
standalone.py 140 from mod_pywebsocket import handshake namespace
151 # 1024 is practically large enough to contain WebSocket handshake lines.
577 handshake.do_handshake(
582 except handshake.VersionException, e:
589 except handshake.HandshakeException, e:
590 # Handshake for ws(s) failed.
597 except handshake.AbortedByUserException, e:
801 help='Allow draft 75 handshake')
803 default=False, help='Strictly check handshake request')
    [all...]
_stream_hybi.py 486 'Requested send_message after sending out a closing handshake')
601 'Received ack for server-initiated closing handshake')
605 'Received client-initiated closing handshake')
621 'Sent ack for client-initiated closing handshake '
685 or None iff received closing handshake.
701 'handshake')
793 'Sent server-initiated closing handshake (code=%r, reason=%r)',
807 # For now, we expect receiving closing handshake right after sending
808 # out closing handshake.
812 'Didn\'t receive valid ack for closing handshake')
    [all...]
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/mod_pywebsocket/
_stream_hixie75.py 60 handshake as specified in HyBi 00, set
95 'Requested send_message after sending out a closing handshake')
131 'handshake')
156 'handshake')
160 'Received client-initiated closing handshake')
164 'Sent ack for client-initiated closing handshake')
180 'Closing handshake is not supported in Hixie 75 protocol')
187 # start of the closing handshake.
194 ConnectionTerminatedException: when closing handshake was
209 self._logger.debug('Sent server-initiated closing handshake')
    [all...]
_stream_hybi.py 502 'Requested send_message after sending out a closing handshake')
645 'Received ack for server-initiated closing handshake')
649 'Received client-initiated closing handshake')
665 'Acknowledged closing handshake initiated by the peer '
729 or None iff received closing handshake.
745 'handshake')
839 'Initiated closing handshake (code=%r, reason=%r)',
853 # For now, we expect receiving closing handshake right after sending
854 # out closing handshake.
858 'Didn\'t receive valid ack for closing handshake')
    [all...]
standalone.py 148 from mod_pywebsocket import handshake namespace
159 # 1024 is practically large enough to contain WebSocket handshake lines.
545 # Print cipher in use. Handshake is done on accept.
844 handshake.do_handshake(
849 except handshake.VersionException, e:
850 self._logger.info('Handshake failed for version error: %s', e)
856 except handshake.HandshakeException, e:
857 # Handshake for ws(s) failed.
858 self._logger.info('Handshake failed for error: %s', e)
864 except handshake.AbortedByUserException, e
    [all...]
  /external/chromium_org/third_party/tlslite/tlslite/
constants.py 31 handshake = 22 variable in class:ContentType
51 If this occurs during a shared-key or SRP handshake it most likely
73 @cvar user_canceled: The handshake is being cancelled for some reason.
TLSRecordLayer.py 77 username asserted by the client, whether the handshake succeeded or
78 not. If the handshake fails, this can be inspected to
84 asserted by the client, whether the handshake succeeded or not.
85 If the handshake fails, this can be inspected to determine
129 #Handshake digests
150 #What username did the client claim in his handshake?
491 #Update handshake hashes
492 if contentType == ContentType.handshake:
632 if recordHeader.type == ContentType.handshake:
666 elif recordHeader.type == ContentType.handshake
    [all...]
  /cts/tests/tests/security/src/android/security/cts/
OpenSSLHeartbleedTest.java 107 * Tests that TLS handshake succeeds when the MiTM simply forwards all data without tampering
111 handshake(false, false); method
139 // the handshake with unexpected_message alert (if heartbeats are not supported).
141 handshake(true, client); method
148 // TLS handshake or data exchange failed. Check whether the error was caused by
152 fail("Handshake failed without a fatal alert");
164 // TLS handshake succeeded
173 * Starts the client, server, and the MiTM. Makes the client and server perform a TLS handshake
178 private void handshake( method in class:OpenSSLHeartbleedTest
235 Log.i(TAG, "Handshake completed and application data exchanged")
663 HandshakeMessage handshake = HandshakeMessage.tryParse(record); local
    [all...]
OpenSSLEarlyCCSTest.java 68 // aborting the TLS handshake with an unexpected_message fatal alert.
110 * Tests that TLS handshake succeeds when the MiTM simply forwards all data without tampering
114 handshake(false, false); method
141 // to abort the handshake immediately with unexpected_message alert.
143 handshake(true, client); method
144 // TLS handshake succeeded
146 fail("Handshake succeeded despite early CCS having been injected");
148 // TLS handshake failed
173 * Starts the client, server, and the MiTM. Makes the client and server perform a TLS handshake
178 private void handshake( method in class:OpenSSLEarlyCCSTest
    [all...]
  /external/chromium-trace/trace-viewer/examples/stream_server/
standalone.py 144 from mod_pywebsocket import handshake namespace
155 # 1024 is practically large enough to contain WebSocket handshake lines.
581 handshake.do_handshake(
586 except handshake.VersionException, e:
593 except handshake.HandshakeException, e:
594 # Handshake for ws(s) failed.
601 except handshake.AbortedByUserException, e:
805 help='Allow draft 75 handshake')
807 default=False, help='Strictly check handshake request')
    [all...]
  /external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Java/
Dbg.stg 149 proxy.handshake();
  /external/antlr/antlr-3.4/runtime/C/src/
antlr3debughandlers.c 55 static ANTLR3_BOOLEAN handshake (pANTLR3_DEBUG_EVENT_LISTENER delboy);
125 delboy->handshake = handshake;
194 handshake (pANTLR3_DEBUG_EVENT_LISTENER delboy) function

Completed in 855 milliseconds

1 23 4