/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, 65 SSLSession invalid = ssl.getSession() [all...] |
/libcore/luni/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...] |
SSLSessionTest.java | 33 import javax.net.ssl.SSLSession; 45 * Tests for SSLSession class 54 * javax.net.ssl.SSLSession#getPeerHost() 55 * javax.net.ssl.SSLSession#getPeerPort() 58 SSLSession s = clientSession; 64 * javax.net.ssl.SSLSession#invalidate() 65 * javax.net.ssl.SSLSession#isValid() 68 SSLSession s = clientSession; 75 * javax.net.ssl.SSLSession#getPeerPrincipal() 86 * javax.net.ssl.SSLSession#getApplicationBufferSize( [all...] |
SSLSessionBindingListenerTest.java | 27 import javax.net.ssl.SSLSession; 77 SSLSession ss = sock.getSession(); 97 SSLSession ss = sock.getSession();
|
/libcore/luni/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 {
|
/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);
|
SSLPermission.java | 30 * <dd> getting the {@code SSLSessionContext} of an {@code SSLSession}.</dd>
|
/libcore/luni/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);
|
AbstractSessionContext.java | 33 import javax.net.ssl.SSLSession; 50 private final Map<ByteArray, SSLSession> sessions 51 = new LinkedHashMap<ByteArray, SSLSession>() { 54 Map.Entry<ByteArray, SSLSession> eldest) { 73 private Iterator<SSLSession> sessionIterator() { 75 SSLSession[] array = sessions.values().toArray( 76 new SSLSession[sessions.size()]); 82 final Iterator<SSLSession> i = sessionIterator(); 84 private SSLSession next; 90 SSLSession session = i.next() [all...] |
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; 46 protected void sessionRemoved(SSLSession session) {} 49 public SSLSession getSession(byte[] sessionId) { 50 SSLSession session = super.getSession(sessionId); 71 void putSession(SSLSession session) {
|
ClientSessionContext.java | 21 import javax.net.ssl.SSLSession; 33 final Map<HostAndPort, SSLSession> sessionsByHostAndPort 34 = new HashMap<HostAndPort, SSLSession>(); 46 protected void sessionRemoved(SSLSession session) { 65 public SSLSession getSession(String host, int port) { 69 SSLSession session; 97 void putSession(SSLSession session) {
|
SSLSessionImpl.java | 32 import javax.net.ssl.SSLSession; 40 * SSLSession implementation 42 * @see javax.net.ssl.SSLSession 44 public class SSLSessionImpl implements SSLSession, Cloneable { 168 * Creates SSLSession implementation 196 * Creates SSLSession implementation
|
OpenSSLSocketImpl.java | 39 import javax.net.ssl.SSLSession; 73 private OpenSSLSessionImpl sslSession; 482 sslSession = (OpenSSLSessionImpl) sessionContext.getSession(sessionId); 483 if (sslSession != null) { 484 sslSession.lastAccessedTime = System.currentTimeMillis(); 498 sslSession = new OpenSSLSessionImpl(sslSessionNativePointer, 503 sslSession = new OpenSSLSessionImpl(sslSessionNativePointer, 510 sessionContext.putSession(sslSession); 597 // If sslSession is null, the handshake was completed during 600 // the SSLSession and session cache or notif [all...] |
/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/support/src/test/java/org/apache/harmony/xnet/tests/support/ |
SSLContextSpiImpl.java | 11 import javax.net.ssl.SSLSession;*/
|
MySSLContextSpi.java | 30 import javax.net.ssl.SSLSession; 133 public SSLSession getSession() { return null; }
|
mySSLSession.java | 17 import javax.net.ssl.SSLSession; 21 public class mySSLSession implements SSLSession {
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
MySSLContextSpi.java | 30 import javax.net.ssl.SSLSession; 135 public SSLSession getSession() { return null; }
|
/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);
|