package o;

import java.util.List;
import javax.net.ssl.SSLSocket;
import org.conscrypt.Conscrypt;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.wl, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C2838wl implements K90 {
    public static final C2743vl a = new C2743vl();

    @Override // o.K90
    public final String a(SSLSocket sSLSocket) {
        if (b(sSLSocket)) {
            return Conscrypt.getApplicationProtocol(sSLSocket);
        }
        return null;
    }

    @Override // o.K90
    public final boolean b(SSLSocket sSLSocket) {
        return Conscrypt.isConscrypt(sSLSocket);
    }

    @Override // o.K90
    public final boolean c() {
        boolean z = C2648ul.d;
        return C2648ul.d;
    }

    @Override // o.K90
    public final void d(SSLSocket sSLSocket, String str, List list) {
        if (b(sSLSocket)) {
            Conscrypt.setUseSessionTickets(sSLSocket, true);
            ZW zw = ZW.a;
            Conscrypt.setApplicationProtocols(sSLSocket, (String[]) C2616uQ.q(list).toArray(new String[0]));
        }
    }
}
