Home
last modified time | relevance | path

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

12345678

/external/okhttp/repackaged/okhttp-urlconnection/src/main/java/com/android/okhttp/internal/huc/
DDelegatingHttpsURLConnection.java49 protected abstract Handshake handshake(); in handshake() method in DelegatingHttpsURLConnection
60 Handshake handshake = handshake(); in getCipherSuite() local
61 return handshake != null ? handshake.cipherSuite() : null; in getCipherSuite()
65 Handshake handshake = handshake(); in getLocalCertificates() local
66 if (handshake == null) return null; in getLocalCertificates()
67 List<Certificate> result = handshake.localCertificates(); in getLocalCertificates()
72 Handshake handshake = handshake(); in getServerCertificates() local
73 if (handshake == null) return null; in getServerCertificates()
74 List<Certificate> result = handshake.peerCertificates(); in getServerCertificates()
79 Handshake handshake = handshake(); in getPeerPrincipal() local
[all …]
DHttpsURLConnectionImpl.java47 @Override protected Handshake handshake() { in handshake() method in HttpsURLConnectionImpl
56 ? delegate.httpEngine.getResponse().handshake() in handshake()
57 : delegate.handshake; in handshake()
/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() method in Response.Builder
271 this.handshake = handshake; in handshake()
DCache.java476 private final Handshake handshake; field in Entry
558 handshake = Handshake.get(cipherSuite, peerCertificates, localCertificates); in Entry()
560 handshake = null; in Entry()
575 this.handshake = response.handshake(); in Entry()
607 sink.writeUtf8(handshake.cipherSuite()); in writeTo()
609 writeCertList(sink, handshake.peerCertificates()); in writeTo()
610 writeCertList(sink, handshake.localCertificates()); in writeTo()
675 .handshake(handshake) in response()
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/
DResponse.java46 private final Handshake handshake; field in Response
62 this.handshake = builder.handshake; in Response()
115 public Handshake handshake() { in handshake() method in Response
116 return handshake; in handshake()
236 private Handshake handshake; field in Response.Builder
252 this.handshake = response.handshake; in Builder()
280 public Builder handshake(Handshake handshake) { in handshake() method in Response.Builder
281 this.handshake = handshake; in handshake()
DCache.java478 private final Handshake handshake; field in Entry
560 handshake = Handshake.get(cipherSuite, peerCertificates, localCertificates); in Entry()
562 handshake = null; in Entry()
577 this.handshake = response.handshake(); in Entry()
609 sink.writeUtf8(handshake.cipherSuite()); in writeTo()
611 writeCertList(sink, handshake.peerCertificates()); in writeTo()
612 writeCertList(sink, handshake.localCertificates()); in writeTo()
677 .handshake(handshake) in response()
/external/okhttp/repackaged/okhttp-android-support/src/main/java/com/android/okhttp/internal/huc/
DJavaApiConverter.java129 Handshake handshake = Handshake.get( in createOkResponseForCachePut() local
132 okResponseBuilder.handshake(handshake); in createOkResponseForCachePut()
254 Handshake handshake = Handshake.get( in createOkResponseForCacheGet() local
256 okResponseBuilder.handshake(handshake); in createOkResponseForCacheGet()
295 final Handshake handshake = response.handshake(); in createJavaCacheResponse() local
299 return handshake != null ? handshake.cipherSuite() : null; in createJavaCacheResponse()
304 if (handshake == null) return null; in createJavaCacheResponse()
306 List<Certificate> certificates = handshake.localCertificates(); in createJavaCacheResponse()
312 if (handshake == null) return null; in createJavaCacheResponse()
314 List<Certificate> certificates = handshake.peerCertificates(); in createJavaCacheResponse()
[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/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/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/openjdk/src/test/java/org/conscrypt/
DNativeCryptoTest.java978 public static Future<TestSSLHandshakeCallbacks> handshake(final ServerSocket listener, in handshake() method in NativeCryptoTest
1076 Future<TestSSLHandshakeCallbacks> client = handshake(listener, 0, true, cHooks, null, null); in test_SSL_do_handshake_normal()
1078 handshake(listener, 0, false, sHooks, null, null); in test_SSL_do_handshake_normal()
1103 Future<TestSSLHandshakeCallbacks> client1 = handshake(listener, 0, true, new ClientHooks() { in test_SSL_do_handshake_reusedSession()
1109 Future<TestSSLHandshakeCallbacks> server1 = handshake(listener, 0, in test_SSL_do_handshake_reusedSession()
1139 Future<TestSSLHandshakeCallbacks> client2 = handshake(listener, 0, true, new ClientHooks() { in test_SSL_do_handshake_reusedSession()
1147 Future<TestSSLHandshakeCallbacks> server2 = handshake(listener, 0, in test_SSL_do_handshake_reusedSession()
1201 Future<TestSSLHandshakeCallbacks> client = handshake(listener, 0, true, cHooks, null, null); in test_SSL_do_handshake_optional_client_certificate()
1203 handshake(listener, 0, false, sHooks, null, null); in test_SSL_do_handshake_optional_client_certificate()
1252 handshake(listener, 0, true, cHooks, null, null); in test_SSL_do_handshake_missing_required_certificate()
[all …]
/external/grpc-grpc-java/alts/src/main/proto/grpc/gcp/
Dhandshaker.proto27 // TLS handshake protocol.
30 // Application Layer Transport Security handshake protocol.
76 // identity of the server, handshake will fail.
116 // the server) mapped by the handshake protocol. Each handshake security
147 // The start client handshake request message.
150 // The start server handshake request message.
153 // The next handshake request message.
173 // The local identity used in the handshake.
178 // post-handshake messages in the future.
202 // that part of in_bytes in HandshakerReq was unrelated to the handshake
[all …]
/external/grpc-grpc/test/core/tsi/alts/fake_handshaker/
Dhandshaker.proto27 // TLS handshake protocol.
30 // Application Layer Transport Security handshake protocol.
76 // identity of the server, handshake will fail.
116 // the server) mapped by the handshake protocol. Each handshake security
147 // The start client handshake request message.
150 // The start server handshake request message.
153 // The next handshake request message.
173 // The local identity used in the handshake.
178 // post-handshake messages in the future.
202 // that part of in_bytes in HandshakerReq was unrelated to the handshake
[all …]
/external/grpc-grpc/src/core/tsi/alts/handshaker/proto/
Dhandshaker.proto27 // TLS handshake protocol.
30 // Application Layer Transport Security handshake protocol.
76 // identity of the server, handshake will fail.
116 // the server) mapped by the handshake protocol. Each handshake security
147 // The start client handshake request message.
150 // The start server handshake request message.
153 // The next handshake request message.
173 // The local identity used in the handshake.
178 // post-handshake messages in the future.
202 // that part of in_bytes in HandshakerReq was unrelated to the handshake
[all …]
/external/conscrypt/repackaged/openjdk/src/test/java/com/android/org/conscrypt/
DNativeCryptoTest.java986 public static Future<TestSSLHandshakeCallbacks> handshake(final ServerSocket listener, in handshake() method in NativeCryptoTest
1084 Future<TestSSLHandshakeCallbacks> client = handshake(listener, 0, true, cHooks, null, null); in test_SSL_do_handshake_normal()
1086 handshake(listener, 0, false, sHooks, null, null); in test_SSL_do_handshake_normal()
1111 Future<TestSSLHandshakeCallbacks> client1 = handshake(listener, 0, true, new ClientHooks() { in test_SSL_do_handshake_reusedSession()
1117 Future<TestSSLHandshakeCallbacks> server1 = handshake(listener, 0, in test_SSL_do_handshake_reusedSession()
1147 Future<TestSSLHandshakeCallbacks> client2 = handshake(listener, 0, true, new ClientHooks() { in test_SSL_do_handshake_reusedSession()
1155 Future<TestSSLHandshakeCallbacks> server2 = handshake(listener, 0, in test_SSL_do_handshake_reusedSession()
1209 Future<TestSSLHandshakeCallbacks> client = handshake(listener, 0, true, cHooks, null, null); in test_SSL_do_handshake_optional_client_certificate()
1211 handshake(listener, 0, false, sHooks, null, null); in test_SSL_do_handshake_optional_client_certificate()
1260 handshake(listener, 0, true, cHooks, null, null); in test_SSL_do_handshake_missing_required_certificate()
[all …]
/external/ukey2/
DREADME.md23 receives a message on the next protocol from the client it does not know that the handshake
75 BAD_HANDSHAKE_CIPHER = 102; // No suitable handshake ciphers were found
98 UKEY2 supports negotiation of the cryptographic primitives used in the handshake. Two primitives
113 handshake ciphersuite negotiation is (see ClientInit and ServerInit messages for full details):
116 … public key using the chosen cipher and sends its own list of supported handshake cipher suites so…
121 The UKEY2 handshake consists of three messages. First, the client sends a `ClientInit` message to
128 After the handshake, both client and server derive authentication strings, which may be shown to
129 users for visual comparison or sent over some other channel in order to authenticate the handshake.
155handshake cipher and a commitment which is a hash of the `ClientFinished` message that would be se…
207 1. Check that `handshake_cipher` matches a handshake cipher that was sent in
[all …]
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/io/
DRealConnection.java82 private Handshake handshake; field in RealConnection
124 handshake = null; in connect()
223 handshake = unverifiedHandshake; in connectTls()
383 return handshake; in getHandshake()
406 + (handshake != null ? handshake.cipherSuite() : "none") in toString()
/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.java134 handshake(handshakeTimeout); in accept()
194 handshake(handshakeTimeout); in attach()
303 protected void handshake(long handshakeTimeout) throws IOException { in handshake() method in SocketTransportWrapper
/external/antlr/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()

12345678