Home
last modified time | relevance | path

Searched refs:getSession (Results 1 – 25 of 83) sorted by relevance

1234

/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/javax/net/ssl/
DSSLSessionContextTest.java107 c.clientContext.getClientSessionContext().getSession(null); in test_SSLSessionContext_getSession()
112 assertNull(c.clientContext.getClientSessionContext().getSession(new byte[0])); in test_SSLSessionContext_getSession()
113 assertNull(c.clientContext.getClientSessionContext().getSession(new byte[1])); in test_SSLSessionContext_getSession()
115 c.serverContext.getServerSessionContext().getSession(null); in test_SSLSessionContext_getSession()
120 assertNull(c.serverContext.getServerSessionContext().getSession(new byte[0])); in test_SSLSessionContext_getSession()
121 assertNull(c.serverContext.getServerSessionContext().getSession(new byte[1])); in test_SSLSessionContext_getSession()
128 assertNotNull(client.getSession(clientId)); in test_SSLSessionContext_getSession()
129 assertTrue(Arrays.equals(clientId, client.getSession(clientId).getId())); in test_SSLSessionContext_getSession()
134 assertNotNull(server.getSession(serverId)); in test_SSLSessionContext_getSession()
135 assertTrue(Arrays.equals(serverId, server.getSession(serverId).getId())); in test_SSLSessionContext_getSession()
DSSLEngineVersionCompatibilityTest.java117 SSLSession sourceSession = source.getSession(); in assertSendsCorrectly()
122 String sourceCipherSuite = source.getSession().getCipherSuite(); in assertSendsCorrectly()
127 SSLSession destSession = dest.getSession(); in assertSendsCorrectly()
165 SSLSession sourceSession = source.getSession(); in assertSendsCorrectlyWhenSplit()
169 String sourceCipherSuite = source.getSession().getCipherSuite(); in assertSendsCorrectlyWhenSplit()
173 SSLSession destSession = dest.getSession(); in assertSendsCorrectlyWhenSplit()
281 assertNotNull(p.client.getSession().getLocalCertificates()); in test_SSLEngine_clientAuth()
282 TestKeyStore.assertChainLength(p.client.getSession().getLocalCertificates()); in test_SSLEngine_clientAuth()
284 clientAuthContext.clientTrustManager, p.client.getSession().getLocalCertificates()); in test_SSLEngine_clientAuth()
443 .allocate(pair.client.getSession().getPacketBufferSize()); in test_SSLEngine_CloseOutbound()
[all …]
DSSLSocketVersionCompatibilityTest.java177 assertNotNull(server.getSession()); in test_SSLSocket_startHandshake()
180 server.getSession().getPeerCertificates(); in test_SSLSocket_startHandshake()
185 Certificate[] localCertificates = server.getSession().getLocalCertificates(); in test_SSLSocket_startHandshake()
196 assertNotNull(client.getSession()); in test_SSLSocket_startHandshake()
197 assertNull(client.getSession().getLocalCertificates()); in test_SSLSocket_startHandshake()
198 Certificate[] peerCertificates = client.getSession().getPeerCertificates(); in test_SSLSocket_startHandshake()
217 assertNotNull(server.getSession()); in call()
218 assertNotNull(server.getSession().getId()); in call()
219 return server.getSession().getId(); in call()
234 assertNotNull(client1.getSession()); in test_SSLSocket_confirmSessionReuse()
[all …]
DSSLEngineTest.java309 SSLSession sourceSession = source.getSession(); in assertSendsCorrectly()
314 String sourceCipherSuite = source.getSession().getCipherSuite(); in assertSendsCorrectly()
319 SSLSession destSession = dest.getSession(); in assertSendsCorrectly()
357 SSLSession sourceSession = source.getSession(); in assertSendsCorrectlyWhenSplit()
361 String sourceCipherSuite = source.getSession().getCipherSuite(); in assertSendsCorrectlyWhenSplit()
365 SSLSession destSession = dest.getSession(); in assertSendsCorrectlyWhenSplit()
537 SSLSession session = e.getSession(); in test_SSLEngine_getSession()
1129 && a.getSession() != null && b.getSession() != null && !a.isInboundDone()
/external/conscrypt/common/src/test/java/org/conscrypt/javax/net/ssl/
DSSLSessionContextTest.java103 c.clientContext.getClientSessionContext().getSession(null); in test_SSLSessionContext_getSession()
108 assertNull(c.clientContext.getClientSessionContext().getSession(new byte[0])); in test_SSLSessionContext_getSession()
109 assertNull(c.clientContext.getClientSessionContext().getSession(new byte[1])); in test_SSLSessionContext_getSession()
111 c.serverContext.getServerSessionContext().getSession(null); in test_SSLSessionContext_getSession()
116 assertNull(c.serverContext.getServerSessionContext().getSession(new byte[0])); in test_SSLSessionContext_getSession()
117 assertNull(c.serverContext.getServerSessionContext().getSession(new byte[1])); in test_SSLSessionContext_getSession()
124 assertNotNull(client.getSession(clientId)); in test_SSLSessionContext_getSession()
125 assertTrue(Arrays.equals(clientId, client.getSession(clientId).getId())); in test_SSLSessionContext_getSession()
130 assertNotNull(server.getSession(serverId)); in test_SSLSessionContext_getSession()
131 assertTrue(Arrays.equals(serverId, server.getSession(serverId).getId())); in test_SSLSessionContext_getSession()
DSSLEngineVersionCompatibilityTest.java115 SSLSession sourceSession = source.getSession(); in assertSendsCorrectly()
120 String sourceCipherSuite = source.getSession().getCipherSuite(); in assertSendsCorrectly()
125 SSLSession destSession = dest.getSession(); in assertSendsCorrectly()
163 SSLSession sourceSession = source.getSession(); in assertSendsCorrectlyWhenSplit()
167 String sourceCipherSuite = source.getSession().getCipherSuite(); in assertSendsCorrectlyWhenSplit()
171 SSLSession destSession = dest.getSession(); in assertSendsCorrectlyWhenSplit()
279 assertNotNull(p.client.getSession().getLocalCertificates()); in test_SSLEngine_clientAuth()
280 TestKeyStore.assertChainLength(p.client.getSession().getLocalCertificates()); in test_SSLEngine_clientAuth()
282 clientAuthContext.clientTrustManager, p.client.getSession().getLocalCertificates()); in test_SSLEngine_clientAuth()
441 .allocate(pair.client.getSession().getPacketBufferSize()); in test_SSLEngine_CloseOutbound()
[all …]
DSSLSocketVersionCompatibilityTest.java175 assertNotNull(server.getSession()); in test_SSLSocket_startHandshake()
178 server.getSession().getPeerCertificates(); in test_SSLSocket_startHandshake()
183 Certificate[] localCertificates = server.getSession().getLocalCertificates(); in test_SSLSocket_startHandshake()
194 assertNotNull(client.getSession()); in test_SSLSocket_startHandshake()
195 assertNull(client.getSession().getLocalCertificates()); in test_SSLSocket_startHandshake()
196 Certificate[] peerCertificates = client.getSession().getPeerCertificates(); in test_SSLSocket_startHandshake()
215 assertNotNull(server.getSession()); in call()
216 assertNotNull(server.getSession().getId()); in call()
217 return server.getSession().getId(); in call()
232 assertNotNull(client1.getSession()); in test_SSLSocket_confirmSessionReuse()
[all …]
DSSLEngineTest.java305 SSLSession sourceSession = source.getSession(); in assertSendsCorrectly()
310 String sourceCipherSuite = source.getSession().getCipherSuite(); in assertSendsCorrectly()
315 SSLSession destSession = dest.getSession(); in assertSendsCorrectly()
353 SSLSession sourceSession = source.getSession(); in assertSendsCorrectlyWhenSplit()
357 String sourceCipherSuite = source.getSession().getCipherSuite(); in assertSendsCorrectlyWhenSplit()
361 SSLSession destSession = dest.getSession(); in assertSendsCorrectlyWhenSplit()
533 SSLSession session = e.getSession(); in test_SSLEngine_getSession()
1125 && a.getSession() != null && b.getSession() != null && !a.isInboundDone()
/external/conscrypt/testing/src/main/java/org/conscrypt/javax/net/ssl/
DTestSSLSessions.java70 SSLSession invalid = ssl.getSession(); in create()
72 return new TestSSLSessions(invalid, s.server.getSession(), s.client.getSession(), s); in create()
/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/javax/net/ssl/
DTestSSLSessions.java72 SSLSession invalid = ssl.getSession(); in create()
74 return new TestSSLSessions(invalid, s.server.getSession(), s.client.getSession(), s); in create()
/external/conscrypt/common/src/main/java/org/conscrypt/
DConscryptEngineSocket.java253 Platform.countTlsHandshake(true, engine.getSession().getProtocol(),
254 engine.getSession().getCipherSuite(),
266 Platform.countTlsHandshake(false, engine.getSession().getProtocol(),
267 engine.getSession().getCipherSuite(),
310 public final SSLSession getSession() {
318 return engine.getSession();
323 return engine.getSession();
616 target = ByteBuffer.allocate(engine.getSession().getPacketBufferSize());
727 engine.getSession().getApplicationBufferSize());
731 … fromEngine = ByteBuffer.allocateDirect(engine.getSession().getApplicationBufferSize());
[all …]
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DConscryptEngineSocket.java261 Platform.countTlsHandshake(true, engine.getSession().getProtocol(),
262 engine.getSession().getCipherSuite(),
274 Platform.countTlsHandshake(false, engine.getSession().getProtocol(),
275 engine.getSession().getCipherSuite(),
318 public final SSLSession getSession() {
326 return engine.getSession();
331 return engine.getSession();
632 target = ByteBuffer.allocate(engine.getSession().getPacketBufferSize());
743 engine.getSession().getApplicationBufferSize());
747 … fromEngine = ByteBuffer.allocateDirect(engine.getSession().getApplicationBufferSize());
[all …]
/external/conscrypt/benchmark-base/src/main/java/org/conscrypt/
DBufferType.java42 return newBuffer(engine.getSession().getApplicationBufferSize()); in newApplicationBuffer()
46 return newBuffer(engine.getSession().getPacketBufferSize()); in newPacketBuffer()
/external/conscrypt/repackaged/benchmark-base/src/main/java/com/android/org/conscrypt/
DBufferType.java44 return newBuffer(engine.getSession().getApplicationBufferSize()); in newApplicationBuffer()
48 return newBuffer(engine.getSession().getPacketBufferSize()); in newPacketBuffer()
/external/llvm/tools/llvm-pdbdump/
DFunctionDumper.cpp40 Symbol.getSession().template getConcreteSymbolById<PDBSymbolTypeUDT>( in dumpClassParentWithScopeOperator()
60 Symbol.getSession().getConcreteSymbolById<PDBSymbolTypeUDT>( in start()
199 auto ElementType = Symbol.getSession().getSymbolById(ElementTypeId); in dump()
223 auto Type = Symbol.getSession().getSymbolById(TypeId); in dump()
236 auto PointeeType = Symbol.getSession().getSymbolById(PointeeId); in dump()
DTypedefDumper.cpp33 if (auto TypeSymbol = Symbol.getSession().getSymbolById(TargetId)) in start()
57 auto PointeeType = Symbol.getSession().getSymbolById(PointeeId); in dump()
/external/conscrypt/repackaged/openjdk/src/test/java/com/android/org/conscrypt/
DRenegotiationTest.java120 String initialCipher = client.socket.getSession().getCipherSuite(); in test()
129 assertNotEquals(initialCipher, client.socket.getSession().getCipherSuite()); in test()
247 ByteBuffer.allocateDirect(engine.getSession().getPacketBufferSize());
249 ByteBuffer.allocateDirect(engine.getSession().getApplicationBufferSize());
251 ByteBuffer.allocateDirect(engine.getSession().getPacketBufferSize());
330 String currentCipher = engine.getSession().getCipherSuite();
DConscryptEngineTest.java171 bufferType.newBuffer(Math.max(clientEngine.getSession().getPacketBufferSize(), in closingOutboundAfterHandshakeShouldOnlyCloseOutbound()
172 serverEngine.getSession().getPacketBufferSize())); in closingOutboundAfterHandshakeShouldOnlyCloseOutbound()
396 SSLSession session = clientEngine.getSession(); in savedSessionWorksAfterClose()
439 bufferType.newBuffer(clientEngine.getSession().getApplicationBufferSize()); in doHandshake()
441 bufferType.newBuffer(clientEngine.getSession().getPacketBufferSize()); in doHandshake()
443 bufferType.newBuffer(serverEngine.getSession().getApplicationBufferSize()); in doHandshake()
445 bufferType.newBuffer(serverEngine.getSession().getPacketBufferSize()); in doHandshake()
496 bufferType.newBuffer(engine.getSession().getPacketBufferSize()); in wrap()
/external/conscrypt/openjdk/src/test/java/org/conscrypt/
DRenegotiationTest.java115 String initialCipher = client.socket.getSession().getCipherSuite(); in test()
124 assertNotEquals(initialCipher, client.socket.getSession().getCipherSuite()); in test()
242 ByteBuffer.allocateDirect(engine.getSession().getPacketBufferSize());
244 ByteBuffer.allocateDirect(engine.getSession().getApplicationBufferSize());
246 ByteBuffer.allocateDirect(engine.getSession().getPacketBufferSize());
325 String currentCipher = engine.getSession().getCipherSuite();
DConscryptEngineTest.java164 Math.max(clientEngine.getSession().getPacketBufferSize(), in closingOutboundAfterHandshakeShouldOnlyCloseOutbound()
165 serverEngine.getSession().getPacketBufferSize())); in closingOutboundAfterHandshakeShouldOnlyCloseOutbound()
387 SSLSession session = clientEngine.getSession(); in savedSessionWorksAfterClose()
430 bufferType.newBuffer(clientEngine.getSession().getApplicationBufferSize()); in doHandshake()
432 bufferType.newBuffer(clientEngine.getSession().getPacketBufferSize()); in doHandshake()
434 bufferType.newBuffer(serverEngine.getSession().getApplicationBufferSize()); in doHandshake()
436 bufferType.newBuffer(serverEngine.getSession().getPacketBufferSize()); in doHandshake()
487 bufferType.newBuffer(engine.getSession().getPacketBufferSize()); in wrap()
/external/apache-http/android/src/android/net/http/
DCertificateChainValidator.java113 SSLSession sslSession = sslSocket.getSession(); in doHandshakeAndValidateServerCertificates()
120 sslSocket.getSession().getPeerCertificates(); in doHandshakeAndValidateServerCertificates()
278 SSLSession session = socket.getSession(); in closeSocketThrowException()
/external/guice/extensions/servlet/src/com/google/inject/servlet/
DContinuingHttpServletRequest.java64 public HttpSession getSession() { in getSession() method in ContinuingHttpServletRequest
69 public HttpSession getSession(boolean create) { in getSession() method in ContinuingHttpServletRequest
/external/testng/src/test/java/test/guice/
DMyContext.java5 MySession getSession(); in getSession() method
DMyContextImpl.java8 public MySession getSession() { in getSession() method in MyContextImpl
/external/llvm-project/llvm/tools/llvm-pdbutil/
DPrettyFunctionDumper.cpp39 Symbol.getSession().template getConcreteSymbolById<PDBSymbolTypeUDT>( in dumpClassParentWithScopeOperator()
62 Symbol.getSession().getConcreteSymbolById<PDBSymbolTypeUDT>( in start()
230 auto Type = Symbol.getSession().getSymbolById(TypeId); in dump()

1234