66 lines
2.2 KiB
Java
66 lines
2.2 KiB
Java
package com.google.android.gms.measurement.internal;
|
|
|
|
import java.io.IOException;
|
|
import java.net.InetAddress;
|
|
import java.net.Socket;
|
|
import javax.net.ssl.HttpsURLConnection;
|
|
import javax.net.ssl.SSLSocket;
|
|
import javax.net.ssl.SSLSocketFactory;
|
|
|
|
/* loaded from: classes.dex */
|
|
final class zzfz extends SSLSocketFactory {
|
|
private final SSLSocketFactory a;
|
|
|
|
zzfz() {
|
|
this(HttpsURLConnection.getDefaultSSLSocketFactory());
|
|
}
|
|
|
|
private final SSLSocket a(SSLSocket sSLSocket) {
|
|
return new zzga(this, sSLSocket);
|
|
}
|
|
|
|
@Override // javax.net.ssl.SSLSocketFactory
|
|
public final Socket createSocket(Socket socket, String str, int i, boolean z) throws IOException {
|
|
return a((SSLSocket) this.a.createSocket(socket, str, i, z));
|
|
}
|
|
|
|
@Override // javax.net.ssl.SSLSocketFactory
|
|
public final String[] getDefaultCipherSuites() {
|
|
return this.a.getDefaultCipherSuites();
|
|
}
|
|
|
|
@Override // javax.net.ssl.SSLSocketFactory
|
|
public final String[] getSupportedCipherSuites() {
|
|
return this.a.getSupportedCipherSuites();
|
|
}
|
|
|
|
private zzfz(SSLSocketFactory sSLSocketFactory) {
|
|
this.a = sSLSocketFactory;
|
|
}
|
|
|
|
@Override // javax.net.SocketFactory
|
|
public final Socket createSocket(String str, int i) throws IOException {
|
|
return a((SSLSocket) this.a.createSocket(str, i));
|
|
}
|
|
|
|
@Override // javax.net.SocketFactory
|
|
public final Socket createSocket(InetAddress inetAddress, int i) throws IOException {
|
|
return a((SSLSocket) this.a.createSocket(inetAddress, i));
|
|
}
|
|
|
|
@Override // javax.net.SocketFactory
|
|
public final Socket createSocket(String str, int i, InetAddress inetAddress, int i2) throws IOException {
|
|
return a((SSLSocket) this.a.createSocket(str, i, inetAddress, i2));
|
|
}
|
|
|
|
@Override // javax.net.SocketFactory
|
|
public final Socket createSocket(InetAddress inetAddress, int i, InetAddress inetAddress2, int i2) throws IOException {
|
|
return a((SSLSocket) this.a.createSocket(inetAddress, i, inetAddress2, i2));
|
|
}
|
|
|
|
@Override // javax.net.SocketFactory
|
|
public final Socket createSocket() throws IOException {
|
|
return a((SSLSocket) this.a.createSocket());
|
|
}
|
|
}
|