package p447.p448.p452;

import java.security.cert.Certificate;
import java.security.cert.X509Certificate;
import java.util.ArrayList;
import java.util.List;
import kotlin.TypeCastException;
import p138.p176.p177.p242.p246.p251.C4303;
import p402.p411.p412.InterfaceC6603;
import p402.p411.p413.AbstractC6636;
import p402.p411.p413.C6635;
import p447.C6901;

/* JADX INFO: renamed from: ސ.ޣ.ބ.ކ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes.dex */
public final class C6972 extends AbstractC6636 implements InterfaceC6603<List<? extends X509Certificate>> {

    /* JADX INFO: renamed from: ބ, reason: contains not printable characters */
    public final /* synthetic */ C6968 f20304;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public C6972(C6968 c6968) {
        super(0);
        this.f20304 = c6968;
    }

    @Override // p402.p411.p412.InterfaceC6603
    /* JADX INFO: renamed from: ނ */
    public List<? extends X509Certificate> mo1543() {
        C6901 c6901 = this.f20304.f20285;
        if (c6901 == null) {
            C6635.m9822();
            throw null;
        }
        List<Certificate> listM10065 = c6901.m10065();
        ArrayList arrayList = new ArrayList(C4303.m6985(listM10065, 10));
        for (Certificate certificate : listM10065) {
            if (certificate == null) {
                throw new TypeCastException("null cannot be cast to non-null type java.security.cert.X509Certificate");
            }
            arrayList.add((X509Certificate) certificate);
        }
        return arrayList;
    }
}
