/dalvik/libcore/x-net/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
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 | 25 import javax.net.ssl.SSLSession; 37 private final Map<ByteArray, SSLSession> sessions 38 = new LinkedHashMap<ByteArray, SSLSession>() { 41 Map.Entry<ByteArray, SSLSession> eldest) { 54 Iterator<SSLSession> sessionIterator() { 56 SSLSession[] array = sessions.values().toArray( 57 new SSLSession[sessions.size()]); 67 Iterator<SSLSession> i = sessions.values().iterator(); 84 public SSLSession getSession(byte[] sessionId) { 87 SSLSession session = sessions.get(key) [all...] |
ClientSessionContext.java | 26 import javax.net.ssl.SSLSession; 44 final Map<HostAndPort, SSLSession> sessions 45 = new LinkedHashMap<HostAndPort, SSLSession>() { 48 Map.Entry<HostAndPort, SSLSession> eldest) { 62 Map<ByteArray, SSLSession> sessionsById; 80 Iterator<SSLSession> sessionIterator() { 82 SSLSession[] array = sessions.values().toArray( 83 new SSLSession[sessions.size()]); 93 Iterator<SSLSession> i = sessions.values().iterator(); 102 void removeById(SSLSession session) [all...] |
AbstractSessionContext.java | 23 import javax.net.ssl.SSLSession; 59 abstract Iterator<SSLSession> sessionIterator(); 62 final Iterator<SSLSession> iterator = sessionIterator(); 106 byte[] toBytes(SSLSession session) { 112 OpenSSLSessionImpl sslSession = (OpenSSLSessionImpl) session; 120 byte[] data = sslSession.getEncoded(); 150 SSLSession toSession(byte[] data, String host, int port) {
|
/dalvik/libcore/x-net/src/main/java/javax/net/ssl/ |
HostnameVerifier.java | 39 boolean verify(String hostname, SSLSession session);
|
SSLSessionBindingEvent.java | 25 * object is bound ({@link SSLSession#putValue(String, Object)}) or unbound 26 * ({@link SSLSession#removeValue(String)}) to an {@code SSLSession}. 50 public SSLSessionBindingEvent(SSLSession session, String name) { 71 public SSLSession getSession() { 72 return (SSLSession) this.source;
|
HandshakeCompletedEvent.java | 38 private transient SSLSession session; 49 public HandshakeCompletedEvent(SSLSocket sock, SSLSession s) { 59 public SSLSession getSession() {
|
SSLSessionContext.java | 23 * A collection of {@code SSLSession}s. 43 public SSLSession getSession(byte[] sessionId);
|
SSLSession.java | 27 public interface SSLSession {
|
SSLSocket.java | 174 * Returns the {@code SSLSession} for this connection. If necessary, a 181 public abstract SSLSession getSession();
|
SSLEngine.java | 165 public abstract SSLSession getSession();
|
/dalvik/libcore/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/ |
ClientSessionContextTest.java | 21 import javax.net.ssl.SSLSession; 31 SSLSession a = new FakeSession("a"); 32 SSLSession b = new FakeSession("b"); 45 Set<SSLSession> sessions = new HashSet<SSLSession>(); 51 Set<SSLSession> expected = new HashSet<SSLSession>(); 73 Set<SSLSession> sessions = new HashSet<SSLSession>(); 79 Set<SSLSession> expected = new HashSet<SSLSession>() [all...] |
FakeSession.java | 19 import javax.net.ssl.SSLSession; 24 class FakeSession implements SSLSession {
|
/external/apache-http/src/org/apache/http/conn/ssl/ |
X509HostnameVerifier.java | 36 import javax.net.ssl.SSLSession; 46 * SSLSession). JUnit is a lot easier this way! :-) 62 boolean verify(String host, SSLSession session);
|
/dalvik/libcore/x-net/src/test/java/tests/api/javax/net/ssl/ |
SSLSessionBindingEventTest.java | 29 import javax.net.ssl.SSLSession; 47 args = {javax.net.ssl.SSLSession.class, java.lang.String.class} 50 SSLSession ses = new MySSLSession(); 88 SSLSession ses = new MySSLSession(); 105 SSLSession ses = new MySSLSession(); 111 class MySSLSession implements SSLSession { 113 * @see javax.net.ssl.SSLSession#getApplicationBufferSize() 120 * @see javax.net.ssl.SSLSession#getCipherSuite() 127 * @see javax.net.ssl.SSLSession#getCreationTime() 134 * @see javax.net.ssl.SSLSession#getId( [all...] |
SSLSessionBindingListenerTest.java | 27 import javax.net.ssl.SSLSession; 77 SSLSession ss = sock.getSession(); 97 SSLSession ss = sock.getSession();
|
HostnameVerifierTest.java | 39 import javax.net.ssl.SSLSession; 51 * @tests javax.net.ssl.HostnameVerifier#verify(String hostname, SSLSession 58 args = {String.class, SSLSession.class} 76 args = {String.class, SSLSession.class} 185 args = {String.class, SSLSession.class}
|
SSLSessionTest.java | 50 import javax.net.ssl.SSLSession; 58 * Tests for SSLSession class 61 @TestTargetClass(SSLSession.class) 68 * @tests javax.net.ssl.SSLSession#getPeerHost() 69 * @tests javax.net.ssl.SSLSession#getPeerPort() 87 SSLSession s = clientSession; 97 * @tests javax.net.ssl.SSLSession#invalidate() 98 * @tests javax.net.ssl.SSLSession#isValid() 116 SSLSession s = clientSession; 127 * @tests javax.net.ssl.SSLSession#getPeerPrincipal( [all...] |
/external/apache-http/src/org/apache/http/conn/ |
ManagedClientConnection.java | 37 import javax.net.ssl.SSLSession; 103 SSLSession getSSLSession()
|
/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();
|
/dalvik/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
MySSLContextSpi.java | 29 import javax.net.ssl.SSLSession; 125 public SSLSession getSession() { return null; }
|
/dalvik/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/ |
MySSLContextSpi.java | 29 import javax.net.ssl.SSLSession; 123 public SSLSession getSession() { return null; }
|
mySSLSession.java | 17 import javax.net.ssl.SSLSession; 21 public class mySSLSession implements SSLSession {
|
/frameworks/base/core/java/android/net/http/ |
CertificateChainValidator.java | 36 import javax.net.ssl.SSLSession; 226 SSLSession session = socket.getSession();
|