导航菜单

页面标题

页面副标题

Sandridge Go v2025.2.170190457 - d.java 源代码

正在查看: Sandridge Go v2025.2.170190457 应用的 d.java JAVA 源代码文件

本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。


package com.microsoft.intune.mam.http;

public final class d {
    public static final d t = new d("WORLDWIDE", 0, "https://login.windows.net", "https://go.microsoft.com/fwlink/?linkid=2138939", "https://go.microsoft.com/fwlink/?linkid=2131071", l.a, "sha256");
    public static final d u = new d("ARLINGTON", 1, "https://login.microsoftonline.us", "https://go.microsoft.com/fwlink/?linkid=851103", "https://go.microsoft.com/fwlink/?linkid=2130378", com.microsoft.intune.mam.http.a.a, "sha256");
    public static final d v;
    public static final d w;
    public static final d x;
    private static final t5.e y;
    private static final d[] z;
    private final String o;
    private final String p;
    private final String q;
    private final String[] r;
    private final String s;

    static class a {
        static final int[] a;

        static {
            int[] iArr = new int[d.values().length];
            a = iArr;
            try {
                iArr[d.t.ordinal()] = 1;
            } catch (NoSuchFieldError unused) {
            }
            try {
                a[d.u.ordinal()] = 2;
            } catch (NoSuchFieldError unused2) {
            }
            try {
                a[d.v.ordinal()] = 3;
            } catch (NoSuchFieldError unused3) {
            }
            try {
                a[d.w.ordinal()] = 4;
            } catch (NoSuchFieldError unused4) {
            }
            try {
                a[d.x.ordinal()] = 5;
            } catch (NoSuchFieldError unused5) {
            }
        }
    }

    static {
        String[] strArr = c.a;
        v = new d("GALLATIN", 2, "https://login.chinacloudapi.cn", "https://go.microsoft.com/fwlink/?linkid=2112757&clcid=0x804", "https://go.microsoft.com/fwlink/?linkid=2131070", strArr, "sha256");
        w = new d("MOONCAKE", 3, "https://login.partner.microsoftonline.cn", "https://go.microsoft.com/fwlink/?linkid=2112757&clcid=0x804", "https://go.microsoft.com/fwlink/?linkid=2131070", strArr, "sha256");
        x = new d("BLACKFOREST", 4, "https://login.microsoftonline.de", null, null, null, null);
        z = a();
        y = t5.f.a(d.class);
    }

    private d(String str, int i, String str2, String str3, String str4, String[] strArr, String str5) {
        this.o = str2;
        this.p = str3;
        this.q = str4;
        this.r = strArr;
        this.s = str5;
    }

    private static d[] a() {
        return new d[]{t, u, v, w, x};
    }

    public static d b(String str) {
        if (str == null) {
            y.m("null authority, using worldwide", new Object[0]);
            return t;
        }
        d dVar = u;
        if (str.startsWith(dVar.o)) {
            y.m("detected arlington authority", new Object[0]);
            return dVar;
        }
        d dVar2 = v;
        if (str.startsWith(dVar2.o)) {
            y.m("detected gallatin authority", new Object[0]);
            return dVar2;
        }
        d dVar3 = w;
        if (str.startsWith(dVar3.o)) {
            y.m("detected mooncake authority", new Object[0]);
            return dVar3;
        }
        d dVar4 = x;
        if (str.startsWith(dVar4.o)) {
            y.m("detected unsupported blackforest authority", new Object[0]);
            return dVar4;
        }
        y.m("defaulting to worldwide", new Object[0]);
        return t;
    }

    public static boolean g(String str) {
        int i = a.a[b(str).ordinal()];
        if (i == 1 || i == 2 || i == 3 || i == 4) {
            return true;
        }
        if (i == 5) {
            y.m("Attempting to enroll into an unsupported cloud", new Object[0]);
            return false;
        }
        y.h(q5.c.KNOWN_CLOUDS_UNSUPPORTED, "Unknown cloud detected for authority - programmer error: " + str, new Object[0]);
        return false;
    }

    public static d valueOf(String str) {
        return (d) Enum.valueOf(d.class, str);
    }

    public static d[] values() {
        return (d[]) z.clone();
    }

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

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

    public String[] e() {
        return this.r;
    }

    public String f() {
        return this.p;
    }
}