曹妃甸核酸检测平台.apk(点击下载) / e.java


package com.netease.nimlib.f;

import android.text.TextUtils;
import com.netease.nimlib.c;
import com.netease.nimlib.push.packet.asymmetric.AsymmetricType;
import com.netease.nimlib.push.packet.symmetry.SymmetryType;
import com.netease.nimlib.sdk.ServerAddresses;
import com.umeng.analytics.pro.ai;

public final class e {

    /* access modifiers changed from: package-private */
    public enum a {
        TEST(ai.aF, "imtest.netease.im:2000", "https://imtest.netease.im/lbs/conf.jsp", "https://imtest.netease.im/1.gif", "https://imtest4.netease.im/test", "https://imtest6.netease.im:8012/"),
        PRE_REL(ai.av, "106.2.124.127:8081", "https://imtest.netease.im/lbsrc/conf.jsp", "https://imtest.netease.im/1.gif", "https://imtest4.netease.im/test", "https://imtest6.netease.im:8012/"),
        REL("r", "link.netease.im:8080", "https://lbs.netease.im/lbs/conf.jsp", "https://dr.netease.im/1.gif", "https://imtest4.netease.im/test", "https://imtest6.netease.im:8012/");
        

        /* renamed from: d  reason: collision with root package name */
        String f9036d;

        /* renamed from: e  reason: collision with root package name */
        String f9037e;

        /* renamed from: f  reason: collision with root package name */
        String f9038f;

        /* renamed from: g  reason: collision with root package name */
        String f9039g;

        /* renamed from: h  reason: collision with root package name */
        String f9040h;
        String i;

        private a(String str, String str2, String str3, String str4, String str5, String str6) {
            this.f9036d = str;
            this.f9037e = str2;
            this.f9038f = str3;
            this.f9039g = str4;
            this.f9040h = str5;
            this.i = str6;
        }

        public String a() {
            return this.f9037e;
        }

        public String b() {
            return this.f9038f;
        }

        public String c() {
            return this.f9039g;
        }

        public String d() {
            return this.f9040h;
        }

        public String e() {
            return this.i;
        }
    }

    public static boolean a() {
        return f.f9041a == a.TEST;
    }

    public static boolean b() {
        return f.f9041a == a.PRE_REL;
    }

    public static boolean c() {
        return c.i() != null;
    }

    public static boolean d() {
        ServerAddresses i = c.i();
        return i != null && !TextUtils.isEmpty(i.negoKeyEncaKeyParta) && !TextUtils.isEmpty(i.negoKeyEncaKeyPartb);
    }

    public static boolean e() {
        ServerAddresses i = c.i();
        return i != null && !TextUtils.isEmpty(i.module);
    }

    public static AsymmetricType f() {
        AsymmetricType asymmetricType;
        ServerAddresses i = c.i();
        return (i == null || (asymmetricType = i.negoKeyNeca) == null) ? AsymmetricType.RSA : asymmetricType;
    }

    public static SymmetryType g() {
        SymmetryType symmetryType;
        ServerAddresses i = c.i();
        return (i == null || (symmetryType = i.commEnca) == null) ? SymmetryType.RC4 : symmetryType;
    }

    public static int h() {
        if (f.f9041a.f9036d.equals(ai.aF)) {
            return 1;
        }
        if (f.f9041a.f9036d.equals(ai.av)) {
            return 2;
        }
        if (f.f9041a.f9036d.equals("r")) {
        }
        return 3;
    }

    public static boolean i() {
        return c() && c.i().test;
    }
}