com.parse.ParseSSLCertificateFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of parse-android Show documentation
Show all versions of parse-android Show documentation
A library that gives you access to the powerful Parse cloud platform from your Android app.
package com.parse;
import android.net.SSLCertificateSocketFactory;
import android.net.SSLSessionCache;
import javax.net.ssl.SSLSocketFactory;
public class ParseSSLCertificateFactory extends SSLCertificateSocketFactory {
public ParseSSLCertificateFactory(int handshakeTimeoutMillis) {
super(handshakeTimeoutMillis);
}
public static SSLSocketFactory getDefault(int handshakeTimeoutMillis, SSLSessionCache cache) {
return SSLCertificateSocketFactory.getDefault(handshakeTimeoutMillis, cache);
}
}