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()
DSSLSocket.java1143 public abstract SSLSession getSession(); in getSession()
1186 public SSLSession getHandshakeSession() { in getHandshakeSession()
DHostnameVerifier.java55 public boolean verify(String hostname, SSLSession session); in verify()
DExtendedSSLSession.java36 public abstract class ExtendedSSLSession implements SSLSession {
DSSLSessionContext.java68 public SSLSession getSession(byte[] sessionId); in getSession()
DSSLEngine.java1651 public abstract SSLSession getSession(); in getSession()
1690 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()
183 SSLSession s = clientSession; in test_putValue()
225 SSLSession s = clientSession; in test_getValue()
441 SSLSession clientSession = null;
630 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()
DSSLEngineTest.java39 import javax.net.ssl.SSLSession;
1065 @Override public SSLSession getSession() { return null; } in getRawEngine()
/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/
DSSLSocketTest.java23 import javax.net.ssl.SSLSession;
39 @Override public SSLSession getSession() { return null; } in getSession()
DSSLEngineTest.java26 import javax.net.ssl.SSLSession;
49 @Override public SSLSession getSession() { return null; } in getSession()
DDefaultHostnameVerifierTest.java37 import javax.net.ssl.SSLSession;
449 private static class StubSSLSession implements SSLSession {
/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()
/libcore/luni/src/test/java/libcore/java/net/
DURLConnectionTest.java87 import javax.net.ssl.SSLSession;
3390 public boolean verify(String hostname, SSLSession session) {
3639 @Override public SSLSession getSession() {

12