Home
last modified time | relevance | path

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

12

/external/conscrypt/openjdk-integ-tests/src/test/java/libcore/javax/net/ssl/
DSSLSessionContextTest.java68 c.clientContext.getClientSessionContext().getSession(null); in test_SSLSessionContext_getSession()
73 assertNull(c.clientContext.getClientSessionContext().getSession(new byte[0])); in test_SSLSessionContext_getSession()
74 assertNull(c.clientContext.getClientSessionContext().getSession(new byte[1])); in test_SSLSessionContext_getSession()
76 c.serverContext.getServerSessionContext().getSession(null); in test_SSLSessionContext_getSession()
81 assertNull(c.serverContext.getServerSessionContext().getSession(new byte[0])); in test_SSLSessionContext_getSession()
82 assertNull(c.serverContext.getServerSessionContext().getSession(new byte[1])); in test_SSLSessionContext_getSession()
89 assertNotNull(client.getSession(clientId)); in test_SSLSessionContext_getSession()
90 assertTrue(Arrays.equals(clientId, client.getSession(clientId).getId())); in test_SSLSessionContext_getSession()
95 assertNotNull(server.getSession(serverId)); in test_SSLSessionContext_getSession()
96 assertTrue(Arrays.equals(serverId, server.getSession(serverId).getId())); in test_SSLSessionContext_getSession()
DSSLSocketTest.java403 SSLSession session = ssl.getSession(); in test_SSLSocket_getSession()
424 assertNotNull(server.getSession()); in test_SSLSocket_startHandshake()
427 server.getSession().getPeerCertificates(); in test_SSLSocket_startHandshake()
432 Certificate[] localCertificates = server.getSession().getLocalCertificates(); in test_SSLSocket_startHandshake()
441 assertNotNull(client.getSession()); in test_SSLSocket_startHandshake()
442 assertNull(client.getSession().getLocalCertificates()); in test_SSLSocket_startHandshake()
443 Certificate[] peerCertificates = client.getSession().getPeerCertificates(); in test_SSLSocket_startHandshake()
462 assertNotNull(server.getSession()); in call()
463 assertNotNull(server.getSession().getId()); in call()
464 return server.getSession().getId(); in call()
[all …]
DSSLEngineTest.java276 SSLSession sourceSession = source.getSession(); in assertSendsCorrectly()
281 String sourceCipherSuite = source.getSession().getCipherSuite(); in assertSendsCorrectly()
286 SSLSession destSession = dest.getSession(); in assertSendsCorrectly()
445 SSLSession session = e.getSession(); in test_SSLEngine_getSession()
623 assertNotNull(p.client.getSession().getLocalCertificates());
624 TestKeyStore.assertChainLength(p.client.getSession().getLocalCertificates());
626 clientAuthContext.clientTrustManager, p.client.getSession().getLocalCertificates());
882 && a.getSession() != null && b.getSession() != null && !a.isInboundDone()
/external/conscrypt/testing/src/main/java/libcore/javax/net/ssl/
DTestSSLSessions.java65 SSLSession invalid = ssl.getSession(); in create()
67 return new TestSSLSessions(invalid, s.server.getSession(), s.client.getSession(), s); in create()
/external/conscrypt/common/src/main/java/org/conscrypt/
DConscryptEngineSocket.java222 public SSLSession getSession() { in getSession() method in ConscryptEngineSocket
223 SSLSession session = engine.getSession(); in getSession()
239 session = engine.getSession(); in getSession()
246 return engine.getSession(); in getActiveSession()
543 target = ByteBuffer.allocateDirect(engine.getSession().getPacketBufferSize()); in init()
545 target = ByteBuffer.allocate(engine.getSession().getPacketBufferSize()); in init()
578 fromEngine = ByteBuffer.allocateDirect(engine.getSession().getApplicationBufferSize()); in SSLInputStream()
708 ByteBuffer.allocateDirect(engine.getSession().getPacketBufferSize()); in init()
710 fromSocket = ByteBuffer.allocate(engine.getSession().getPacketBufferSize()); in init()
DClientSessionContext.java60 SslSessionWrapper session = getSession(hostName, port); in getCachedSession()
103 private SslSessionWrapper getSession(String host, int port) { in getSession() method in ClientSessionContext
/external/conscrypt/openjdk/src/test/java/org/conscrypt/
DConscryptEngineTest.java182 ByteBuffer out = bufferType.newBuffer(clientEngine.getSession().getPacketBufferSize()); in exchangeMessages()
223 bufferType.newBuffer(clientEngine.getSession().getPacketBufferSize()); in exchangeLargeMessage()
298 bufferType.newBuffer(clientEngine.getSession().getApplicationBufferSize()); in setupEngines()
300 bufferType.newBuffer(serverEngine.getSession().getApplicationBufferSize()); in setupEngines()
301 clientPacketBuffer = bufferType.newBuffer(clientEngine.getSession().getPacketBufferSize()); in setupEngines()
302 serverPacketBuffer = bufferType.newBuffer(serverEngine.getSession().getPacketBufferSize()); in setupEngines()
/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/benchmark-base/src/main/java/org/conscrypt/
DBufferType.java42 return newBuffer(engine.getSession().getApplicationBufferSize()); in newApplicationBuffer()
46 return newBuffer(engine.getSession().getPacketBufferSize()); in newPacketBuffer()
DEngineWrapBenchmark.java95 preEncryptedBuffer = bufferType.newBuffer(clientEngine.getSession().getPacketBufferSize()); in EngineWrapBenchmark()
/external/google-tv-pairing-protocol/java/src/com/google/polo/pairing/
DPairingContext.java88 Certificate localCert = PoloUtil.getLocalCert(socket.getSession()); in fromSslSocket()
89 Certificate peerCert = PoloUtil.getPeerCert(socket.getSession()); in fromSslSocket()
/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.java66 @Override public HttpSession getSession() { in getSession() method in ContinuingHttpServletRequest
70 @Override public HttpSession getSession(boolean create) { in getSession() method in ContinuingHttpServletRequest
DInternalServletModule.java114 return GuiceFilter.getRequest(Key.get(HttpSession.class)).getSession(); in provideHttpSession()
/external/testng/src/test/java/test/guice/
DMyContext.java5 MySession getSession(); in getSession() method
DMyContextImpl.java8 public MySession getSession() { in getSession() method in MyContextImpl
DGuiceTestModule.java16 bind(MySession.class).toInstance(myContext.getSession()); in configure()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DDelegatingSSLSocket.java72 @Override public SSLSession getSession() { in getSession() method in DelegatingSSLSocket
73 return delegate.getSession(); in getSession()
/external/conscrypt/android/src/main/java/org/conscrypt/
DPreKitKatPlatformOpenSSLSocketImplAdapter.java307 public SSLSession getSession() { in getSession() method in PreKitKatPlatformOpenSSLSocketImplAdapter
308 return delegate.getSession(); in getSession()
DKitKatPlatformOpenSSLSocketImplAdapter.java307 public SSLSession getSession() { in getSession() method in KitKatPlatformOpenSSLSocketImplAdapter
308 return delegate.getSession(); in getSession()
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/
DRecordedRequest.java47 ? TlsVersion.forJavaName(((SSLSocket) socket).getSession().getProtocol()) in RecordedRequest()
/external/llvm/include/llvm/DebugInfo/PDB/
DPDBSymbol.h89 const IPDBSession &getSession() const { return Session; } in getSession() function
/external/guice/extensions/servlet/test/com/google/inject/servlet/
DServletTestUtils.java83 @Override public HttpSession getSession() { in newFakeHttpServletRequest() method
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/io/
DRealConnection.java193 Handshake unverifiedHandshake = Handshake.get(sslSocket.getSession()); in connectTls()
196 if (!address.getHostnameVerifier().verify(address.getUriHost(), sslSocket.getSession())) { in connectTls()

12