Lines Matching defs:cache
104 int handshakeTimeoutMillis, SSLSessionCache cache, boolean secure) {
106 mSessionCache = cache == null ? null : cache.mSessionCache;
123 * and SSL session cache.
127 * @param cache The {@link SSLSessionCache} to use, or null for no cache.
130 public static SSLSocketFactory getDefault(int handshakeTimeoutMillis, SSLSessionCache cache) {
131 return new SSLCertificateSocketFactory(handshakeTimeoutMillis, cache, true);
136 * disabled, using an optional handshake timeout and SSL session cache.
143 * @param cache The {@link SSLSessionCache} to use, or null for no cache.
146 public static SSLSocketFactory getInsecure(int handshakeTimeoutMillis, SSLSessionCache cache) {
147 return new SSLCertificateSocketFactory(handshakeTimeoutMillis, cache, false);
156 * @param cache The {@link SSLSessionCache} to use, or null for no cache.
160 int handshakeTimeoutMillis, SSLSessionCache cache) {
162 new SSLCertificateSocketFactory(handshakeTimeoutMillis, cache, true));