HomeSort by relevance Sort by last modified time
    Searched full:sslsession (Results 1 - 25 of 90) sorted by null

1 2 3 4

  /libcore/luni/src/test/java/org/apache/harmony/xnet/provider/jsse/
ClientSessionContextTest.java 22 import javax.net.ssl.SSLSession;
30 SSLSession a = new ValidSSLSession("a");
31 SSLSession b = new ValidSSLSession("b");
34 assertSessionContextContents(context, new SSLSession[] { a }, new SSLSession[] { b });
37 assertSessionContextContents(context, new SSLSession[] { a, b }, new SSLSession[0]);
48 assertSessionContextContents(context, new SSLSession[] { a }, new SSLSession[] { b, c, d });
51 assertSessionContextContents(context, new SSLSession[] { a, b }, new SSLSession[] { c, d })
    [all...]
  /external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/
SSLSessionBindingEventTest.java 24 import javax.net.ssl.SSLSession;
39 SSLSession ses = new MySSLSession();
47 class MySSLSession implements SSLSession {
49 * @see javax.net.ssl.SSLSession#getApplicationBufferSize()
56 * @see javax.net.ssl.SSLSession#getCipherSuite()
63 * @see javax.net.ssl.SSLSession#getCreationTime()
70 * @see javax.net.ssl.SSLSession#getId()
77 * @see javax.net.ssl.SSLSession#getLastAccessedTime()
84 * @see javax.net.ssl.SSLSession#getLocalCertificates()
91 * @see javax.net.ssl.SSLSession#getLocalPrincipal(
    [all...]
HandshakeCompletedEventTest.java 26 import javax.net.ssl.SSLSession;
87 SSLSession ses = new MySSLSession();
98 SSLSession ses = new MySSLSession();
120 SSLSession ses = new MySSLSession();
133 SSLSession ses = new MySSLSession();
146 SSLSession ses = new MySSLSession();
  /libcore/support/src/test/java/libcore/javax/net/ssl/
TestSSLSessions.java 19 import javax.net.ssl.SSLSession;
26 * client/server pair of SSLSession as well as an invalid SSLSession.
33 public final SSLSession invalid;
38 public final SSLSession server;
43 public final SSLSession client;
51 private TestSSLSessions(SSLSession invalid,
52 SSLSession server,
53 SSLSession client,
69 SSLSession invalid = ssl.getSession()
    [all...]
FakeSSLSession.java 19 import javax.net.ssl.SSLSession;
24 public class FakeSSLSession implements SSLSession {
  /libcore/luni/src/test/java/tests/api/javax/net/ssl/
SSLSessionBindingEventTest.java 24 import javax.net.ssl.SSLSession;
38 SSLSession ses = new MySSLSession();
70 SSLSession ses = new MySSLSession();
81 SSLSession ses = new MySSLSession();
87 class MySSLSession implements SSLSession {
89 * @see javax.net.ssl.SSLSession#getApplicationBufferSize()
96 * @see javax.net.ssl.SSLSession#getCipherSuite()
103 * @see javax.net.ssl.SSLSession#getCreationTime()
110 * @see javax.net.ssl.SSLSession#getId()
117 * @see javax.net.ssl.SSLSession#getLastAccessedTime(
    [all...]
SSLSessionTest.java 33 import javax.net.ssl.SSLSession;
49 * javax.net.ssl.SSLSession#getPeerHost()
50 * javax.net.ssl.SSLSession#getPeerPort()
53 SSLSession s = clientSession;
59 * javax.net.ssl.SSLSession#invalidate()
60 * javax.net.ssl.SSLSession#isValid()
63 SSLSession s = clientSession;
70 * javax.net.ssl.SSLSession#getPeerPrincipal()
81 * javax.net.ssl.SSLSession#getApplicationBufferSize()
88 * javax.net.ssl.SSLSession#getCipherSuite(
    [all...]
SSLSessionBindingListenerTest.java 22 import javax.net.ssl.SSLSession;
65 SSLSession ss = sock.getSession();
79 SSLSession ss = sock.getSession();
  /libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/
AbstractSessionContext.java 32 import javax.net.ssl.SSLSession;
49 private final Map<ByteArray, SSLSession> sessions
50 = new LinkedHashMap<ByteArray, SSLSession>() {
53 Map.Entry<ByteArray, SSLSession> eldest) {
77 private Iterator<SSLSession> sessionIterator() {
79 SSLSession[] array = sessions.values().toArray(
80 new SSLSession[sessions.size()]);
86 final Iterator<SSLSession> i = sessionIterator();
88 private SSLSession next;
94 SSLSession session = i.next()
    [all...]
SSLClientSessionCache.java 19 import javax.net.ssl.SSLSession;
22 * A persistent {@link javax.net.ssl.SSLSession} cache used by
28 * {@code SSLSession}s into raw bytes and vice versa. The exact makeup of the
37 * @param host from {@link javax.net.ssl.SSLSession#getPeerHost()}
38 * @param port from {@link javax.net.ssl.SSLSession#getPeerPort()}
52 public void putSessionData(SSLSession session, byte[] sessionData);
SSLServerSessionCache.java 19 import javax.net.ssl.SSLSession;
22 * A persistent {@link javax.net.ssl.SSLSession} cache used by
29 * {@code SSLSession}s into raw bytes and vice versa. The exact makeup of the
38 * @param id from {@link javax.net.ssl.SSLSession#getId()}
51 public void putSessionData(SSLSession session, byte[] sessionData);
ServerSessionContext.java 19 import javax.net.ssl.SSLSession;
52 protected void sessionRemoved(SSLSession session) {}
55 public SSLSession getSession(byte[] sessionId) {
56 SSLSession session = super.getSession(sessionId);
77 void putSession(SSLSession session) {
ClientSessionContext.java 21 import javax.net.ssl.SSLSession;
33 final Map<HostAndPort, SSLSession> sessionsByHostAndPort
34 = new HashMap<HostAndPort, SSLSession>();
50 protected void sessionRemoved(SSLSession session) {
69 public SSLSession getSession(String host, int port) {
73 SSLSession session;
101 public void putSession(SSLSession session) {
  /libcore/luni/src/main/java/javax/net/ssl/
SSLSessionBindingEvent.java 24 * object is bound ({@link SSLSession#putValue(String, Object)}) or unbound
25 * ({@link SSLSession#removeValue(String)}) to an {@code SSLSession}.
40 public SSLSessionBindingEvent(SSLSession session, String name) {
61 public SSLSession getSession() {
62 return (SSLSession) this.source;
SSLSessionBindingListener.java 24 * data objects are bound to (or unbound from) an {@code SSLSession}.
29 * Notifies this listener when a value is bound to an {@code SSLSession}.
37 * Notifies this listener when a value is unbound from an {@code SSLSession}.
HandshakeCompletedEvent.java 31 private transient SSLSession session;
42 public HandshakeCompletedEvent(SSLSocket sock, SSLSession s) {
52 public SSLSession getSession() {
SSLSessionContext.java 23 * A collection of {@code SSLSession}s.
42 public SSLSession getSession(byte[] sessionId);
HostnameVerifier.java 39 boolean verify(String hostname, SSLSession session);
  /external/okhttp/src/test/java/com/squareup/okhttp/internal/http/
ExternalSpdyExample.java 25 import javax.net.ssl.SSLSession;
33 @Override public boolean verify(String s, SSLSession sslSession) {
  /external/okhttp/src/test/java/com/squareup/okhttp/internal/
RecordingHostnameVerifier.java 21 import javax.net.ssl.SSLSession;
26 public boolean verify(String hostname, SSLSession session) {
  /external/apache-http/src/org/apache/http/impl/client/
DefaultUserTokenHandler.java 35 import javax.net.ssl.SSLSession;
67 SSLSession sslsession = conn.getSSLSession(); local
68 if (sslsession != null) {
69 userPrincipal = sslsession.getLocalPrincipal();
  /libcore/benchmarks/src/benchmarks/regression/
HostnameVerifierBenchmark.java 29 import javax.net.ssl.SSLSession;
57 public boolean verify(String hostname, SSLSession sslSession) {
59 encodedCertificates = certificatesToBytes(sslSession.getPeerCertificates());
74 FakeSSLSession sslSession = new FakeSSLSession() {
79 hostnameVerifier.verify(hostname, sslSession);
101 private static class FakeSSLSession implements SSLSession {
  /frameworks/base/core/java/android/net/http/
CertificateChainValidator.java 28 import javax.net.ssl.SSLSession;
77 // get a valid SSLSession, close the socket if we fail
78 SSLSession sslSession = sslSocket.getSession();
79 if (!sslSession.isValid()) {
203 SSLSession session = socket.getSession();
  /external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/
SSLSessionContextImplTest.java 23 import javax.net.ssl.SSLSession;
52 SSLSession ses = context.getSession(ses1.getId());
  /libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/
SSLContextSpiImpl.java 11 import javax.net.ssl.SSLSession;*/

Completed in 258 milliseconds

1 2 3 4