what-the-bank/sources/okhttp3/internal/connection/RealConnection$connectTls$1...

36 lines
1.5 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package okhttp3.internal.connection;
import java.security.cert.Certificate;
import java.util.List;
import o.AbstractC14961gcz;
import o.C14957gcv;
import o.InterfaceC14890gbN;
import okhttp3.Address;
import okhttp3.CertificatePinner;
import okhttp3.Handshake;
import okhttp3.internal.tls.CertificateChainCleaner;
/* JADX INFO: Access modifiers changed from: package-private */
/* loaded from: classes.dex */
public final class RealConnection$connectTls$1 extends AbstractC14961gcz implements InterfaceC14890gbN<List<? extends Certificate>> {
final Address $address;
final CertificatePinner $certificatePinner;
final Handshake $unverifiedHandshake;
@Override // o.InterfaceC14890gbN
public final List<? extends Certificate> invoke() {
CertificateChainCleaner certificateChainCleaner$okhttp = this.$certificatePinner.getCertificateChainCleaner$okhttp();
C14957gcv.e(certificateChainCleaner$okhttp);
return certificateChainCleaner$okhttp.clean(this.$unverifiedHandshake.peerCertificates(), this.$address.url().host());
}
/* JADX INFO: Access modifiers changed from: package-private */
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public RealConnection$connectTls$1(CertificatePinner certificatePinner, Handshake handshake, Address address) {
super(0);
this.$certificatePinner = certificatePinner;
this.$unverifiedHandshake = handshake;
this.$address = address;
}
}