Lines Matching defs:sslSession
33 import javax.net.ssl.SSLSession;
55 private final Map<ByteArray, SSLSession> sessions
56 = new LinkedHashMap<ByteArray, SSLSession>() {
59 Map.Entry<ByteArray, SSLSession> eldest) {
81 private Iterator<SSLSession> sessionIterator() {
83 SSLSession[] array = sessions.values().toArray(
84 new SSLSession[sessions.size()]);
91 final Iterator<SSLSession> i = sessionIterator();
93 private SSLSession next;
101 SSLSession session = i.next();
141 Iterator<SSLSession> i = sessions.values().iterator();
143 SSLSession session = i.next();
160 Iterator<SSLSession> i = sessions.values().iterator();
162 SSLSession session = i.next();
163 // SSLSession's know their context and consult the
177 protected abstract void sessionRemoved(SSLSession session);
200 byte[] toBytes(SSLSession session) {
206 OpenSSLSessionImpl sslSession = (OpenSSLSessionImpl) session;
214 byte[] data = sslSession.getEncoded();
244 SSLSession toSession(byte[] data, String host, int port) {
275 public SSLSession getSession(byte[] sessionId) {
280 SSLSession session;
290 void putSession(SSLSession session) {