导航菜单

页面标题

页面副标题

Adobe Acrobat v15.3 - q.java 源代码

正在查看: Adobe Acrobat v15.3 应用的 q.java JAVA 源代码文件

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


package com.adobe.libs.b.a;

import com.adobe.reader.filebrowser.ARFileEntry;
import java.io.File;
import java.util.HashMap;
import java.util.Map;

public final class q {

    public static com.adobe.libs.b.b f99a;

    public static void a(c cVar, o oVar, String str, String str2) {
        switch (w.f105a[cVar.ordinal()]) {
            case 2:
                a(str, str2, oVar);
                break;
        }
    }

    private static void a(String str, String str2, o oVar) {
        com.adobe.libs.b.a.a();
        if (!com.adobe.libs.b.b.d.a(com.adobe.libs.b.a.f86a)) {
            com.adobe.libs.b.b.d.a();
            if (oVar != null) {
                oVar.onFailure(new com.android.a.l());
                return;
            }
            return;
        }
        j jVar = new j(oVar);
        k kVar = new k(oVar);
        String a2 = d.a(str2, a.a(c.GET_IMAGE_SIGNATURE));
        HashMap hashMap = new HashMap();
        hashMap.put("Access-Token", str);
        com.adobe.libs.b.f.a().a(new com.adobe.libs.b.b.a(a2, hashMap, jVar, kVar), "GET_IMAGE_SIGNATURE");
    }

    public final com.android.a.a.n a(x xVar) {
        String str;
        String str2;
        String str3 = null;
        StringBuilder sb = new StringBuilder();
        switch (w.b[f99a.getCloudEnvironment().ordinal()]) {
            case 1:
                str = "https://gps.echosigndr.com";
                break;
            case 2:
                str = "https://gps.echosignpreview.com";
                break;
            case 3:
                str = "https://gps.echosigndemo.com";
                break;
            case 4:
                str = "https://gps.echosignstage.com";
                break;
            case 5:
                str = "https://gps.echosign.com";
                break;
            default:
                str = null;
                break;
        }
        String sb2 = sb.append(str).append("/oauth/exchange/access_token_for_sync").toString();
        HashMap hashMap = new HashMap();
        hashMap.put("ims_client_id", f99a.getIMSCLientID());
        hashMap.put("ims_access_token", f99a.getIMSAccessToken());
        com.adobe.libs.b.c.a();
        switch (com.adobe.libs.b.d.f109a[f99a.getCloudEnvironment().ordinal()]) {
            case 1:
                str2 = "943P56Y3T7G5E";
                break;
            case 2:
                str2 = "CBJCHBCAABAAy5nbyndXyOr7NLYk2nLDcd-6ofB5RQa0";
                break;
            case 3:
                str2 = ARFileEntry.DEFAULT_ENTRY_ICON_STRING;
                break;
            case 4:
                str2 = "s7YKPB3E5TXJ6V";
                break;
            case 5:
                str2 = "APIYH743I4R5K";
                break;
            default:
                str2 = null;
                break;
        }
        hashMap.put("es_client_id", str2);
        com.adobe.libs.b.c.a();
        switch (com.adobe.libs.b.d.f109a[f99a.getCloudEnvironment().ordinal()]) {
            case 1:
                str3 = "dIeqKYJt-a90euGg1svw0QUdKgjZbqQP";
                break;
            case 2:
                str3 = "vGX6I0m-d_btwBCF_J6SdGNVe0SDXDQS";
                break;
            case 3:
                str3 = ARFileEntry.DEFAULT_ENTRY_ICON_STRING;
                break;
            case 4:
                str3 = "me3__zYcTxlw954qWFqawVm0b6N7Qs29";
                break;
            case 5:
                str3 = "16beINdb352U0cKKFTtnPhGaEEN4fZbU";
                break;
        }
        hashMap.put("es_client_secret", str3);
        return new com.adobe.libs.b.b.b(sb2, new a.c.c((Map) hashMap), new u(this, xVar), new v(this, xVar));
    }

    public final void a(c cVar, p pVar, File file, a.c.c cVar2) {
        if (f99a.getIMSAccessToken() == null) {
            com.adobe.libs.b.b.d.a();
            return;
        }
        com.adobe.libs.b.a.a();
        if (!com.adobe.libs.b.b.d.a(com.adobe.libs.b.a.f86a)) {
            if (pVar != null) {
                pVar.onFailure(new com.android.a.l());
                com.adobe.libs.b.b.d.a();
                return;
            }
            return;
        }
        String c = com.adobe.libs.b.c.a().c();
        if (c != null) {
            a(cVar, pVar, file, cVar2, c, com.adobe.libs.b.c.a().c);
        } else {
            com.adobe.libs.b.f.a().a(a(new r(this, cVar, pVar, file, cVar2)), "GPS exchange token request");
        }
    }

    final void a(c cVar, p pVar, File file, a.c.c cVar2, String str, String str2) {
        switch (w.f105a[cVar.ordinal()]) {
            case 1:
                com.adobe.libs.b.a.a();
                if (!com.adobe.libs.b.b.d.a(com.adobe.libs.b.a.f86a)) {
                    com.adobe.libs.b.b.d.a();
                    if (pVar != null) {
                        pVar.onFailure(new com.android.a.l());
                        break;
                    }
                } else {
                    h hVar = new h(pVar);
                    i iVar = new i(pVar);
                    String str3 = d.a(str2, a.a(c.GET_PROFILE_SIGNATURE)) + "?accepts=SMOOTHED,IMAGE,POLYLINE";
                    HashMap hashMap = new HashMap();
                    hashMap.put("Access-Token", str);
                    com.adobe.libs.b.f.a().a(new com.adobe.libs.b.b.b(0, str3, hashMap, null, hVar, iVar), "GET_SIGNATURE");
                    break;
                }
                break;
            case 2:
                a(str, str2, null);
                break;
            case 3:
                if (cVar2 == null) {
                    if (file != null) {
                        t tVar = new t(this, str2, str, pVar);
                        com.adobe.libs.b.a.a();
                        if (!com.adobe.libs.b.b.d.a(com.adobe.libs.b.a.f86a)) {
                            com.adobe.libs.b.b.d.a();
                            tVar.onFailure(new com.android.a.l());
                            com.adobe.libs.b.b.d.a();
                            break;
                        } else {
                            n nVar = new n(tVar);
                            f fVar = new f(tVar);
                            String a2 = d.a(str2, a.a(c.POST_TRANSIENT_DOCUMENT));
                            HashMap hashMap2 = new HashMap();
                            hashMap2.put("Access-Token", str);
                            com.adobe.libs.b.f.a().a(new com.adobe.libs.b.b.c(a2, hashMap2, nVar, fVar, file, "File"), "POST_IMAGE_SIGNATURE");
                            break;
                        }
                    }
                } else {
                    d.a(str2, str, cVar2, pVar);
                    break;
                }
                break;
            case 4:
                com.adobe.libs.b.a.a();
                if (!com.adobe.libs.b.b.d.a(com.adobe.libs.b.a.f86a)) {
                    com.adobe.libs.b.b.d.a();
                    if (pVar != null) {
                        pVar.onFailure(new com.android.a.l());
                        break;
                    }
                } else {
                    e eVar = new e(pVar);
                    g gVar = new g(pVar);
                    String a3 = d.a(str2, a.a(c.DELETE_PROFILE_SIGNATURE));
                    HashMap hashMap3 = new HashMap();
                    hashMap3.put("Access-Token", str);
                    com.adobe.libs.b.f.a().a(new com.adobe.libs.b.b.b(3, a3, hashMap3, null, eVar, gVar), "DELETE_SIGNATURE");
                    break;
                }
                break;
        }
    }
}