Lines Matching refs:cache
103 int handshakeTimeoutMillis, SSLSessionCache cache, boolean secure) {
105 mSessionCache = cache == null ? null : cache.mSessionCache;
122 * and SSL session cache.
126 * @param cache The {@link SSLSessionCache} to use, or null for no cache.
129 public static SSLSocketFactory getDefault(int handshakeTimeoutMillis, SSLSessionCache cache) {
130 return new SSLCertificateSocketFactory(handshakeTimeoutMillis, cache, true);
135 * disabled, using an optional handshake timeout and SSL session cache.
142 * @param cache The {@link SSLSessionCache} to use, or null for no cache.
145 public static SSLSocketFactory getInsecure(int handshakeTimeoutMillis, SSLSessionCache cache) {
146 return new SSLCertificateSocketFactory(handshakeTimeoutMillis, cache, false);
155 * @param cache The {@link SSLSessionCache} to use, or null for no cache.
159 int handshakeTimeoutMillis, SSLSessionCache cache) {
161 new SSLCertificateSocketFactory(handshakeTimeoutMillis, cache, true));