39 lines
1.2 KiB
Java
39 lines
1.2 KiB
Java
package okhttp3.internal.platform.android;
|
|
|
|
import java.util.List;
|
|
import javax.net.ssl.SSLSocket;
|
|
import javax.net.ssl.SSLSocketFactory;
|
|
import javax.net.ssl.X509TrustManager;
|
|
import o.C14957gcv;
|
|
import okhttp3.Protocol;
|
|
|
|
/* loaded from: classes.dex */
|
|
public interface SocketAdapter {
|
|
void configureTlsExtensions(SSLSocket sSLSocket, String str, List<? extends Protocol> list);
|
|
|
|
String getSelectedProtocol(SSLSocket sSLSocket);
|
|
|
|
boolean isSupported();
|
|
|
|
boolean matchesSocket(SSLSocket sSLSocket);
|
|
|
|
boolean matchesSocketFactory(SSLSocketFactory sSLSocketFactory);
|
|
|
|
X509TrustManager trustManager(SSLSocketFactory sSLSocketFactory);
|
|
|
|
/* loaded from: classes6.dex */
|
|
public static final class DefaultImpls {
|
|
public static X509TrustManager trustManager(SocketAdapter socketAdapter, SSLSocketFactory sSLSocketFactory) {
|
|
C14957gcv.e(socketAdapter, "");
|
|
C14957gcv.e(sSLSocketFactory, "");
|
|
return null;
|
|
}
|
|
|
|
public static boolean matchesSocketFactory(SocketAdapter socketAdapter, SSLSocketFactory sSLSocketFactory) {
|
|
C14957gcv.e(socketAdapter, "");
|
|
C14957gcv.e(sSLSocketFactory, "");
|
|
return false;
|
|
}
|
|
}
|
|
}
|