Home
last modified time | relevance | path

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

/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/
DSSLEngineImplTest.java118 server.getSession().invalidate(); in testHandshake()
124 client.getSession().invalidate(); in testHandshake()
128 client.getSession().invalidate(); in testHandshake()
129 server.getSession().invalidate(); in testHandshake()
373 engine.getSession().getPacketBufferSize())); in testSetGetUseClientMode()
401 SSLSession session = engine.getSession(); in testGetSession()
491 client.getSession().getPacketBufferSize(); in testCloseInbound2()
493 server.getSession().getApplicationBufferSize(); in testCloseInbound2()
584 client.getSession().getPacketBufferSize(); in testErrorProcessing()
586 server.getSession().getApplicationBufferSize(); in testErrorProcessing()
[all …]
DSSLSessionContextImplTest.java49 assertTrue(context.getSession(id) != null); in testSSLSessionContextImpl()
52 SSLSession ses = context.getSession(ses1.getId()); in testSSLSessionContextImpl()
55 ses = context.getSession(ses3.getId()); in testSSLSessionContextImpl()
DHandshakeProtocolTest.java108 assertSame(hs_protocol.getSession(), ses); in testcomputerVerifyDataTLS()
152 assertSame(hs_protocol.getSession(), ses); in testComputerReferenceVerifyDataSSLv3()
DSSLSocketImplTest.java767 session[0] = s.getSession(); in testGetSession()
/external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/serialization/
DHandshakeCompletedEventTest.java42 return new Object[] { new HandshakeCompletedEvent(soc, soc.getSession())}; in getData()
52 test.getSession(); in assertDeserialized()
DSSLSessionBindingEventTest.java42 return new Object[] { new SSLSessionBindingEvent(soc.getSession(), "someName")}; in getData()
/external/okhttp/src/main/java/com/squareup/okhttp/internal/http/
DHttpsURLConnectionImpl.java60 return sslSocket.getSession().getCipherSuite(); in getCipherSuite()
73 return sslSocket.getSession().getLocalCertificates(); in getLocalCertificates()
86 return sslSocket.getSession().getPeerCertificates(); in getServerCertificates()
98 return sslSocket.getSession().getPeerPrincipal(); in getPeerPrincipal()
110 return sslSocket.getSession().getLocalPrincipal(); in getLocalPrincipal()
/external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/
DSSLSessionBindingEventTest.java43 assertEquals(ses, event.getSession()); in testSSLSessionBindingEvent()
DHandshakeCompletedEventTest.java149 assertEquals(ses, event.getSession()); in testHandshakeCompletedEvent()
DSSLSocketTest.java159 public SSLSession getSession() { in getSession() method in MySSLSocket
DSSLEngineTest.java419 public SSLSession getSession() { in getSession() method in mySSLEngine
/external/mockwebserver/src/main/java/com/google/mockwebserver/
DRecordedRequest.java48 sslProtocol = sslSocket.getSession().getProtocol(); in RecordedRequest()
/external/apache-harmony/x-net/src/test/java/javax/net/ssl/
DMySSLContextSpi.java135 public SSLSession getSession() { return null; } in getSession() method in MySSLContextSpi.tmpSSLEngine
/external/apache-harmony/x-net/src/test/support/common/java/org/apache/harmony/xnet/tests/support/
DMySSLContextSpi.java143 public SSLSession getSession() { return null; } in getSession() method in MySSLContextSpi.tmpSSLEngine
/external/apache-http/src/org/apache/http/impl/conn/
DAbstractClientConnAdapter.java335 result = ((SSLSocket)sock).getSession(); in getSSLSession()
/external/apache-http/src/org/apache/http/conn/ssl/
DAbstractVerifier.java92 SSLSession session = ssl.getSession(); in verify()
/external/okhttp/src/main/java/com/squareup/okhttp/
DConnection.java156 if (!address.hostnameVerifier.verify(address.uriHost, sslSocket.getSession())) { in upgradeToTls()
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/internal/net/www/protocol/https/
DHttpsURLConnectionTest.java797 SSLSession session = serverPeer.getSession(); in checkConnectionStateParameters()