Home
last modified time | relevance | path

Searched refs:SSLSession (Results 1 – 25 of 28) sorted by relevance

12

/libcore/support/src/test/java/libcore/javax/net/ssl/
DTestSSLSessions.java19 import javax.net.ssl.SSLSession;
33 public final SSLSession invalid;
38 public final SSLSession server;
43 public final SSLSession client;
51 private TestSSLSessions(SSLSession invalid, in TestSSLSessions()
52 SSLSession server, in TestSSLSessions()
53 SSLSession client, in TestSSLSessions()
69 SSLSession invalid = ssl.getSession(); in create()
DFakeSSLSession.java19 import javax.net.ssl.SSLSession;
24 public class FakeSSLSession implements SSLSession {
DTestSSLEnginePair.java25 import javax.net.ssl.SSLSession;
86 SSLSession session = c.clientContext.createSSLEngine().getSession(); in connect()
/libcore/ojluni/src/main/java/javax/net/ssl/
DSSLSessionBindingEvent.java66 public SSLSessionBindingEvent(SSLSession session, String name) in SSLSessionBindingEvent()
89 public SSLSession getSession() in getSession()
91 return (SSLSession) getSource(); in getSession()
DHandshakeCompletedEvent.java54 private transient SSLSession session;
62 public HandshakeCompletedEvent(SSLSocket sock, SSLSession s) in HandshakeCompletedEvent()
74 public SSLSession getSession() in getSession()
DHostnameVerifier.java55 public boolean verify(String hostname, SSLSession session); in verify()
DSSLSocket.java1100 public abstract SSLSession getSession(); in getSession()
1143 public SSLSession getHandshakeSession() { in getHandshakeSession()
DExtendedSSLSession.java36 public abstract class ExtendedSSLSession implements SSLSession {
DSSLSessionContext.java68 public SSLSession getSession(byte[] sessionId); in getSession()
DSSLEngine.java1612 public abstract SSLSession getSession(); in getSession()
1651 public SSLSession getHandshakeSession() { in getHandshakeSession()
DSSLSession.java65 public interface SSLSession { interface
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DSSLSessionBindingEventTest.java24 import javax.net.ssl.SSLSession;
38 SSLSession ses = new MySSLSession(); in test_ConstructorLjavax_net_ssl_SSLSessionLjava_lang_String()
70 SSLSession ses = new MySSLSession(); in test_getName()
81 SSLSession ses = new MySSLSession(); in test_getSession()
87 class MySSLSession implements SSLSession {
DSSLSessionBindingListenerTest.java22 import javax.net.ssl.SSLSession;
65 SSLSession ss = sock.getSession(); in test_valueBound()
79 SSLSession ss = sock.getSession(); in test_valueUnbound()
DSSLSessionTest.java36 import javax.net.ssl.SSLSession;
58 SSLSession s = clientSession; in test_getPeerHost()
69 SSLSession s = clientSession; in test_invalidate()
131 SSLSession sess = clientSslContext.getClientSessionContext().getSession(id); in test_getId()
220 SSLSession s = clientSession; in test_putValue()
262 SSLSession s = clientSession; in test_getValue()
478 SSLSession clientSession = null;
667 public static void assertSSLSessionsEqual(SSLSession a, SSLSession b) throws Exception { in assertSSLSessionsEqual()
DHttpsURLConnectionTest.java31 import javax.net.ssl.SSLSession;
321 public boolean verify(String hostname, SSLSession session) { in verify()
DHandshakeCompletedEventTest.java36 import javax.net.ssl.SSLSession;
179 SSLSession ss = event.getSession(); in test_getSession()
/libcore/benchmarks/src/benchmarks/regression/
DHostnameVerifierBenchmark.java28 import javax.net.ssl.SSLSession;
57 public boolean verify(String hostname, SSLSession sslSession) { in setUp()
101 private static class FakeSSLSession implements SSLSession {
/libcore/luni/src/test/java/libcore/javax/net/ssl/
DHttpsURLConnectionTest.java26 import javax.net.ssl.SSLSession;
111 public boolean verify(String hostname, SSLSession session) { in verify()
DSSLEngineTest.java39 import javax.net.ssl.SSLSession;
287 SSLSession sourceSession = source.getSession(); in assertSendsCorrectly()
297 SSLSession destSession = dest.getSession(); in assertSendsCorrectly()
440 SSLSession session = e.getSession(); in test_SSLEngine_getSession()
DDefaultHostnameVerifierTest.java37 import javax.net.ssl.SSLSession;
453 private static class StubSSLSession implements SSLSession {
DSSLSocketTest.java96 import javax.net.ssl.SSLSession;
360 SSLSession session = ssl.getSession(); in test_SSLSocket_getSession()
368 SSLSession session = ssl.getHandshakeSession(); in test_SSLSocket_getHandshakeSession()
565 SSLSession session = event.getSession(); in test_SSLSocket_HandshakeCompletedListener()
2299 SSLSession serverSession = server.getSession(); in test_SSLSocket_SNIHostName()
2632 @Override public SSLSession getSession() { return null; } in test_SSLSocket_toString()
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
DMySSLContextSpi.java30 import javax.net.ssl.SSLSession;
135 public SSLSession getSession() { return null; } in getSession()
/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/
DMySSLContextSpi.java30 import javax.net.ssl.SSLSession;
133 public SSLSession getSession() { return null; } in getSession()
DmySSLSession.java17 import javax.net.ssl.SSLSession;
21 public class mySSLSession implements SSLSession {
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/https/
DHttpsURLConnectionTest.java52 import javax.net.ssl.SSLSession;
778 public boolean verify(String hostname, SSLSession session) { in verify()

12