Searched refs:getSession (Results 1 - 25 of 31) sorted by relevance

12

/libcore/luni/src/main/java/javax/net/ssl/
H A DSSLSessionContext.java42 public SSLSession getSession(byte[] sessionId); method in interface:SSLSessionContext
H A DSSLSessionBindingEvent.java61 public SSLSession getSession() { method in class:SSLSessionBindingEvent
H A DHandshakeCompletedEvent.java52 public SSLSession getSession() { method in class:HandshakeCompletedEvent
H A DSSLSocket.java188 public abstract SSLSession getSession(); method in class:SSLSocket
H A DSSLEngine.java163 public abstract SSLSession getSession(); method in class:SSLEngine
/libcore/support/src/test/java/libcore/javax/net/ssl/
H A DTestSSLSessions.java69 SSLSession invalid = ssl.getSession();
71 return new TestSSLSessions(invalid, s.server.getSession(), s.client.getSession(), s);
H A DTestSSLEnginePair.java67 SSLSession session = c.clientContext.createSSLEngine().getSession();
/libcore/crypto/src/main/java/org/conscrypt/
H A DServerSessionContext.java55 public SSLSession getSession(byte[] sessionId) { method in class:ServerSessionContext
56 SSLSession session = super.getSession(sessionId);
H A DSSLRecordProtocol.java125 protected SSLSessionImpl getSession() { method in class:SSLRecordProtocol
258 ? (ConnectionState) new ConnectionStateTLS(getSession())
259 : (ConnectionState) new ConnectionStateSSLv3(getSession());
397 setSession(handshakeProtocol.getSession());
H A DClientSessionContext.java69 public SSLSession getSession(String host, int port) { method in class:ClientSessionContext
H A DSSLEngineImpl.java364 * @see javax.net.ssl.SSLEngine#getSession() method
368 public SSLSession getSession() { method in class:SSLEngineImpl
470 session = recordProtocol.getSession();
712 session = recordProtocol.getSession();
H A DHandshakeProtocol.java226 public SSLSessionImpl getSession() { method in class:HandshakeProtocol
276 return recordProtocol.getChangeCipherSpecMesage(getSession());
H A DSSLSocketImpl.java383 * @see javax.net.ssl.SSLSocket#getSession()
387 public SSLSession getSession() { method in class:SSLSocketImpl
789 session = recordProtocol.getSession();
H A DAbstractSessionContext.java261 public SSLSession getSession(byte[] sessionId) { method in class:AbstractSessionContext
/libcore/luni/src/test/java/tests/api/javax/net/ssl/
H A DSSLSessionBindingListenerTest.java65 SSLSession ss = sock.getSession();
79 SSLSession ss = sock.getSession();
H A DSSLSessionBindingEventTest.java45 if (!event.getSession().equals(ses)) {
78 * javax.net.ssl.SSLSessionBindingEvent#getSession()
83 assertEquals("Incorrect session", ses, event.getSession());
H A DSSLSessionContextTest.java67 * javax.net.ssl.SSLSessionContex#getSession(byte[] sessionId)
75 sc.getSession(null);
79 assertNull(sc.getSession(new byte[5]));
H A DSSLSessionTest.java111 SSLSession sess = clientSslContext.getClientSessionContext().getSession(id);
592 clientSession = socket.getSession();
H A DHandshakeCompletedEventTest.java174 * javax.net.ssl.HandshakeCompletedEvent#getSession()
180 SSLSession ss = event.getSession();
/libcore/crypto/src/test/java/org/conscrypt/
H A DClientSessionContextTest.java90 assertSame(s.getPeerHost(), s, context.getSession(s.getId()));
91 assertSame(s.getPeerHost(), s, context.getSession(s.getPeerHost(), 443));
94 assertNull(s.getPeerHost(), context.getSession(s.getId()));
95 assertNull(s.getPeerHost(), context.getSession(s.getPeerHost(), 443));
102 sessions.add(context.getSession(id));
/libcore/luni/src/test/java/libcore/javax/net/ssl/
H A DSSLSessionContextTest.java83 c.clientContext.getClientSessionContext().getSession(null);
87 assertNull(c.clientContext.getClientSessionContext().getSession(new byte[0]));
88 assertNull(c.clientContext.getClientSessionContext().getSession(new byte[1]));
90 c.serverContext.getServerSessionContext().getSession(null);
94 assertNull(c.serverContext.getServerSessionContext().getSession(new byte[0]));
95 assertNull(c.serverContext.getServerSessionContext().getSession(new byte[1]));
102 assertNotNull(client.getSession(clientId));
103 assertTrue(Arrays.equals(clientId, client.getSession(clientId).getId()));
108 assertNotNull(server.getSession(serverId));
109 assertTrue(Arrays.equals(serverId, server.getSession(serverI
[all...]
H A DSSLSocketTest.java285 SSLSession session = ssl.getSession();
299 assertNotNull(server.getSession());
301 server.getSession().getPeerCertificates();
305 Certificate[] localCertificates = server.getSession().getLocalCertificates();
318 assertNotNull(client.getSession());
319 assertNull(client.getSession().getLocalCertificates());
320 Certificate[] peerCertificates = client.getSession().getPeerCertificates();
340 assertNotNull(server.getSession());
341 assertNotNull(server.getSession().getId());
342 return server.getSession()
[all...]
H A DSSLEngineTest.java54 && a.getSession() != null
55 && b.getSession() != null
251 SSLSession session = e.getSession();
381 assertNotNull(p.client.getSession().getLocalCertificates());
382 TestKeyStore.assertChainLength(p.client.getSession().getLocalCertificates());
384 p.client.getSession().getLocalCertificates());
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
H A DMySSLContextSpi.java135 public SSLSession getSession() { return null; } method in class:MySSLContextSpi.tmpSSLEngine
/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/
H A DMySSLContextSpi.java133 public SSLSession getSession() { return null; } method in class:MySSLContextSpi.tmpSSLEngine

Completed in 446 milliseconds

12