Potentially Cryptographic Vulnerability: Insecure Algorithm

Description

The mode of operation used to encrypt the data is vulnerable. If AES is used without specifying the mode, the default mode is the insecure ECB mode.

Recommendation

We recommend AES for general-purpose use. If you're willing to go against the grain and are paranoid, you can use Serpent, which isn't quite as fast as AES but is believed to have a much higher security margin.

If you really feel that you need the fastest possible secure solution, consider the SNOW 2.0 stream cipher, which currently looks very good. It appears to have a much better security margin than the popular favorite, RC4, and is even faster. However, it is fairly new. If you're highly risk-adverse, we recommend AES or Serpent. Although popular, RC4 would never be the best available choice.

Technical details
[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/auth/AdobeUXAuthManagerRestricted;', 'setAdditionalAuthenticationParameters', '(Ljava/lang/String; Ljava/lang/String; Ljava/lang/String; [Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthOptions; [Ljava/lang/String;)V'), ('Lcom/adobe/creativesdk/foundation/adobeinternal/auth/AdobeUXAuthManagerRestricted;', 'setAdditionalAuthenticationParameters', '(Ljava/lang/String; Ljava/lang/String; Ljava/lang/String; [Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthOptions; [Ljava/lang/String; [B)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'setAuthenticationParameters', '(Ljava/lang/String; Ljava/lang/String; Ljava/lang/String; Ljava/lang/String; Ljava/lang/String; [Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthOptions; [Ljava/lang/String; [B)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'setCipherKey', '([B)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', 'createInstance', '([B)Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', '<init>', '([B)V'), ('Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.auth.AdobeUXAuthManagerRestricted.setAdditionalAuthenticationParameters():


    public void setAdditionalAuthenticationParameters(String p8, String p9, String p10, com.adobe.creativesdk.foundation.internal.auth.AdobeAuthOptions[] p11, String[] p12)
    {
        try {
            this.setAdditionalAuthenticationParameters(p8, p9, p10, p11, p12, 0);
        } catch (java.security.InvalidKeyException v0_2) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.WARN, com.adobe.creativesdk.foundation.adobeinternal.auth.AdobeUXAuthManagerRestricted.getName(), "Unable to create cipher with default key", v0_2);
        } catch (java.security.InvalidKeyException v0_1) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.WARN, com.adobe.creativesdk.foundation.adobeinternal.auth.AdobeUXAuthManagerRestricted.getName(), "Unable to create cipher with default key", v0_1);
        } catch (java.security.InvalidKeyException v0_3) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.WARN, com.adobe.creativesdk.foundation.adobeinternal.auth.AdobeUXAuthManagerRestricted.getName(), "Unable to create cipher with default key", v0_3);
        }
        return;
    }

Method com.adobe.creativesdk.foundation.adobeinternal.auth.AdobeUXAuthManagerRestricted.setAdditionalAuthenticationParameters():


    private void setAdditionalAuthenticationParameters(String p10, String p11, String p12, com.adobe.creativesdk.foundation.internal.auth.AdobeAuthOptions[] p13, String[] p14, byte[] p15)
    {
        this._authManagerImpl.setAuthenticationParameters(com.adobe.creativesdk.foundation.AdobeCSDKFoundation.getClientId(), com.adobe.creativesdk.foundation.AdobeCSDKFoundation.getClientSecret(), p10, p11, p12, p13, p14, p15);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.setAuthenticationParameters():


    public void setAuthenticationParameters(String p7, String p8, String p9, String p10, String p11, com.adobe.creativesdk.foundation.internal.auth.AdobeAuthOptions[] p12, String[] p13, byte[] p14)
    {
        if (this.isInitialized()) {
            com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService v0_1 = com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance();
            v0_1.setCipherKey(p14);
            v0_1.setAuthenticationParameters(p7, p8, p9, p10, p11);
            v0_1.setGrantType(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIMSGrantType.AdobeAuthIMSGrantTypeDevice);
            if (!this._ignoreCceScope) {
                int v1_3;
                if (p13 == null) {
                    v1_3 = new String[1];
                    v1_3[0] = "sao.cce_private";
                } else {
                    int v2_1 = new String[(p13.length + 1)];
                    int v1_6 = 0;
                    while (v1_6 < p13.length) {
                        v2_1[v1_6] = p13[v1_6];
                        v1_6++;
                    }
                    v2_1[p13.length] = "sao.cce_private";
                    v1_3 = v2_1;
                }
                this._hasPrivateCloudScope = 1;
                v0_1.setAdditionalClientScopes(v1_3);
            } else {
                this._hasPrivateCloudScope = 0;
                v0_1.setAdditionalClientScopes(p13);
            }
            this.mAuthOptions = p12;
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.setCipherKey():


    public void setCipherKey(byte[] p5)
    {
        if (p5 != null) {
            IllegalArgumentException v0_3 = new byte[p5.length];
            System.arraycopy(p5, 0, v0_3, 0, p5.length);
            try {
                this.cipher = com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance(v0_3);
            } catch (IllegalArgumentException v0_5) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, this.getClass().getSimpleName(), v0_5.getMessage(), v0_5);
                throw new IllegalArgumentException("CSDK Foundation Auth : Cannot create Cipher Instance !");
            }
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance():


    static com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher createInstance(byte[] p1)
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance == null) {
            com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance = new com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher(p1);
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.<init>():


    public AdobeCommonCipher(byte[] p4)
    {
        javax.crypto.spec.SecretKeySpec v0_1 = new javax.crypto.spec.SecretKeySpec(p4, "AES");
        this.encryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.encryptionCipher.init(1, v0_1);
        this.decryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.decryptionCipher.init(2, v0_1);
        return;
    }

Method javax.crypto.Cipher.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/analytics/AdobeAnalyticsManager;', 'disableAnalyticsReporting', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/analytics/AdobeAnalyticsETSJobManager;', 'disableAnalyticsReporting', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/analytics/AdobeAnalyticsETSSession;', 'getSharedSession', '()Lcom/adobe/creativesdk/foundation/internal/analytics/AdobeAnalyticsETSSession;'), ('Lcom/adobe/creativesdk/foundation/internal/analytics/AdobeAnalyticsETSSession;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/analytics/AdobeAnalyticsETSSession;', 'getEndpointURL', '()Ljava/lang/String;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'getFoundationAuthAESKey', '()[B'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'generateNewAESKey_Common', '()[B'), ('Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsManager.disableAnalyticsReporting():


    public void disableAnalyticsReporting()
    {
        com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSJobManager.getSharedInstance().disableAnalyticsReporting();
        return;
    }

Method com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSJobManager.disableAnalyticsReporting():


    public void disableAnalyticsReporting()
    {
        com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSSession.getSharedSession().disableAnalyticsReporting();
        if (this.timer != null) {
            this.timer.cancel();
            this.timer = 0;
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSSession.getSharedSession():


    public static com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSSession getSharedSession()
    {
        if (com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSSession.etsSession == null) {
            com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSSession.etsSession = new com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSSession();
        }
        return com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSSession.etsSession;
    }

Method com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSSession.<init>():


    private AdobeAnalyticsETSSession()
    {
        this.networkService = 0;
        this.isAnalyticsEnabled = 0;
        this.networkService = new com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpService(this.getEndpointURL(), "Adobe Creative SDK", 0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSSession.getEndpointURL():


    private String getEndpointURL()
    {
        String v0_1;
        switch (com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSSession$1.$SwitchMap$com$adobe$creativesdk$foundation$internal$auth$AdobeAuthIMSEnvironment[com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance().getEnvironment().ordinal()]) {
            case 1:
                v0_1 = "https://cc-api-data.adobe.io/ingest";
                break;
            default:
                v0_1 = "https://cc-api-data-stage.adobe.io/ingest";
        }
        return v0_1;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getFoundationAuthAESKey():


    public byte[] getFoundationAuthAESKey()
    {
        IllegalArgumentException v0_7;
        if (this._foundationAuth_AES_key == null) {
            this._foundationAuth_AES_key = this.getFoundation_AESKey_fromPreference();
            if (this._foundationAuth_AES_key == null) {
                this._foundationAuth_AES_key = com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common();
                if (this._foundationAuth_AES_key == null) {
                    throw new IllegalArgumentException("CSDK Foundation Auth AES Key is null.");
                } else {
                    this.storeFoundatationAuth_AESKey_InPreference(this._foundationAuth_AES_key);
                }
            }
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        } else {
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        }
        return v0_7;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common():


    public static byte[] generateNewAESKey_Common()
    {
        try {
            IllegalArgumentException v0_4 = javax.crypto.KeyGenerator.getInstance("AES");
            v0_4.init(128);
            return v0_4.generateKey().getEncoded();
        } catch (IllegalArgumentException v0_1) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.TAG, v0_1.getMessage(), v0_1);
            throw new IllegalArgumentException("Auth Foundation : Auth AESKeyMgr : Failed to generate an AES key");
        }
    }

Method javax.crypto.KeyGenerator.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/analytics/AdobeAnalyticsManager;', 'enableAnalyticsReporting', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/analytics/AdobeAnalyticsETSJobManager;', 'enableAnalyticsReporting', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/analytics/AdobeAnalyticsETSSession;', 'getSharedSession', '()Lcom/adobe/creativesdk/foundation/internal/analytics/AdobeAnalyticsETSSession;'), ('Lcom/adobe/creativesdk/foundation/internal/analytics/AdobeAnalyticsETSSession;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/analytics/AdobeAnalyticsETSSession;', 'getEndpointURL', '()Ljava/lang/String;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'getFoundationAuthAESKey', '()[B'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'generateNewAESKey_Common', '()[B'), ('Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsManager.enableAnalyticsReporting():


    public void enableAnalyticsReporting()
    {
        com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSJobManager.getSharedInstance().enableAnalyticsReporting();
        return;
    }

Method com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSJobManager.enableAnalyticsReporting():


    public void enableAnalyticsReporting()
    {
        com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSSession.getSharedSession().enableAnalyticsReporting();
        this.initializeTimerTask();
        this.timer = new java.util.Timer();
        this.initializeTimerTask();
        this.timer.schedule(this.timerTask, 5000, 10000);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSSession.getSharedSession():


    public static com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSSession getSharedSession()
    {
        if (com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSSession.etsSession == null) {
            com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSSession.etsSession = new com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSSession();
        }
        return com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSSession.etsSession;
    }

Method com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSSession.<init>():


    private AdobeAnalyticsETSSession()
    {
        this.networkService = 0;
        this.isAnalyticsEnabled = 0;
        this.networkService = new com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpService(this.getEndpointURL(), "Adobe Creative SDK", 0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSSession.getEndpointURL():


    private String getEndpointURL()
    {
        String v0_1;
        switch (com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSSession$1.$SwitchMap$com$adobe$creativesdk$foundation$internal$auth$AdobeAuthIMSEnvironment[com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance().getEnvironment().ordinal()]) {
            case 1:
                v0_1 = "https://cc-api-data.adobe.io/ingest";
                break;
            default:
                v0_1 = "https://cc-api-data-stage.adobe.io/ingest";
        }
        return v0_1;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getFoundationAuthAESKey():


    public byte[] getFoundationAuthAESKey()
    {
        IllegalArgumentException v0_7;
        if (this._foundationAuth_AES_key == null) {
            this._foundationAuth_AES_key = this.getFoundation_AESKey_fromPreference();
            if (this._foundationAuth_AES_key == null) {
                this._foundationAuth_AES_key = com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common();
                if (this._foundationAuth_AES_key == null) {
                    throw new IllegalArgumentException("CSDK Foundation Auth AES Key is null.");
                } else {
                    this.storeFoundatationAuth_AESKey_InPreference(this._foundationAuth_AES_key);
                }
            }
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        } else {
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        }
        return v0_7;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common():


    public static byte[] generateNewAESKey_Common()
    {
        try {
            IllegalArgumentException v0_4 = javax.crypto.KeyGenerator.getInstance("AES");
            v0_4.init(128);
            return v0_4.generateKey().getEncoded();
        } catch (IllegalArgumentException v0_1) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.TAG, v0_1.getMessage(), v0_1);
            throw new IllegalArgumentException("Auth Foundation : Auth AESKeyMgr : Failed to generate an AES key");
        }
    }

Method javax.crypto.KeyGenerator.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/analytics/AdobeAnalyticsManager;', 'enableAnalyticsReporting', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/analytics/AdobeAnalyticsETSJobManager;', 'enableAnalyticsReporting', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/analytics/AdobeAnalyticsETSSession;', 'getSharedSession', '()Lcom/adobe/creativesdk/foundation/internal/analytics/AdobeAnalyticsETSSession;'), ('Lcom/adobe/creativesdk/foundation/internal/analytics/AdobeAnalyticsETSSession;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/analytics/AdobeAnalyticsETSSession;', 'getEndpointURL', '()Ljava/lang/String;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'setCipherKey', '([B)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', 'createInstance', '([B)Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', '<init>', '([B)V'), ('Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsManager.enableAnalyticsReporting():


    public void enableAnalyticsReporting()
    {
        com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSJobManager.getSharedInstance().enableAnalyticsReporting();
        return;
    }

Method com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSJobManager.enableAnalyticsReporting():


    public void enableAnalyticsReporting()
    {
        com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSSession.getSharedSession().enableAnalyticsReporting();
        this.initializeTimerTask();
        this.timer = new java.util.Timer();
        this.initializeTimerTask();
        this.timer.schedule(this.timerTask, 5000, 10000);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSSession.getSharedSession():


    public static com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSSession getSharedSession()
    {
        if (com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSSession.etsSession == null) {
            com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSSession.etsSession = new com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSSession();
        }
        return com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSSession.etsSession;
    }

Method com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSSession.<init>():


    private AdobeAnalyticsETSSession()
    {
        this.networkService = 0;
        this.isAnalyticsEnabled = 0;
        this.networkService = new com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpService(this.getEndpointURL(), "Adobe Creative SDK", 0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSSession.getEndpointURL():


    private String getEndpointURL()
    {
        String v0_1;
        switch (com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSSession$1.$SwitchMap$com$adobe$creativesdk$foundation$internal$auth$AdobeAuthIMSEnvironment[com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance().getEnvironment().ordinal()]) {
            case 1:
                v0_1 = "https://cc-api-data.adobe.io/ingest";
                break;
            default:
                v0_1 = "https://cc-api-data-stage.adobe.io/ingest";
        }
        return v0_1;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.setCipherKey():


    public void setCipherKey(byte[] p5)
    {
        if (p5 != null) {
            IllegalArgumentException v0_3 = new byte[p5.length];
            System.arraycopy(p5, 0, v0_3, 0, p5.length);
            try {
                this.cipher = com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance(v0_3);
            } catch (IllegalArgumentException v0_5) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, this.getClass().getSimpleName(), v0_5.getMessage(), v0_5);
                throw new IllegalArgumentException("CSDK Foundation Auth : Cannot create Cipher Instance !");
            }
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance():


    static com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher createInstance(byte[] p1)
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance == null) {
            com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance = new com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher(p1);
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.<init>():


    public AdobeCommonCipher(byte[] p4)
    {
        javax.crypto.spec.SecretKeySpec v0_1 = new javax.crypto.spec.SecretKeySpec(p4, "AES");
        this.encryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.encryptionCipher.init(1, v0_1);
        this.decryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.decryptionCipher.init(2, v0_1);
        return;
    }

Method javax.crypto.Cipher.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/analytics/AdobeAnalyticsManager;', 'enableAnalyticsReporting', '(Lcom/adobe/creativesdk/foundation/adobeinternal/analytics/AdobeAnalyticsMode;)V'), ('Lcom/adobe/creativesdk/foundation/internal/analytics/AdobeAnalyticsETSJobManager;', 'enableAnalyticsReporting', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/analytics/AdobeAnalyticsETSSession;', 'getSharedSession', '()Lcom/adobe/creativesdk/foundation/internal/analytics/AdobeAnalyticsETSSession;'), ('Lcom/adobe/creativesdk/foundation/internal/analytics/AdobeAnalyticsETSSession;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/analytics/AdobeAnalyticsETSSession;', 'getEndpointURL', '()Ljava/lang/String;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'getFoundationAuthAESKey', '()[B'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'generateNewAESKey_Common', '()[B'), ('Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsManager.enableAnalyticsReporting():


    public void enableAnalyticsReporting(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsMode p2)
    {
        com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSJobManager.getSharedInstance().enableAnalyticsReporting();
        return;
    }

Method com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSJobManager.enableAnalyticsReporting():


    public void enableAnalyticsReporting()
    {
        com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSSession.getSharedSession().enableAnalyticsReporting();
        this.initializeTimerTask();
        this.timer = new java.util.Timer();
        this.initializeTimerTask();
        this.timer.schedule(this.timerTask, 5000, 10000);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSSession.getSharedSession():


    public static com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSSession getSharedSession()
    {
        if (com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSSession.etsSession == null) {
            com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSSession.etsSession = new com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSSession();
        }
        return com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSSession.etsSession;
    }

Method com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSSession.<init>():


    private AdobeAnalyticsETSSession()
    {
        this.networkService = 0;
        this.isAnalyticsEnabled = 0;
        this.networkService = new com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpService(this.getEndpointURL(), "Adobe Creative SDK", 0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSSession.getEndpointURL():


    private String getEndpointURL()
    {
        String v0_1;
        switch (com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSSession$1.$SwitchMap$com$adobe$creativesdk$foundation$internal$auth$AdobeAuthIMSEnvironment[com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance().getEnvironment().ordinal()]) {
            case 1:
                v0_1 = "https://cc-api-data.adobe.io/ingest";
                break;
            default:
                v0_1 = "https://cc-api-data-stage.adobe.io/ingest";
        }
        return v0_1;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getFoundationAuthAESKey():


    public byte[] getFoundationAuthAESKey()
    {
        IllegalArgumentException v0_7;
        if (this._foundationAuth_AES_key == null) {
            this._foundationAuth_AES_key = this.getFoundation_AESKey_fromPreference();
            if (this._foundationAuth_AES_key == null) {
                this._foundationAuth_AES_key = com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common();
                if (this._foundationAuth_AES_key == null) {
                    throw new IllegalArgumentException("CSDK Foundation Auth AES Key is null.");
                } else {
                    this.storeFoundatationAuth_AESKey_InPreference(this._foundationAuth_AES_key);
                }
            }
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        } else {
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        }
        return v0_7;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common():


    public static byte[] generateNewAESKey_Common()
    {
        try {
            IllegalArgumentException v0_4 = javax.crypto.KeyGenerator.getInstance("AES");
            v0_4.init(128);
            return v0_4.generateKey().getEncoded();
        } catch (IllegalArgumentException v0_1) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.TAG, v0_1.getMessage(), v0_1);
            throw new IllegalArgumentException("Auth Foundation : Auth AESKeyMgr : Failed to generate an AES key");
        }
    }

Method javax.crypto.KeyGenerator.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/analytics/AdobeAnalyticsManager;', 'enableAnalyticsReporting', '(Lcom/adobe/creativesdk/foundation/adobeinternal/analytics/AdobeAnalyticsMode;)V'), ('Lcom/adobe/creativesdk/foundation/internal/analytics/AdobeAnalyticsETSJobManager;', 'enableAnalyticsReporting', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/analytics/AdobeAnalyticsETSSession;', 'getSharedSession', '()Lcom/adobe/creativesdk/foundation/internal/analytics/AdobeAnalyticsETSSession;'), ('Lcom/adobe/creativesdk/foundation/internal/analytics/AdobeAnalyticsETSSession;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/analytics/AdobeAnalyticsETSSession;', 'getEndpointURL', '()Ljava/lang/String;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'setCipherKey', '([B)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', 'createInstance', '([B)Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', '<init>', '([B)V'), ('Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsManager.enableAnalyticsReporting():


    public void enableAnalyticsReporting(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsMode p2)
    {
        com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSJobManager.getSharedInstance().enableAnalyticsReporting();
        return;
    }

Method com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSJobManager.enableAnalyticsReporting():


    public void enableAnalyticsReporting()
    {
        com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSSession.getSharedSession().enableAnalyticsReporting();
        this.initializeTimerTask();
        this.timer = new java.util.Timer();
        this.initializeTimerTask();
        this.timer.schedule(this.timerTask, 5000, 10000);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSSession.getSharedSession():


    public static com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSSession getSharedSession()
    {
        if (com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSSession.etsSession == null) {
            com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSSession.etsSession = new com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSSession();
        }
        return com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSSession.etsSession;
    }

Method com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSSession.<init>():


    private AdobeAnalyticsETSSession()
    {
        this.networkService = 0;
        this.isAnalyticsEnabled = 0;
        this.networkService = new com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpService(this.getEndpointURL(), "Adobe Creative SDK", 0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSSession.getEndpointURL():


    private String getEndpointURL()
    {
        String v0_1;
        switch (com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSSession$1.$SwitchMap$com$adobe$creativesdk$foundation$internal$auth$AdobeAuthIMSEnvironment[com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance().getEnvironment().ordinal()]) {
            case 1:
                v0_1 = "https://cc-api-data.adobe.io/ingest";
                break;
            default:
                v0_1 = "https://cc-api-data-stage.adobe.io/ingest";
        }
        return v0_1;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.setCipherKey():


    public void setCipherKey(byte[] p5)
    {
        if (p5 != null) {
            IllegalArgumentException v0_3 = new byte[p5.length];
            System.arraycopy(p5, 0, v0_3, 0, p5.length);
            try {
                this.cipher = com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance(v0_3);
            } catch (IllegalArgumentException v0_5) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, this.getClass().getSimpleName(), v0_5.getMessage(), v0_5);
                throw new IllegalArgumentException("CSDK Foundation Auth : Cannot create Cipher Instance !");
            }
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance():


    static com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher createInstance(byte[] p1)
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance == null) {
            com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance = new com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher(p1);
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.<init>():


    public AdobeCommonCipher(byte[] p4)
    {
        javax.crypto.spec.SecretKeySpec v0_1 = new javax.crypto.spec.SecretKeySpec(p4, "AES");
        this.encryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.encryptionCipher.init(1, v0_1);
        this.decryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.decryptionCipher.init(2, v0_1);
        return;
    }

Method javax.crypto.Cipher.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/auth/AdobeUXAuthManagerRestricted;', 'setAdditionalAuthenticationParameters', '(Ljava/lang/String; Ljava/lang/String; Ljava/lang/String; [Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthOptions; [Ljava/lang/String; [B)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'setAuthenticationParameters', '(Ljava/lang/String; Ljava/lang/String; Ljava/lang/String; Ljava/lang/String; Ljava/lang/String; [Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthOptions; [Ljava/lang/String; [B)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'setCipherKey', '([B)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', 'createInstance', '([B)Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', '<init>', '([B)V'), ('Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.auth.AdobeUXAuthManagerRestricted.setAdditionalAuthenticationParameters():


    private void setAdditionalAuthenticationParameters(String p10, String p11, String p12, com.adobe.creativesdk.foundation.internal.auth.AdobeAuthOptions[] p13, String[] p14, byte[] p15)
    {
        this._authManagerImpl.setAuthenticationParameters(com.adobe.creativesdk.foundation.AdobeCSDKFoundation.getClientId(), com.adobe.creativesdk.foundation.AdobeCSDKFoundation.getClientSecret(), p10, p11, p12, p13, p14, p15);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.setAuthenticationParameters():


    public void setAuthenticationParameters(String p7, String p8, String p9, String p10, String p11, com.adobe.creativesdk.foundation.internal.auth.AdobeAuthOptions[] p12, String[] p13, byte[] p14)
    {
        if (this.isInitialized()) {
            com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService v0_1 = com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance();
            v0_1.setCipherKey(p14);
            v0_1.setAuthenticationParameters(p7, p8, p9, p10, p11);
            v0_1.setGrantType(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIMSGrantType.AdobeAuthIMSGrantTypeDevice);
            if (!this._ignoreCceScope) {
                int v1_3;
                if (p13 == null) {
                    v1_3 = new String[1];
                    v1_3[0] = "sao.cce_private";
                } else {
                    int v2_1 = new String[(p13.length + 1)];
                    int v1_6 = 0;
                    while (v1_6 < p13.length) {
                        v2_1[v1_6] = p13[v1_6];
                        v1_6++;
                    }
                    v2_1[p13.length] = "sao.cce_private";
                    v1_3 = v2_1;
                }
                this._hasPrivateCloudScope = 1;
                v0_1.setAdditionalClientScopes(v1_3);
            } else {
                this._hasPrivateCloudScope = 0;
                v0_1.setAdditionalClientScopes(p13);
            }
            this.mAuthOptions = p12;
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.setCipherKey():


    public void setCipherKey(byte[] p5)
    {
        if (p5 != null) {
            IllegalArgumentException v0_3 = new byte[p5.length];
            System.arraycopy(p5, 0, v0_3, 0, p5.length);
            try {
                this.cipher = com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance(v0_3);
            } catch (IllegalArgumentException v0_5) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, this.getClass().getSimpleName(), v0_5.getMessage(), v0_5);
                throw new IllegalArgumentException("CSDK Foundation Auth : Cannot create Cipher Instance !");
            }
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance():


    static com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher createInstance(byte[] p1)
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance == null) {
            com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance = new com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher(p1);
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.<init>():


    public AdobeCommonCipher(byte[] p4)
    {
        javax.crypto.spec.SecretKeySpec v0_1 = new javax.crypto.spec.SecretKeySpec(p4, "AES");
        this.encryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.encryptionCipher.init(1, v0_1);
        this.decryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.decryptionCipher.init(2, v0_1);
        return;
    }

Method javax.crypto.Cipher.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/auth/AdobeUXAuthManagerRestricted;', 'setAdditionalAuthenticationParameters', '(Ljava/lang/String; Ljava/lang/String; Ljava/lang/String; [Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthOptions; [Ljava/lang/String; [B)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'setAuthenticationParameters', '(Ljava/lang/String; Ljava/lang/String; Ljava/lang/String; Ljava/lang/String; Ljava/lang/String; [Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthOptions; [Ljava/lang/String; [B)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'getFoundationAuthAESKey', '()[B'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'generateNewAESKey_Common', '()[B'), ('Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.auth.AdobeUXAuthManagerRestricted.setAdditionalAuthenticationParameters():


    private void setAdditionalAuthenticationParameters(String p10, String p11, String p12, com.adobe.creativesdk.foundation.internal.auth.AdobeAuthOptions[] p13, String[] p14, byte[] p15)
    {
        this._authManagerImpl.setAuthenticationParameters(com.adobe.creativesdk.foundation.AdobeCSDKFoundation.getClientId(), com.adobe.creativesdk.foundation.AdobeCSDKFoundation.getClientSecret(), p10, p11, p12, p13, p14, p15);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.setAuthenticationParameters():


    public void setAuthenticationParameters(String p7, String p8, String p9, String p10, String p11, com.adobe.creativesdk.foundation.internal.auth.AdobeAuthOptions[] p12, String[] p13, byte[] p14)
    {
        if (this.isInitialized()) {
            com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService v0_1 = com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance();
            v0_1.setCipherKey(p14);
            v0_1.setAuthenticationParameters(p7, p8, p9, p10, p11);
            v0_1.setGrantType(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIMSGrantType.AdobeAuthIMSGrantTypeDevice);
            if (!this._ignoreCceScope) {
                int v1_3;
                if (p13 == null) {
                    v1_3 = new String[1];
                    v1_3[0] = "sao.cce_private";
                } else {
                    int v2_1 = new String[(p13.length + 1)];
                    int v1_6 = 0;
                    while (v1_6 < p13.length) {
                        v2_1[v1_6] = p13[v1_6];
                        v1_6++;
                    }
                    v2_1[p13.length] = "sao.cce_private";
                    v1_3 = v2_1;
                }
                this._hasPrivateCloudScope = 1;
                v0_1.setAdditionalClientScopes(v1_3);
            } else {
                this._hasPrivateCloudScope = 0;
                v0_1.setAdditionalClientScopes(p13);
            }
            this.mAuthOptions = p12;
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getFoundationAuthAESKey():


    public byte[] getFoundationAuthAESKey()
    {
        IllegalArgumentException v0_7;
        if (this._foundationAuth_AES_key == null) {
            this._foundationAuth_AES_key = this.getFoundation_AESKey_fromPreference();
            if (this._foundationAuth_AES_key == null) {
                this._foundationAuth_AES_key = com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common();
                if (this._foundationAuth_AES_key == null) {
                    throw new IllegalArgumentException("CSDK Foundation Auth AES Key is null.");
                } else {
                    this.storeFoundatationAuth_AESKey_InPreference(this._foundationAuth_AES_key);
                }
            }
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        } else {
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        }
        return v0_7;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common():


    public static byte[] generateNewAESKey_Common()
    {
        try {
            IllegalArgumentException v0_4 = javax.crypto.KeyGenerator.getInstance("AES");
            v0_4.init(128);
            return v0_4.generateKey().getEncoded();
        } catch (IllegalArgumentException v0_1) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.TAG, v0_1.getMessage(), v0_1);
            throw new IllegalArgumentException("Auth Foundation : Auth AESKeyMgr : Failed to generate an AES key");
        }
    }

Method javax.crypto.KeyGenerator.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/auth/AdobeUXAuthManagerRestricted;', 'checkAndCallErrorIfInvalidAccessToken', '(Lcom/adobe/creativesdk/foundation/IAdobeGenericErrorCallback; Ljava/lang/String;)Z'), ('Lcom/adobe/creativesdk/foundation/adobeinternal/auth/AdobeUXAuthManagerRestricted;', 'hasValidAccessToken', '()Z'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'willAccessTokenBeValidIn', '(J)Z'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'getIMSService', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'setCipherKey', '([B)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', 'createInstance', '([B)Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', '<init>', '([B)V'), ('Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.auth.AdobeUXAuthManagerRestricted.checkAndCallErrorIfInvalidAccessToken():


    public boolean checkAndCallErrorIfInvalidAccessToken(com.adobe.creativesdk.foundation.IAdobeGenericErrorCallback p5, String p6)
    {
        int v0 = 0;
        if (!com.adobe.creativesdk.foundation.adobeinternal.auth.AdobeUXAuthManagerRestricted.mMockTestMode) {
            boolean v1_1 = this.hasValidAccessToken();
            if (!v1_1) {
                if (p5 == null) {
                    com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.adobeinternal.auth.AdobeUXAuthManagerRestricted.getSimpleName(), p6);
                } else {
                    p5.onError(new com.adobe.creativesdk.foundation.auth.AdobeAuthException(com.adobe.creativesdk.foundation.auth.AdobeAuthErrorCode.ADOBE_AUTH_ERROR_CODE_USER_CREDENTIALS_REQUIRED));
                }
            }
            if (!v1_1) {
                v0 = 1;
            }
        }
        return v0;
    }

Method com.adobe.creativesdk.foundation.adobeinternal.auth.AdobeUXAuthManagerRestricted.hasValidAccessToken():


    public boolean hasValidAccessToken()
    {
        return this._authManagerImpl.willAccessTokenBeValidIn(0);
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.willAccessTokenBeValidIn():


    public boolean willAccessTokenBeValidIn(long p10)
    {
        int v0 = 0;
        long v1_6 = this.getIMSService().getAccessToken();
        if ((v1_6 != 0) && (v1_6.length() > 0)) {
            long v1_1 = this.getIMSService().getAccessTokenExpirationTime();
            if ((v1_1 != 0) && (v1_1.getTime() > (new java.util.Date().getTime() + (1000 * p10)))) {
                v0 = 1;
            }
        }
        return v0;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.getIMSService():


    private com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getIMSService()
    {
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance();
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.setCipherKey():


    public void setCipherKey(byte[] p5)
    {
        if (p5 != null) {
            IllegalArgumentException v0_3 = new byte[p5.length];
            System.arraycopy(p5, 0, v0_3, 0, p5.length);
            try {
                this.cipher = com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance(v0_3);
            } catch (IllegalArgumentException v0_5) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, this.getClass().getSimpleName(), v0_5.getMessage(), v0_5);
                throw new IllegalArgumentException("CSDK Foundation Auth : Cannot create Cipher Instance !");
            }
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance():


    static com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher createInstance(byte[] p1)
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance == null) {
            com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance = new com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher(p1);
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.<init>():


    public AdobeCommonCipher(byte[] p4)
    {
        javax.crypto.spec.SecretKeySpec v0_1 = new javax.crypto.spec.SecretKeySpec(p4, "AES");
        this.encryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.encryptionCipher.init(1, v0_1);
        this.decryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.decryptionCipher.init(2, v0_1);
        return;
    }

Method javax.crypto.Cipher.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/auth/AdobeUXAuthManagerRestricted;', 'checkAndCallErrorIfInvalidAccessToken', '(Lcom/adobe/creativesdk/foundation/IAdobeGenericErrorCallback; Ljava/lang/String;)Z'), ('Lcom/adobe/creativesdk/foundation/adobeinternal/auth/AdobeUXAuthManagerRestricted;', 'hasValidAccessToken', '()Z'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'willAccessTokenBeValidIn', '(J)Z'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'getIMSService', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'getFoundationAuthAESKey', '()[B'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'generateNewAESKey_Common', '()[B'), ('Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.auth.AdobeUXAuthManagerRestricted.checkAndCallErrorIfInvalidAccessToken():


    public boolean checkAndCallErrorIfInvalidAccessToken(com.adobe.creativesdk.foundation.IAdobeGenericErrorCallback p5, String p6)
    {
        int v0 = 0;
        if (!com.adobe.creativesdk.foundation.adobeinternal.auth.AdobeUXAuthManagerRestricted.mMockTestMode) {
            boolean v1_1 = this.hasValidAccessToken();
            if (!v1_1) {
                if (p5 == null) {
                    com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.adobeinternal.auth.AdobeUXAuthManagerRestricted.getSimpleName(), p6);
                } else {
                    p5.onError(new com.adobe.creativesdk.foundation.auth.AdobeAuthException(com.adobe.creativesdk.foundation.auth.AdobeAuthErrorCode.ADOBE_AUTH_ERROR_CODE_USER_CREDENTIALS_REQUIRED));
                }
            }
            if (!v1_1) {
                v0 = 1;
            }
        }
        return v0;
    }

Method com.adobe.creativesdk.foundation.adobeinternal.auth.AdobeUXAuthManagerRestricted.hasValidAccessToken():


    public boolean hasValidAccessToken()
    {
        return this._authManagerImpl.willAccessTokenBeValidIn(0);
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.willAccessTokenBeValidIn():


    public boolean willAccessTokenBeValidIn(long p10)
    {
        int v0 = 0;
        long v1_6 = this.getIMSService().getAccessToken();
        if ((v1_6 != 0) && (v1_6.length() > 0)) {
            long v1_1 = this.getIMSService().getAccessTokenExpirationTime();
            if ((v1_1 != 0) && (v1_1.getTime() > (new java.util.Date().getTime() + (1000 * p10)))) {
                v0 = 1;
            }
        }
        return v0;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.getIMSService():


    private com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getIMSService()
    {
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance();
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getFoundationAuthAESKey():


    public byte[] getFoundationAuthAESKey()
    {
        IllegalArgumentException v0_7;
        if (this._foundationAuth_AES_key == null) {
            this._foundationAuth_AES_key = this.getFoundation_AESKey_fromPreference();
            if (this._foundationAuth_AES_key == null) {
                this._foundationAuth_AES_key = com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common();
                if (this._foundationAuth_AES_key == null) {
                    throw new IllegalArgumentException("CSDK Foundation Auth AES Key is null.");
                } else {
                    this.storeFoundatationAuth_AESKey_InPreference(this._foundationAuth_AES_key);
                }
            }
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        } else {
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        }
        return v0_7;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common():


    public static byte[] generateNewAESKey_Common()
    {
        try {
            IllegalArgumentException v0_4 = javax.crypto.KeyGenerator.getInstance("AES");
            v0_4.init(128);
            return v0_4.generateKey().getEncoded();
        } catch (IllegalArgumentException v0_1) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.TAG, v0_1.getMessage(), v0_1);
            throw new IllegalArgumentException("Auth Foundation : Auth AESKeyMgr : Failed to generate an AES key");
        }
    }

Method javax.crypto.KeyGenerator.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/aviary/internal/account/AdobeBillingContentService$1;', 'getAccessToken', '()Ljava/lang/String;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'setCipherKey', '([B)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', 'createInstance', '([B)Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', '<init>', '([B)V'), ('Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.aviary.internal.account.AdobeBillingContentService$1.getAccessToken():


    public String getAccessToken()
    {
        String v0_0 = com.adobe.creativesdk.aviary.internal.account.AdobeBillingContentService.access$000();
        Object[] v2_1 = new Object[1];
        v2_1[0] = com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance().getAccessToken();
        v0_0.log("getAccessToken: %s", v2_1);
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance().getAccessToken();
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.setCipherKey():


    public void setCipherKey(byte[] p5)
    {
        if (p5 != null) {
            IllegalArgumentException v0_3 = new byte[p5.length];
            System.arraycopy(p5, 0, v0_3, 0, p5.length);
            try {
                this.cipher = com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance(v0_3);
            } catch (IllegalArgumentException v0_5) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, this.getClass().getSimpleName(), v0_5.getMessage(), v0_5);
                throw new IllegalArgumentException("CSDK Foundation Auth : Cannot create Cipher Instance !");
            }
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance():


    static com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher createInstance(byte[] p1)
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance == null) {
            com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance = new com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher(p1);
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.<init>():


    public AdobeCommonCipher(byte[] p4)
    {
        javax.crypto.spec.SecretKeySpec v0_1 = new javax.crypto.spec.SecretKeySpec(p4, "AES");
        this.encryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.encryptionCipher.init(1, v0_1);
        this.decryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.decryptionCipher.init(2, v0_1);
        return;
    }

Method javax.crypto.Cipher.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/aviary/internal/account/AdobeBillingContentService$1;', 'getAccessToken', '()Ljava/lang/String;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'getFoundationAuthAESKey', '()[B'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'generateNewAESKey_Common', '()[B'), ('Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.aviary.internal.account.AdobeBillingContentService$1.getAccessToken():


    public String getAccessToken()
    {
        String v0_0 = com.adobe.creativesdk.aviary.internal.account.AdobeBillingContentService.access$000();
        Object[] v2_1 = new Object[1];
        v2_1[0] = com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance().getAccessToken();
        v0_0.log("getAccessToken: %s", v2_1);
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance().getAccessToken();
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getFoundationAuthAESKey():


    public byte[] getFoundationAuthAESKey()
    {
        IllegalArgumentException v0_7;
        if (this._foundationAuth_AES_key == null) {
            this._foundationAuth_AES_key = this.getFoundation_AESKey_fromPreference();
            if (this._foundationAuth_AES_key == null) {
                this._foundationAuth_AES_key = com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common();
                if (this._foundationAuth_AES_key == null) {
                    throw new IllegalArgumentException("CSDK Foundation Auth AES Key is null.");
                } else {
                    this.storeFoundatationAuth_AESKey_InPreference(this._foundationAuth_AES_key);
                }
            }
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        } else {
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        }
        return v0_7;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common():


    public static byte[] generateNewAESKey_Common()
    {
        try {
            IllegalArgumentException v0_4 = javax.crypto.KeyGenerator.getInstance("AES");
            v0_4.init(128);
            return v0_4.generateKey().getEncoded();
        } catch (IllegalArgumentException v0_1) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.TAG, v0_1.getMessage(), v0_1);
            throw new IllegalArgumentException("Auth Foundation : Auth AESKeyMgr : Failed to generate an AES key");
        }
    }

Method javax.crypto.KeyGenerator.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/aviary/internal/account/AdobeBillingContentService$1;', 'getAccessTokenExpirationTime', '()J'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'setCipherKey', '([B)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', 'createInstance', '([B)Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', '<init>', '([B)V'), ('Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.aviary.internal.account.AdobeBillingContentService$1.getAccessTokenExpirationTime():


    public long getAccessTokenExpirationTime()
    {
        long v0_2;
        long v0_1 = com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance().getAccessTokenExpirationTime();
        if (v0_1 == 0) {
            v0_2 = -1;
        } else {
            v0_2 = v0_1.getTime();
        }
        return v0_2;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.setCipherKey():


    public void setCipherKey(byte[] p5)
    {
        if (p5 != null) {
            IllegalArgumentException v0_3 = new byte[p5.length];
            System.arraycopy(p5, 0, v0_3, 0, p5.length);
            try {
                this.cipher = com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance(v0_3);
            } catch (IllegalArgumentException v0_5) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, this.getClass().getSimpleName(), v0_5.getMessage(), v0_5);
                throw new IllegalArgumentException("CSDK Foundation Auth : Cannot create Cipher Instance !");
            }
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance():


    static com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher createInstance(byte[] p1)
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance == null) {
            com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance = new com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher(p1);
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.<init>():


    public AdobeCommonCipher(byte[] p4)
    {
        javax.crypto.spec.SecretKeySpec v0_1 = new javax.crypto.spec.SecretKeySpec(p4, "AES");
        this.encryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.encryptionCipher.init(1, v0_1);
        this.decryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.decryptionCipher.init(2, v0_1);
        return;
    }

Method javax.crypto.Cipher.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/aviary/internal/account/AdobeBillingContentService$1;', 'getAccessTokenExpirationTime', '()J'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'getFoundationAuthAESKey', '()[B'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'generateNewAESKey_Common', '()[B'), ('Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.aviary.internal.account.AdobeBillingContentService$1.getAccessTokenExpirationTime():


    public long getAccessTokenExpirationTime()
    {
        long v0_2;
        long v0_1 = com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance().getAccessTokenExpirationTime();
        if (v0_1 == 0) {
            v0_2 = -1;
        } else {
            v0_2 = v0_1.getTime();
        }
        return v0_2;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getFoundationAuthAESKey():


    public byte[] getFoundationAuthAESKey()
    {
        IllegalArgumentException v0_7;
        if (this._foundationAuth_AES_key == null) {
            this._foundationAuth_AES_key = this.getFoundation_AESKey_fromPreference();
            if (this._foundationAuth_AES_key == null) {
                this._foundationAuth_AES_key = com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common();
                if (this._foundationAuth_AES_key == null) {
                    throw new IllegalArgumentException("CSDK Foundation Auth AES Key is null.");
                } else {
                    this.storeFoundatationAuth_AESKey_InPreference(this._foundationAuth_AES_key);
                }
            }
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        } else {
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        }
        return v0_7;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common():


    public static byte[] generateNewAESKey_Common()
    {
        try {
            IllegalArgumentException v0_4 = javax.crypto.KeyGenerator.getInstance("AES");
            v0_4.init(128);
            return v0_4.generateKey().getEncoded();
        } catch (IllegalArgumentException v0_1) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.TAG, v0_1.getMessage(), v0_1);
            throw new IllegalArgumentException("Auth Foundation : Auth AESKeyMgr : Failed to generate an AES key");
        }
    }

Method javax.crypto.KeyGenerator.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/aviary/internal/account/AdobeBillingContentService$1;', 'getUserProfile', '()Lcom/adobe/creativesdk/aviary/internal/account/IAidlAdobeAuthUserProfile;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'getUserProfile', '()Lcom/adobe/creativesdk/foundation/auth/AdobeAuthUserProfile;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'isAuthenticated', '()Z'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'setCipherKey', '([B)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', 'createInstance', '([B)Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', '<init>', '([B)V'), ('Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.aviary.internal.account.AdobeBillingContentService$1.getUserProfile():


    public com.adobe.creativesdk.aviary.internal.account.IAidlAdobeAuthUserProfile getUserProfile()
    {
        int v0_1;
        if (!this.isAuthenticated()) {
            v0_1 = 0;
        } else {
            v0_1 = new com.adobe.creativesdk.aviary.internal.account.IAidlAdobeAuthUserProfile(com.adobe.creativesdk.aviary.internal.account.AdobeBillingContentService.access$400(this.this$0).getUserProfile());
        }
        return v0_1;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.getUserProfile():


    public com.adobe.creativesdk.foundation.auth.AdobeAuthUserProfile getUserProfile()
    {
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthUserProfileImpl v0_17;
        int v1_0 = 1;
        if ((this.isInitialized()) && (this.isAuthenticated())) {
            this.mUserProfile = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthUserProfileImpl();
            String v3_0 = com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance();
            com.adobe.creativesdk.foundation.internal.auth.AdobeAuthUserProfileImpl v0_1 = this.getIMSService().getAdobeID();
            if (v0_1 != null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthUserProfileImpl v0_11;
                this.mUserProfile.setAdobeID(v0_1);
                this.mUserProfile.setDisplayName(v3_0.getDisplayName());
                this.mUserProfile.setCountrycode(v3_0.getCountryCode());
                this.mUserProfile.setFirstName(v3_0.getFirstName());
                this.mUserProfile.setLastName(v3_0.getLastName());
                this.mUserProfile.setEmail(v3_0.getEmailAddress());
                if ((v3_0.getEmailVerified() == null) || (!v3_0.getEmailVerified().equals("true"))) {
                    v0_11 = 0;
                } else {
                    v0_11 = 1;
                }
                this.mUserProfile.setEmailVerified(v0_11);
                if ((v3_0.getIsEnterPrise() == null) || (!v3_0.getIsEnterPrise().equals("true"))) {
                    v1_0 = 0;
                }
                this.mUserProfile.setEnterprise(v1_0);
                v0_17 = this.mUserProfile;
            } else {
                throw new RuntimeException("User profile not available. But user Authenticated");
            }
        } else {
            v0_17 = 0;
        }
        return v0_17;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.isAuthenticated():


    public boolean isAuthenticated()
    {
        int v0 = 0;
        if (this.isInitialized()) {
            String v1_2 = com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance().getAdobeID();
            if (((this.hasValidAccessToken()) || (this.canRefreshAccessToken())) && (v1_2 != null)) {
                v0 = 1;
            }
        }
        return v0;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.setCipherKey():


    public void setCipherKey(byte[] p5)
    {
        if (p5 != null) {
            IllegalArgumentException v0_3 = new byte[p5.length];
            System.arraycopy(p5, 0, v0_3, 0, p5.length);
            try {
                this.cipher = com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance(v0_3);
            } catch (IllegalArgumentException v0_5) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, this.getClass().getSimpleName(), v0_5.getMessage(), v0_5);
                throw new IllegalArgumentException("CSDK Foundation Auth : Cannot create Cipher Instance !");
            }
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance():


    static com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher createInstance(byte[] p1)
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance == null) {
            com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance = new com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher(p1);
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.<init>():


    public AdobeCommonCipher(byte[] p4)
    {
        javax.crypto.spec.SecretKeySpec v0_1 = new javax.crypto.spec.SecretKeySpec(p4, "AES");
        this.encryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.encryptionCipher.init(1, v0_1);
        this.decryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.decryptionCipher.init(2, v0_1);
        return;
    }

Method javax.crypto.Cipher.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/aviary/internal/account/AdobeBillingContentService$1;', 'getUserProfile', '()Lcom/adobe/creativesdk/aviary/internal/account/IAidlAdobeAuthUserProfile;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'getUserProfile', '()Lcom/adobe/creativesdk/foundation/auth/AdobeAuthUserProfile;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'isAuthenticated', '()Z'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'getFoundationAuthAESKey', '()[B'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'generateNewAESKey_Common', '()[B'), ('Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.aviary.internal.account.AdobeBillingContentService$1.getUserProfile():


    public com.adobe.creativesdk.aviary.internal.account.IAidlAdobeAuthUserProfile getUserProfile()
    {
        int v0_1;
        if (!this.isAuthenticated()) {
            v0_1 = 0;
        } else {
            v0_1 = new com.adobe.creativesdk.aviary.internal.account.IAidlAdobeAuthUserProfile(com.adobe.creativesdk.aviary.internal.account.AdobeBillingContentService.access$400(this.this$0).getUserProfile());
        }
        return v0_1;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.getUserProfile():


    public com.adobe.creativesdk.foundation.auth.AdobeAuthUserProfile getUserProfile()
    {
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthUserProfileImpl v0_17;
        int v1_0 = 1;
        if ((this.isInitialized()) && (this.isAuthenticated())) {
            this.mUserProfile = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthUserProfileImpl();
            String v3_0 = com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance();
            com.adobe.creativesdk.foundation.internal.auth.AdobeAuthUserProfileImpl v0_1 = this.getIMSService().getAdobeID();
            if (v0_1 != null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthUserProfileImpl v0_11;
                this.mUserProfile.setAdobeID(v0_1);
                this.mUserProfile.setDisplayName(v3_0.getDisplayName());
                this.mUserProfile.setCountrycode(v3_0.getCountryCode());
                this.mUserProfile.setFirstName(v3_0.getFirstName());
                this.mUserProfile.setLastName(v3_0.getLastName());
                this.mUserProfile.setEmail(v3_0.getEmailAddress());
                if ((v3_0.getEmailVerified() == null) || (!v3_0.getEmailVerified().equals("true"))) {
                    v0_11 = 0;
                } else {
                    v0_11 = 1;
                }
                this.mUserProfile.setEmailVerified(v0_11);
                if ((v3_0.getIsEnterPrise() == null) || (!v3_0.getIsEnterPrise().equals("true"))) {
                    v1_0 = 0;
                }
                this.mUserProfile.setEnterprise(v1_0);
                v0_17 = this.mUserProfile;
            } else {
                throw new RuntimeException("User profile not available. But user Authenticated");
            }
        } else {
            v0_17 = 0;
        }
        return v0_17;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.isAuthenticated():


    public boolean isAuthenticated()
    {
        int v0 = 0;
        if (this.isInitialized()) {
            String v1_2 = com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance().getAdobeID();
            if (((this.hasValidAccessToken()) || (this.canRefreshAccessToken())) && (v1_2 != null)) {
                v0 = 1;
            }
        }
        return v0;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getFoundationAuthAESKey():


    public byte[] getFoundationAuthAESKey()
    {
        IllegalArgumentException v0_7;
        if (this._foundationAuth_AES_key == null) {
            this._foundationAuth_AES_key = this.getFoundation_AESKey_fromPreference();
            if (this._foundationAuth_AES_key == null) {
                this._foundationAuth_AES_key = com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common();
                if (this._foundationAuth_AES_key == null) {
                    throw new IllegalArgumentException("CSDK Foundation Auth AES Key is null.");
                } else {
                    this.storeFoundatationAuth_AESKey_InPreference(this._foundationAuth_AES_key);
                }
            }
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        } else {
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        }
        return v0_7;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common():


    public static byte[] generateNewAESKey_Common()
    {
        try {
            IllegalArgumentException v0_4 = javax.crypto.KeyGenerator.getInstance("AES");
            v0_4.init(128);
            return v0_4.generateKey().getEncoded();
        } catch (IllegalArgumentException v0_1) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.TAG, v0_1.getMessage(), v0_1);
            throw new IllegalArgumentException("Auth Foundation : Auth AESKeyMgr : Failed to generate an AES key");
        }
    }

Method javax.crypto.KeyGenerator.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/aviary/internal/account/AdobeBillingContentService$1;', 'hasValidAccessToken', '()Z'), ('Lcom/adobe/creativesdk/foundation/adobeinternal/auth/AdobeUXAuthManagerRestricted;', 'hasValidAccessToken', '()Z'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'willAccessTokenBeValidIn', '(J)Z'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'getIMSService', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'setCipherKey', '([B)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', 'createInstance', '([B)Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', '<init>', '([B)V'), ('Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.aviary.internal.account.AdobeBillingContentService$1.hasValidAccessToken():


    public boolean hasValidAccessToken()
    {
        return com.adobe.creativesdk.foundation.adobeinternal.auth.AdobeUXAuthManagerRestricted.getSharedAuthManagerRestricted().hasValidAccessToken();
    }

Method com.adobe.creativesdk.foundation.adobeinternal.auth.AdobeUXAuthManagerRestricted.hasValidAccessToken():


    public boolean hasValidAccessToken()
    {
        return this._authManagerImpl.willAccessTokenBeValidIn(0);
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.willAccessTokenBeValidIn():


    public boolean willAccessTokenBeValidIn(long p10)
    {
        int v0 = 0;
        long v1_6 = this.getIMSService().getAccessToken();
        if ((v1_6 != 0) && (v1_6.length() > 0)) {
            long v1_1 = this.getIMSService().getAccessTokenExpirationTime();
            if ((v1_1 != 0) && (v1_1.getTime() > (new java.util.Date().getTime() + (1000 * p10)))) {
                v0 = 1;
            }
        }
        return v0;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.getIMSService():


    private com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getIMSService()
    {
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance();
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.setCipherKey():


    public void setCipherKey(byte[] p5)
    {
        if (p5 != null) {
            IllegalArgumentException v0_3 = new byte[p5.length];
            System.arraycopy(p5, 0, v0_3, 0, p5.length);
            try {
                this.cipher = com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance(v0_3);
            } catch (IllegalArgumentException v0_5) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, this.getClass().getSimpleName(), v0_5.getMessage(), v0_5);
                throw new IllegalArgumentException("CSDK Foundation Auth : Cannot create Cipher Instance !");
            }
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance():


    static com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher createInstance(byte[] p1)
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance == null) {
            com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance = new com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher(p1);
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.<init>():


    public AdobeCommonCipher(byte[] p4)
    {
        javax.crypto.spec.SecretKeySpec v0_1 = new javax.crypto.spec.SecretKeySpec(p4, "AES");
        this.encryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.encryptionCipher.init(1, v0_1);
        this.decryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.decryptionCipher.init(2, v0_1);
        return;
    }

Method javax.crypto.Cipher.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/aviary/internal/account/AdobeBillingContentService$1;', 'hasValidAccessToken', '()Z'), ('Lcom/adobe/creativesdk/foundation/adobeinternal/auth/AdobeUXAuthManagerRestricted;', 'hasValidAccessToken', '()Z'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'willAccessTokenBeValidIn', '(J)Z'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'getIMSService', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'getFoundationAuthAESKey', '()[B'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'generateNewAESKey_Common', '()[B'), ('Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.aviary.internal.account.AdobeBillingContentService$1.hasValidAccessToken():


    public boolean hasValidAccessToken()
    {
        return com.adobe.creativesdk.foundation.adobeinternal.auth.AdobeUXAuthManagerRestricted.getSharedAuthManagerRestricted().hasValidAccessToken();
    }

Method com.adobe.creativesdk.foundation.adobeinternal.auth.AdobeUXAuthManagerRestricted.hasValidAccessToken():


    public boolean hasValidAccessToken()
    {
        return this._authManagerImpl.willAccessTokenBeValidIn(0);
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.willAccessTokenBeValidIn():


    public boolean willAccessTokenBeValidIn(long p10)
    {
        int v0 = 0;
        long v1_6 = this.getIMSService().getAccessToken();
        if ((v1_6 != 0) && (v1_6.length() > 0)) {
            long v1_1 = this.getIMSService().getAccessTokenExpirationTime();
            if ((v1_1 != 0) && (v1_1.getTime() > (new java.util.Date().getTime() + (1000 * p10)))) {
                v0 = 1;
            }
        }
        return v0;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.getIMSService():


    private com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getIMSService()
    {
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance();
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getFoundationAuthAESKey():


    public byte[] getFoundationAuthAESKey()
    {
        IllegalArgumentException v0_7;
        if (this._foundationAuth_AES_key == null) {
            this._foundationAuth_AES_key = this.getFoundation_AESKey_fromPreference();
            if (this._foundationAuth_AES_key == null) {
                this._foundationAuth_AES_key = com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common();
                if (this._foundationAuth_AES_key == null) {
                    throw new IllegalArgumentException("CSDK Foundation Auth AES Key is null.");
                } else {
                    this.storeFoundatationAuth_AESKey_InPreference(this._foundationAuth_AES_key);
                }
            }
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        } else {
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        }
        return v0_7;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common():


    public static byte[] generateNewAESKey_Common()
    {
        try {
            IllegalArgumentException v0_4 = javax.crypto.KeyGenerator.getInstance("AES");
            v0_4.init(128);
            return v0_4.generateKey().getEncoded();
        } catch (IllegalArgumentException v0_1) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.TAG, v0_1.getMessage(), v0_1);
            throw new IllegalArgumentException("Auth Foundation : Auth AESKeyMgr : Failed to generate an AES key");
        }
    }

Method javax.crypto.KeyGenerator.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/aviary/internal/account/AdobeBillingContentService$1;', 'signIn', '(Lcom/adobe/creativesdk/aviary/internal/account/IAidlAdobeImsSignInCallback;)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'setCipherKey', '([B)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', 'createInstance', '([B)Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', '<init>', '([B)V'), ('Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.aviary.internal.account.AdobeBillingContentService$1.signIn():


    public void signIn(com.adobe.creativesdk.aviary.internal.account.IAidlAdobeImsSignInCallback p3)
    {
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance().signIn(new com.adobe.creativesdk.aviary.internal.account.AdobeBillingContentService$1$1(this, p3));
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.setCipherKey():


    public void setCipherKey(byte[] p5)
    {
        if (p5 != null) {
            IllegalArgumentException v0_3 = new byte[p5.length];
            System.arraycopy(p5, 0, v0_3, 0, p5.length);
            try {
                this.cipher = com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance(v0_3);
            } catch (IllegalArgumentException v0_5) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, this.getClass().getSimpleName(), v0_5.getMessage(), v0_5);
                throw new IllegalArgumentException("CSDK Foundation Auth : Cannot create Cipher Instance !");
            }
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance():


    static com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher createInstance(byte[] p1)
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance == null) {
            com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance = new com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher(p1);
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.<init>():


    public AdobeCommonCipher(byte[] p4)
    {
        javax.crypto.spec.SecretKeySpec v0_1 = new javax.crypto.spec.SecretKeySpec(p4, "AES");
        this.encryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.encryptionCipher.init(1, v0_1);
        this.decryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.decryptionCipher.init(2, v0_1);
        return;
    }

Method javax.crypto.Cipher.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/aviary/internal/account/AdobeBillingContentService$1;', 'signIn', '(Lcom/adobe/creativesdk/aviary/internal/account/IAidlAdobeImsSignInCallback;)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'getFoundationAuthAESKey', '()[B'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'generateNewAESKey_Common', '()[B'), ('Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.aviary.internal.account.AdobeBillingContentService$1.signIn():


    public void signIn(com.adobe.creativesdk.aviary.internal.account.IAidlAdobeImsSignInCallback p3)
    {
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance().signIn(new com.adobe.creativesdk.aviary.internal.account.AdobeBillingContentService$1$1(this, p3));
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getFoundationAuthAESKey():


    public byte[] getFoundationAuthAESKey()
    {
        IllegalArgumentException v0_7;
        if (this._foundationAuth_AES_key == null) {
            this._foundationAuth_AES_key = this.getFoundation_AESKey_fromPreference();
            if (this._foundationAuth_AES_key == null) {
                this._foundationAuth_AES_key = com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common();
                if (this._foundationAuth_AES_key == null) {
                    throw new IllegalArgumentException("CSDK Foundation Auth AES Key is null.");
                } else {
                    this.storeFoundatationAuth_AESKey_InPreference(this._foundationAuth_AES_key);
                }
            }
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        } else {
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        }
        return v0_7;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common():


    public static byte[] generateNewAESKey_Common()
    {
        try {
            IllegalArgumentException v0_4 = javax.crypto.KeyGenerator.getInstance("AES");
            v0_4.init(128);
            return v0_4.generateKey().getEncoded();
        } catch (IllegalArgumentException v0_1) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.TAG, v0_1.getMessage(), v0_1);
            throw new IllegalArgumentException("Auth Foundation : Auth AESKeyMgr : Failed to generate an AES key");
        }
    }

Method javax.crypto.KeyGenerator.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/AdobeCSDKFoundation;', 'initializeCSDKFoundation', '(Landroid/content/Context;)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'setAuthenticationParameters', '(Ljava/lang/String; Ljava/lang/String; Ljava/lang/String; [Ljava/lang/String; [B)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'setCipherKey', '([B)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', 'createInstance', '([B)Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', '<init>', '([B)V'), ('Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.AdobeCSDKFoundation.initializeCSDKFoundation():


    public static void initializeCSDKFoundation(android.content.Context p6)
    {
        if (!(p6 instanceof com.adobe.creativesdk.foundation.auth.IAdobeAuthClientCredentials)) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, "AdobeCSDKFoundation", "Context not instance of IAdobeAuthClientCredentials");
        } else {
            com.adobe.creativesdk.foundation.AdobeCSDKFoundation._clientID = ((com.adobe.creativesdk.foundation.auth.IAdobeAuthClientCredentials) p6).getClientID();
            com.adobe.creativesdk.foundation.AdobeCSDKFoundation._clientSecret = ((com.adobe.creativesdk.foundation.auth.IAdobeAuthClientCredentials) p6).getClientSecret();
            com.adobe.creativesdk.foundation.AdobeCSDKFoundation._redirectURI = ((com.adobe.creativesdk.foundation.auth.IAdobeAuthClientCredentials) p6).getRedirectURI();
            com.adobe.creativesdk.foundation.AdobeCSDKFoundation._additionalScopes = ((com.adobe.creativesdk.foundation.auth.IAdobeAuthClientCredentials) p6).getAdditionalScopesList();
            com.adobe.creativesdk.foundation.internal.common.AdobeCommonApplicationContextHolder.getSharedApplicationContextHolder().setApplicationContext(p6);
            try {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.sharedAuthManager().setAuthenticationParameters(com.adobe.creativesdk.foundation.AdobeCSDKFoundation._clientID, com.adobe.creativesdk.foundation.AdobeCSDKFoundation._clientSecret, com.adobe.creativesdk.foundation.AdobeCSDKFoundation._redirectURI, com.adobe.creativesdk.foundation.AdobeCSDKFoundation._additionalScopes, 0);
            } catch (java.security.InvalidKeyException v0_5) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.DEBUG, "AdobeCSDKFoundation", v0_5.getMessage(), v0_5);
            } catch (java.security.InvalidKeyException v0_5) {
            } catch (java.security.InvalidKeyException v0_5) {
            }
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.setAuthenticationParameters():


    public void setAuthenticationParameters(String p8, String p9, String p10, String[] p11, byte[] p12)
    {
        if (this.isInitialized()) {
            com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService v0_1 = com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance();
            com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIMSGrantType v1_3 = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthOptions[1];
            v1_3[0] = com.adobe.creativesdk.foundation.internal.auth.AdobeAuthOptions.AdobeAuthOptionsHideSignUpOnSignIn;
            this.mAuthOptions = v1_3;
            v0_1.setCipherKey(p12);
            v0_1.setRedirectURI(p10);
            v0_1.setAuthenticationParameters(p8, p9, 0, 0, 0);
            v0_1.setGrantType(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIMSGrantType.AdobeAuthIMSGrantTypeAuthorization);
            this.setAuthenticationParametersWithClientID(p11);
            this._hasPrivateCloudScope = 0;
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.setCipherKey():


    public void setCipherKey(byte[] p5)
    {
        if (p5 != null) {
            IllegalArgumentException v0_3 = new byte[p5.length];
            System.arraycopy(p5, 0, v0_3, 0, p5.length);
            try {
                this.cipher = com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance(v0_3);
            } catch (IllegalArgumentException v0_5) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, this.getClass().getSimpleName(), v0_5.getMessage(), v0_5);
                throw new IllegalArgumentException("CSDK Foundation Auth : Cannot create Cipher Instance !");
            }
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance():


    static com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher createInstance(byte[] p1)
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance == null) {
            com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance = new com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher(p1);
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.<init>():


    public AdobeCommonCipher(byte[] p4)
    {
        javax.crypto.spec.SecretKeySpec v0_1 = new javax.crypto.spec.SecretKeySpec(p4, "AES");
        this.encryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.encryptionCipher.init(1, v0_1);
        this.decryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.decryptionCipher.init(2, v0_1);
        return;
    }

Method javax.crypto.Cipher.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/AdobeCSDKFoundation;', 'initializeCSDKFoundation', '(Landroid/content/Context;)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'setAuthenticationParameters', '(Ljava/lang/String; Ljava/lang/String; Ljava/lang/String; [Ljava/lang/String; [B)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'getFoundationAuthAESKey', '()[B'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'generateNewAESKey_Common', '()[B'), ('Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.AdobeCSDKFoundation.initializeCSDKFoundation():


    public static void initializeCSDKFoundation(android.content.Context p6)
    {
        if (!(p6 instanceof com.adobe.creativesdk.foundation.auth.IAdobeAuthClientCredentials)) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, "AdobeCSDKFoundation", "Context not instance of IAdobeAuthClientCredentials");
        } else {
            com.adobe.creativesdk.foundation.AdobeCSDKFoundation._clientID = ((com.adobe.creativesdk.foundation.auth.IAdobeAuthClientCredentials) p6).getClientID();
            com.adobe.creativesdk.foundation.AdobeCSDKFoundation._clientSecret = ((com.adobe.creativesdk.foundation.auth.IAdobeAuthClientCredentials) p6).getClientSecret();
            com.adobe.creativesdk.foundation.AdobeCSDKFoundation._redirectURI = ((com.adobe.creativesdk.foundation.auth.IAdobeAuthClientCredentials) p6).getRedirectURI();
            com.adobe.creativesdk.foundation.AdobeCSDKFoundation._additionalScopes = ((com.adobe.creativesdk.foundation.auth.IAdobeAuthClientCredentials) p6).getAdditionalScopesList();
            com.adobe.creativesdk.foundation.internal.common.AdobeCommonApplicationContextHolder.getSharedApplicationContextHolder().setApplicationContext(p6);
            try {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.sharedAuthManager().setAuthenticationParameters(com.adobe.creativesdk.foundation.AdobeCSDKFoundation._clientID, com.adobe.creativesdk.foundation.AdobeCSDKFoundation._clientSecret, com.adobe.creativesdk.foundation.AdobeCSDKFoundation._redirectURI, com.adobe.creativesdk.foundation.AdobeCSDKFoundation._additionalScopes, 0);
            } catch (java.security.InvalidKeyException v0_5) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.DEBUG, "AdobeCSDKFoundation", v0_5.getMessage(), v0_5);
            } catch (java.security.InvalidKeyException v0_5) {
            } catch (java.security.InvalidKeyException v0_5) {
            }
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.setAuthenticationParameters():


    public void setAuthenticationParameters(String p8, String p9, String p10, String[] p11, byte[] p12)
    {
        if (this.isInitialized()) {
            com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService v0_1 = com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance();
            com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIMSGrantType v1_3 = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthOptions[1];
            v1_3[0] = com.adobe.creativesdk.foundation.internal.auth.AdobeAuthOptions.AdobeAuthOptionsHideSignUpOnSignIn;
            this.mAuthOptions = v1_3;
            v0_1.setCipherKey(p12);
            v0_1.setRedirectURI(p10);
            v0_1.setAuthenticationParameters(p8, p9, 0, 0, 0);
            v0_1.setGrantType(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIMSGrantType.AdobeAuthIMSGrantTypeAuthorization);
            this.setAuthenticationParametersWithClientID(p11);
            this._hasPrivateCloudScope = 0;
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getFoundationAuthAESKey():


    public byte[] getFoundationAuthAESKey()
    {
        IllegalArgumentException v0_7;
        if (this._foundationAuth_AES_key == null) {
            this._foundationAuth_AES_key = this.getFoundation_AESKey_fromPreference();
            if (this._foundationAuth_AES_key == null) {
                this._foundationAuth_AES_key = com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common();
                if (this._foundationAuth_AES_key == null) {
                    throw new IllegalArgumentException("CSDK Foundation Auth AES Key is null.");
                } else {
                    this.storeFoundatationAuth_AESKey_InPreference(this._foundationAuth_AES_key);
                }
            }
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        } else {
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        }
        return v0_7;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common():


    public static byte[] generateNewAESKey_Common()
    {
        try {
            IllegalArgumentException v0_4 = javax.crypto.KeyGenerator.getInstance("AES");
            v0_4.init(128);
            return v0_4.generateKey().getEncoded();
        } catch (IllegalArgumentException v0_1) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.TAG, v0_1.getMessage(), v0_1);
            throw new IllegalArgumentException("Auth Foundation : Auth AESKeyMgr : Failed to generate an AES key");
        }
    }

Method javax.crypto.KeyGenerator.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/internal/analytics/AdobeAnalyticsETSEvent;', '<init>', '(Ljava/lang/String;)V'), ('Lcom/adobe/creativesdk/foundation/internal/analytics/AdobeAnalyticsETSEvent;', 'trackOriginatingSourceDetails', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'setCipherKey', '([B)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', 'createInstance', '([B)Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', '<init>', '([B)V'), ('Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSEvent.<init>():


    public AdobeAnalyticsETSEvent(String p4)
    {
        this.data = new java.util.HashMap();
        this.data.put(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Core.AdobeEventPropertyType.getValue(), p4);
        this.data.put(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Core.AdobeEventPropertyStart.getValue(), com.adobe.creativesdk.foundation.internal.utils.Util.getDateTimeForETS());
        this.trackOriginatingSourceDetails();
        this.trackEventGlobalDetails();
        return;
    }

Method com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSEvent.trackOriginatingSourceDetails():


    private void trackOriginatingSourceDetails()
    {
        android.content.Context v3 = com.adobe.creativesdk.foundation.internal.common.AdobeCommonApplicationContextHolder.getSharedApplicationContextHolder().getApplicationContext();
        String v1_2 = "";
        java.util.Map v0_1 = "";
        if (v3 != null) {
            String v2_10 = v3.getPackageManager();
            v1_2 = v3.getApplicationInfo().loadLabel(v2_10).toString();
            try {
                v0_1 = v2_10.getPackageInfo(v3.getPackageName(), 0).versionName;
            } catch (String v2_1) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, this.getClass().getSimpleName(), v2_1.getMessage(), v2_1);
            }
        }
        String v2_2 = com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance();
        if (v2_2 != null) {
            String v2_3;
            if (v2_2.getClientID() == null) {
                v2_3 = "";
            } else {
                v2_3 = v2_2.getClientID();
            }
            this.data.put(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Source.AdobeEventPropertyClientId.getValue(), v2_3);
        }
        java.util.Map v0_6;
        this.data.put(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Source.AdobeEventPropertyAppName.getValue(), v1_2);
        this.data.put(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Source.AdobeEventPropertyAppVersion.getValue(), v0_1);
        this.data.put(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Source.AdobeEventPropertyPlatform.getValue(), "Android");
        this.data.put(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Source.AdobeEventPropertyDeviceType.getValue(), com.adobe.creativesdk.foundation.internal.utils.Util.getDeviceName());
        String v1_8 = this.data;
        String vtmp20 = com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Source.AdobeEventPropertyOSVersion.getValue();
        if (android.os.Build$VERSION.RELEASE == null) {
            v0_6 = "";
        } else {
            v0_6 = android.os.Build$VERSION.RELEASE;
        }
        v1_8.put(vtmp20, v0_6);
        this.data.put(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Source.AdobeEventPropertyAppStoreId.getValue(), v3.getPackageName());
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.setCipherKey():


    public void setCipherKey(byte[] p5)
    {
        if (p5 != null) {
            IllegalArgumentException v0_3 = new byte[p5.length];
            System.arraycopy(p5, 0, v0_3, 0, p5.length);
            try {
                this.cipher = com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance(v0_3);
            } catch (IllegalArgumentException v0_5) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, this.getClass().getSimpleName(), v0_5.getMessage(), v0_5);
                throw new IllegalArgumentException("CSDK Foundation Auth : Cannot create Cipher Instance !");
            }
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance():


    static com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher createInstance(byte[] p1)
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance == null) {
            com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance = new com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher(p1);
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.<init>():


    public AdobeCommonCipher(byte[] p4)
    {
        javax.crypto.spec.SecretKeySpec v0_1 = new javax.crypto.spec.SecretKeySpec(p4, "AES");
        this.encryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.encryptionCipher.init(1, v0_1);
        this.decryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.decryptionCipher.init(2, v0_1);
        return;
    }

Method javax.crypto.Cipher.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/internal/analytics/AdobeAnalyticsETSEvent;', '<init>', '(Ljava/lang/String;)V'), ('Lcom/adobe/creativesdk/foundation/internal/analytics/AdobeAnalyticsETSEvent;', 'trackOriginatingSourceDetails', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'getFoundationAuthAESKey', '()[B'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'generateNewAESKey_Common', '()[B'), ('Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSEvent.<init>():


    public AdobeAnalyticsETSEvent(String p4)
    {
        this.data = new java.util.HashMap();
        this.data.put(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Core.AdobeEventPropertyType.getValue(), p4);
        this.data.put(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Core.AdobeEventPropertyStart.getValue(), com.adobe.creativesdk.foundation.internal.utils.Util.getDateTimeForETS());
        this.trackOriginatingSourceDetails();
        this.trackEventGlobalDetails();
        return;
    }

Method com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSEvent.trackOriginatingSourceDetails():


    private void trackOriginatingSourceDetails()
    {
        android.content.Context v3 = com.adobe.creativesdk.foundation.internal.common.AdobeCommonApplicationContextHolder.getSharedApplicationContextHolder().getApplicationContext();
        String v1_2 = "";
        java.util.Map v0_1 = "";
        if (v3 != null) {
            String v2_10 = v3.getPackageManager();
            v1_2 = v3.getApplicationInfo().loadLabel(v2_10).toString();
            try {
                v0_1 = v2_10.getPackageInfo(v3.getPackageName(), 0).versionName;
            } catch (String v2_1) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, this.getClass().getSimpleName(), v2_1.getMessage(), v2_1);
            }
        }
        String v2_2 = com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance();
        if (v2_2 != null) {
            String v2_3;
            if (v2_2.getClientID() == null) {
                v2_3 = "";
            } else {
                v2_3 = v2_2.getClientID();
            }
            this.data.put(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Source.AdobeEventPropertyClientId.getValue(), v2_3);
        }
        java.util.Map v0_6;
        this.data.put(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Source.AdobeEventPropertyAppName.getValue(), v1_2);
        this.data.put(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Source.AdobeEventPropertyAppVersion.getValue(), v0_1);
        this.data.put(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Source.AdobeEventPropertyPlatform.getValue(), "Android");
        this.data.put(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Source.AdobeEventPropertyDeviceType.getValue(), com.adobe.creativesdk.foundation.internal.utils.Util.getDeviceName());
        String v1_8 = this.data;
        String vtmp20 = com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Source.AdobeEventPropertyOSVersion.getValue();
        if (android.os.Build$VERSION.RELEASE == null) {
            v0_6 = "";
        } else {
            v0_6 = android.os.Build$VERSION.RELEASE;
        }
        v1_8.put(vtmp20, v0_6);
        this.data.put(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Source.AdobeEventPropertyAppStoreId.getValue(), v3.getPackageName());
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getFoundationAuthAESKey():


    public byte[] getFoundationAuthAESKey()
    {
        IllegalArgumentException v0_7;
        if (this._foundationAuth_AES_key == null) {
            this._foundationAuth_AES_key = this.getFoundation_AESKey_fromPreference();
            if (this._foundationAuth_AES_key == null) {
                this._foundationAuth_AES_key = com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common();
                if (this._foundationAuth_AES_key == null) {
                    throw new IllegalArgumentException("CSDK Foundation Auth AES Key is null.");
                } else {
                    this.storeFoundatationAuth_AESKey_InPreference(this._foundationAuth_AES_key);
                }
            }
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        } else {
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        }
        return v0_7;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common():


    public static byte[] generateNewAESKey_Common()
    {
        try {
            IllegalArgumentException v0_4 = javax.crypto.KeyGenerator.getInstance("AES");
            v0_4.init(128);
            return v0_4.generateKey().getEncoded();
        } catch (IllegalArgumentException v0_1) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.TAG, v0_1.getMessage(), v0_1);
            throw new IllegalArgumentException("Auth Foundation : Auth AESKeyMgr : Failed to generate an AES key");
        }
    }

Method javax.crypto.KeyGenerator.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/internal/analytics/AdobeAnalyticsETSEvent;', 'trackOriginatingSourceDetails', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'getFoundationAuthAESKey', '()[B'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'generateNewAESKey_Common', '()[B'), ('Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSEvent.trackOriginatingSourceDetails():


    private void trackOriginatingSourceDetails()
    {
        android.content.Context v3 = com.adobe.creativesdk.foundation.internal.common.AdobeCommonApplicationContextHolder.getSharedApplicationContextHolder().getApplicationContext();
        String v1_2 = "";
        java.util.Map v0_1 = "";
        if (v3 != null) {
            String v2_10 = v3.getPackageManager();
            v1_2 = v3.getApplicationInfo().loadLabel(v2_10).toString();
            try {
                v0_1 = v2_10.getPackageInfo(v3.getPackageName(), 0).versionName;
            } catch (String v2_1) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, this.getClass().getSimpleName(), v2_1.getMessage(), v2_1);
            }
        }
        String v2_2 = com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance();
        if (v2_2 != null) {
            String v2_3;
            if (v2_2.getClientID() == null) {
                v2_3 = "";
            } else {
                v2_3 = v2_2.getClientID();
            }
            this.data.put(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Source.AdobeEventPropertyClientId.getValue(), v2_3);
        }
        java.util.Map v0_6;
        this.data.put(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Source.AdobeEventPropertyAppName.getValue(), v1_2);
        this.data.put(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Source.AdobeEventPropertyAppVersion.getValue(), v0_1);
        this.data.put(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Source.AdobeEventPropertyPlatform.getValue(), "Android");
        this.data.put(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Source.AdobeEventPropertyDeviceType.getValue(), com.adobe.creativesdk.foundation.internal.utils.Util.getDeviceName());
        String v1_8 = this.data;
        String vtmp20 = com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Source.AdobeEventPropertyOSVersion.getValue();
        if (android.os.Build$VERSION.RELEASE == null) {
            v0_6 = "";
        } else {
            v0_6 = android.os.Build$VERSION.RELEASE;
        }
        v1_8.put(vtmp20, v0_6);
        this.data.put(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Source.AdobeEventPropertyAppStoreId.getValue(), v3.getPackageName());
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getFoundationAuthAESKey():


    public byte[] getFoundationAuthAESKey()
    {
        IllegalArgumentException v0_7;
        if (this._foundationAuth_AES_key == null) {
            this._foundationAuth_AES_key = this.getFoundation_AESKey_fromPreference();
            if (this._foundationAuth_AES_key == null) {
                this._foundationAuth_AES_key = com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common();
                if (this._foundationAuth_AES_key == null) {
                    throw new IllegalArgumentException("CSDK Foundation Auth AES Key is null.");
                } else {
                    this.storeFoundatationAuth_AESKey_InPreference(this._foundationAuth_AES_key);
                }
            }
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        } else {
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        }
        return v0_7;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common():


    public static byte[] generateNewAESKey_Common()
    {
        try {
            IllegalArgumentException v0_4 = javax.crypto.KeyGenerator.getInstance("AES");
            v0_4.init(128);
            return v0_4.generateKey().getEncoded();
        } catch (IllegalArgumentException v0_1) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.TAG, v0_1.getMessage(), v0_1);
            throw new IllegalArgumentException("Auth Foundation : Auth AESKeyMgr : Failed to generate an AES key");
        }
    }

Method javax.crypto.KeyGenerator.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/internal/analytics/AdobeAnalyticsETSEvent;', 'trackOriginatingSourceDetails', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'setCipherKey', '([B)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', 'createInstance', '([B)Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', '<init>', '([B)V'), ('Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSEvent.trackOriginatingSourceDetails():


    private void trackOriginatingSourceDetails()
    {
        android.content.Context v3 = com.adobe.creativesdk.foundation.internal.common.AdobeCommonApplicationContextHolder.getSharedApplicationContextHolder().getApplicationContext();
        String v1_2 = "";
        java.util.Map v0_1 = "";
        if (v3 != null) {
            String v2_10 = v3.getPackageManager();
            v1_2 = v3.getApplicationInfo().loadLabel(v2_10).toString();
            try {
                v0_1 = v2_10.getPackageInfo(v3.getPackageName(), 0).versionName;
            } catch (String v2_1) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, this.getClass().getSimpleName(), v2_1.getMessage(), v2_1);
            }
        }
        String v2_2 = com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance();
        if (v2_2 != null) {
            String v2_3;
            if (v2_2.getClientID() == null) {
                v2_3 = "";
            } else {
                v2_3 = v2_2.getClientID();
            }
            this.data.put(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Source.AdobeEventPropertyClientId.getValue(), v2_3);
        }
        java.util.Map v0_6;
        this.data.put(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Source.AdobeEventPropertyAppName.getValue(), v1_2);
        this.data.put(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Source.AdobeEventPropertyAppVersion.getValue(), v0_1);
        this.data.put(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Source.AdobeEventPropertyPlatform.getValue(), "Android");
        this.data.put(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Source.AdobeEventPropertyDeviceType.getValue(), com.adobe.creativesdk.foundation.internal.utils.Util.getDeviceName());
        String v1_8 = this.data;
        String vtmp20 = com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Source.AdobeEventPropertyOSVersion.getValue();
        if (android.os.Build$VERSION.RELEASE == null) {
            v0_6 = "";
        } else {
            v0_6 = android.os.Build$VERSION.RELEASE;
        }
        v1_8.put(vtmp20, v0_6);
        this.data.put(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Source.AdobeEventPropertyAppStoreId.getValue(), v3.getPackageName());
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.setCipherKey():


    public void setCipherKey(byte[] p5)
    {
        if (p5 != null) {
            IllegalArgumentException v0_3 = new byte[p5.length];
            System.arraycopy(p5, 0, v0_3, 0, p5.length);
            try {
                this.cipher = com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance(v0_3);
            } catch (IllegalArgumentException v0_5) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, this.getClass().getSimpleName(), v0_5.getMessage(), v0_5);
                throw new IllegalArgumentException("CSDK Foundation Auth : Cannot create Cipher Instance !");
            }
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance():


    static com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher createInstance(byte[] p1)
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance == null) {
            com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance = new com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher(p1);
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.<init>():


    public AdobeCommonCipher(byte[] p4)
    {
        javax.crypto.spec.SecretKeySpec v0_1 = new javax.crypto.spec.SecretKeySpec(p4, "AES");
        this.encryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.encryptionCipher.init(1, v0_1);
        this.decryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.decryptionCipher.init(2, v0_1);
        return;
    }

Method javax.crypto.Cipher.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/internal/analytics/AdobeAnalyticsETSEvent;', 'endAndTrackEvent', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/analytics/AdobeAnalyticsETSJobManager;', 'addNewEvent', '(Lcom/adobe/creativesdk/foundation/internal/analytics/AdobeAnalyticsETSEvent;)V'), ('Lcom/adobe/creativesdk/foundation/internal/analytics/AdobeAnalyticsETSJobManager;', 'getEventDataObject', '()Lorg/json/JSONObject;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'setCipherKey', '([B)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', 'createInstance', '([B)Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', '<init>', '([B)V'), ('Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSEvent.endAndTrackEvent():


    public void endAndTrackEvent()
    {
        this.data.put(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Core.AdobeEventPropertyEnd.getValue(), com.adobe.creativesdk.foundation.internal.utils.Util.getDateTimeForETS());
        this.trackEventGlobalNetworkDetails();
        com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSJobManager.getSharedInstance().addNewEvent(this);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSJobManager.addNewEvent():


    public declared_synchronized void addNewEvent(com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSEvent p5)
    {
        try {
            java.util.ArrayList v0_0 = p5.data;
        } catch (java.util.ArrayList v0_3) {
            throw v0_3;
        }
        if (this.jobDescriptionList == null) {
            this.jobDescriptionList = new java.util.ArrayList();
        }
        if (this.jobDescriptionList.size() >= 15) {
            this.jobDescriptionList.remove(0);
        }
        new org.json.JSONObject();
        try {
            org.json.JSONObject v1_3 = this.getEventDataObject();
        } catch (java.util.ArrayList v0_2) {
            v0_2.printStackTrace();
            return;
        }
        if (v0_0.get("project") == null) {
            return;
        } else {
            v1_3.put("project", v0_0.get("project"));
            v0_0.remove("project");
            v1_3.put("data", new org.json.JSONObject(v0_0));
            this.jobDescriptionList.add(v1_3);
            return;
        }
    }

Method com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSJobManager.getEventDataObject():


    private org.json.JSONObject getEventDataObject()
    {
        org.json.JSONObject v0_1 = new org.json.JSONObject();
        v0_1.put("time", com.adobe.creativesdk.foundation.internal.utils.Util.getDateTimeForIngest());
        v0_1.put("ingesttype", "dunamis");
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance().getEnvironment() != com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIMSEnvironment.AdobeAuthIMSEnvironmentProductionUS) {
            v0_1.put("environment", "stage");
        } else {
            v0_1.put("environment", "prod");
        }
        return v0_1;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.setCipherKey():


    public void setCipherKey(byte[] p5)
    {
        if (p5 != null) {
            IllegalArgumentException v0_3 = new byte[p5.length];
            System.arraycopy(p5, 0, v0_3, 0, p5.length);
            try {
                this.cipher = com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance(v0_3);
            } catch (IllegalArgumentException v0_5) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, this.getClass().getSimpleName(), v0_5.getMessage(), v0_5);
                throw new IllegalArgumentException("CSDK Foundation Auth : Cannot create Cipher Instance !");
            }
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance():


    static com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher createInstance(byte[] p1)
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance == null) {
            com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance = new com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher(p1);
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.<init>():


    public AdobeCommonCipher(byte[] p4)
    {
        javax.crypto.spec.SecretKeySpec v0_1 = new javax.crypto.spec.SecretKeySpec(p4, "AES");
        this.encryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.encryptionCipher.init(1, v0_1);
        this.decryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.decryptionCipher.init(2, v0_1);
        return;
    }

Method javax.crypto.Cipher.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/internal/analytics/AdobeAnalyticsETSEvent;', 'endAndTrackEvent', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/analytics/AdobeAnalyticsETSJobManager;', 'addNewEvent', '(Lcom/adobe/creativesdk/foundation/internal/analytics/AdobeAnalyticsETSEvent;)V'), ('Lcom/adobe/creativesdk/foundation/internal/analytics/AdobeAnalyticsETSJobManager;', 'getEventDataObject', '()Lorg/json/JSONObject;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'getFoundationAuthAESKey', '()[B'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'generateNewAESKey_Common', '()[B'), ('Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSEvent.endAndTrackEvent():


    public void endAndTrackEvent()
    {
        this.data.put(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Core.AdobeEventPropertyEnd.getValue(), com.adobe.creativesdk.foundation.internal.utils.Util.getDateTimeForETS());
        this.trackEventGlobalNetworkDetails();
        com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSJobManager.getSharedInstance().addNewEvent(this);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSJobManager.addNewEvent():


    public declared_synchronized void addNewEvent(com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSEvent p5)
    {
        try {
            java.util.ArrayList v0_0 = p5.data;
        } catch (java.util.ArrayList v0_3) {
            throw v0_3;
        }
        if (this.jobDescriptionList == null) {
            this.jobDescriptionList = new java.util.ArrayList();
        }
        if (this.jobDescriptionList.size() >= 15) {
            this.jobDescriptionList.remove(0);
        }
        new org.json.JSONObject();
        try {
            org.json.JSONObject v1_3 = this.getEventDataObject();
        } catch (java.util.ArrayList v0_2) {
            v0_2.printStackTrace();
            return;
        }
        if (v0_0.get("project") == null) {
            return;
        } else {
            v1_3.put("project", v0_0.get("project"));
            v0_0.remove("project");
            v1_3.put("data", new org.json.JSONObject(v0_0));
            this.jobDescriptionList.add(v1_3);
            return;
        }
    }

Method com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSJobManager.getEventDataObject():


    private org.json.JSONObject getEventDataObject()
    {
        org.json.JSONObject v0_1 = new org.json.JSONObject();
        v0_1.put("time", com.adobe.creativesdk.foundation.internal.utils.Util.getDateTimeForIngest());
        v0_1.put("ingesttype", "dunamis");
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance().getEnvironment() != com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIMSEnvironment.AdobeAuthIMSEnvironmentProductionUS) {
            v0_1.put("environment", "stage");
        } else {
            v0_1.put("environment", "prod");
        }
        return v0_1;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getFoundationAuthAESKey():


    public byte[] getFoundationAuthAESKey()
    {
        IllegalArgumentException v0_7;
        if (this._foundationAuth_AES_key == null) {
            this._foundationAuth_AES_key = this.getFoundation_AESKey_fromPreference();
            if (this._foundationAuth_AES_key == null) {
                this._foundationAuth_AES_key = com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common();
                if (this._foundationAuth_AES_key == null) {
                    throw new IllegalArgumentException("CSDK Foundation Auth AES Key is null.");
                } else {
                    this.storeFoundatationAuth_AESKey_InPreference(this._foundationAuth_AES_key);
                }
            }
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        } else {
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        }
        return v0_7;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common():


    public static byte[] generateNewAESKey_Common()
    {
        try {
            IllegalArgumentException v0_4 = javax.crypto.KeyGenerator.getInstance("AES");
            v0_4.init(128);
            return v0_4.generateKey().getEncoded();
        } catch (IllegalArgumentException v0_1) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.TAG, v0_1.getMessage(), v0_1);
            throw new IllegalArgumentException("Auth Foundation : Auth AESKeyMgr : Failed to generate an AES key");
        }
    }

Method javax.crypto.KeyGenerator.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/internal/analytics/AdobeAnalyticsETSEvent;', 'endAndTrackEventWithErrorCode', '(Ljava/lang/String;)V'), ('Lcom/adobe/creativesdk/foundation/internal/analytics/AdobeAnalyticsETSEvent;', 'endAndTrackEvent', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/analytics/AdobeAnalyticsETSJobManager;', 'addNewEvent', '(Lcom/adobe/creativesdk/foundation/internal/analytics/AdobeAnalyticsETSEvent;)V'), ('Lcom/adobe/creativesdk/foundation/internal/analytics/AdobeAnalyticsETSJobManager;', 'getEventDataObject', '()Lorg/json/JSONObject;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'getFoundationAuthAESKey', '()[B'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'generateNewAESKey_Common', '()[B'), ('Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSEvent.endAndTrackEventWithErrorCode():


    public void endAndTrackEventWithErrorCode(String p1)
    {
        this.trackErrorCode(p1);
        this.endAndTrackEvent();
        return;
    }

Method com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSEvent.endAndTrackEvent():


    public void endAndTrackEvent()
    {
        this.data.put(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Core.AdobeEventPropertyEnd.getValue(), com.adobe.creativesdk.foundation.internal.utils.Util.getDateTimeForETS());
        this.trackEventGlobalNetworkDetails();
        com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSJobManager.getSharedInstance().addNewEvent(this);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSJobManager.addNewEvent():


    public declared_synchronized void addNewEvent(com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSEvent p5)
    {
        try {
            java.util.ArrayList v0_0 = p5.data;
        } catch (java.util.ArrayList v0_3) {
            throw v0_3;
        }
        if (this.jobDescriptionList == null) {
            this.jobDescriptionList = new java.util.ArrayList();
        }
        if (this.jobDescriptionList.size() >= 15) {
            this.jobDescriptionList.remove(0);
        }
        new org.json.JSONObject();
        try {
            org.json.JSONObject v1_3 = this.getEventDataObject();
        } catch (java.util.ArrayList v0_2) {
            v0_2.printStackTrace();
            return;
        }
        if (v0_0.get("project") == null) {
            return;
        } else {
            v1_3.put("project", v0_0.get("project"));
            v0_0.remove("project");
            v1_3.put("data", new org.json.JSONObject(v0_0));
            this.jobDescriptionList.add(v1_3);
            return;
        }
    }

Method com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSJobManager.getEventDataObject():


    private org.json.JSONObject getEventDataObject()
    {
        org.json.JSONObject v0_1 = new org.json.JSONObject();
        v0_1.put("time", com.adobe.creativesdk.foundation.internal.utils.Util.getDateTimeForIngest());
        v0_1.put("ingesttype", "dunamis");
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance().getEnvironment() != com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIMSEnvironment.AdobeAuthIMSEnvironmentProductionUS) {
            v0_1.put("environment", "stage");
        } else {
            v0_1.put("environment", "prod");
        }
        return v0_1;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getFoundationAuthAESKey():


    public byte[] getFoundationAuthAESKey()
    {
        IllegalArgumentException v0_7;
        if (this._foundationAuth_AES_key == null) {
            this._foundationAuth_AES_key = this.getFoundation_AESKey_fromPreference();
            if (this._foundationAuth_AES_key == null) {
                this._foundationAuth_AES_key = com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common();
                if (this._foundationAuth_AES_key == null) {
                    throw new IllegalArgumentException("CSDK Foundation Auth AES Key is null.");
                } else {
                    this.storeFoundatationAuth_AESKey_InPreference(this._foundationAuth_AES_key);
                }
            }
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        } else {
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        }
        return v0_7;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common():


    public static byte[] generateNewAESKey_Common()
    {
        try {
            IllegalArgumentException v0_4 = javax.crypto.KeyGenerator.getInstance("AES");
            v0_4.init(128);
            return v0_4.generateKey().getEncoded();
        } catch (IllegalArgumentException v0_1) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.TAG, v0_1.getMessage(), v0_1);
            throw new IllegalArgumentException("Auth Foundation : Auth AESKeyMgr : Failed to generate an AES key");
        }
    }

Method javax.crypto.KeyGenerator.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/internal/analytics/AdobeAnalyticsETSEvent;', 'endAndTrackEventWithErrorCode', '(Ljava/lang/String;)V'), ('Lcom/adobe/creativesdk/foundation/internal/analytics/AdobeAnalyticsETSEvent;', 'endAndTrackEvent', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/analytics/AdobeAnalyticsETSJobManager;', 'addNewEvent', '(Lcom/adobe/creativesdk/foundation/internal/analytics/AdobeAnalyticsETSEvent;)V'), ('Lcom/adobe/creativesdk/foundation/internal/analytics/AdobeAnalyticsETSJobManager;', 'getEventDataObject', '()Lorg/json/JSONObject;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'setCipherKey', '([B)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', 'createInstance', '([B)Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', '<init>', '([B)V'), ('Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSEvent.endAndTrackEventWithErrorCode():


    public void endAndTrackEventWithErrorCode(String p1)
    {
        this.trackErrorCode(p1);
        this.endAndTrackEvent();
        return;
    }

Method com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSEvent.endAndTrackEvent():


    public void endAndTrackEvent()
    {
        this.data.put(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Core.AdobeEventPropertyEnd.getValue(), com.adobe.creativesdk.foundation.internal.utils.Util.getDateTimeForETS());
        this.trackEventGlobalNetworkDetails();
        com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSJobManager.getSharedInstance().addNewEvent(this);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSJobManager.addNewEvent():


    public declared_synchronized void addNewEvent(com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSEvent p5)
    {
        try {
            java.util.ArrayList v0_0 = p5.data;
        } catch (java.util.ArrayList v0_3) {
            throw v0_3;
        }
        if (this.jobDescriptionList == null) {
            this.jobDescriptionList = new java.util.ArrayList();
        }
        if (this.jobDescriptionList.size() >= 15) {
            this.jobDescriptionList.remove(0);
        }
        new org.json.JSONObject();
        try {
            org.json.JSONObject v1_3 = this.getEventDataObject();
        } catch (java.util.ArrayList v0_2) {
            v0_2.printStackTrace();
            return;
        }
        if (v0_0.get("project") == null) {
            return;
        } else {
            v1_3.put("project", v0_0.get("project"));
            v0_0.remove("project");
            v1_3.put("data", new org.json.JSONObject(v0_0));
            this.jobDescriptionList.add(v1_3);
            return;
        }
    }

Method com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSJobManager.getEventDataObject():


    private org.json.JSONObject getEventDataObject()
    {
        org.json.JSONObject v0_1 = new org.json.JSONObject();
        v0_1.put("time", com.adobe.creativesdk.foundation.internal.utils.Util.getDateTimeForIngest());
        v0_1.put("ingesttype", "dunamis");
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance().getEnvironment() != com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIMSEnvironment.AdobeAuthIMSEnvironmentProductionUS) {
            v0_1.put("environment", "stage");
        } else {
            v0_1.put("environment", "prod");
        }
        return v0_1;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.setCipherKey():


    public void setCipherKey(byte[] p5)
    {
        if (p5 != null) {
            IllegalArgumentException v0_3 = new byte[p5.length];
            System.arraycopy(p5, 0, v0_3, 0, p5.length);
            try {
                this.cipher = com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance(v0_3);
            } catch (IllegalArgumentException v0_5) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, this.getClass().getSimpleName(), v0_5.getMessage(), v0_5);
                throw new IllegalArgumentException("CSDK Foundation Auth : Cannot create Cipher Instance !");
            }
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance():


    static com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher createInstance(byte[] p1)
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance == null) {
            com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance = new com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher(p1);
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.<init>():


    public AdobeCommonCipher(byte[] p4)
    {
        javax.crypto.spec.SecretKeySpec v0_1 = new javax.crypto.spec.SecretKeySpec(p4, "AES");
        this.encryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.encryptionCipher.init(1, v0_1);
        this.decryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.decryptionCipher.init(2, v0_1);
        return;
    }

Method javax.crypto.Cipher.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/analytics/AdobeAnalyticsEvent;', '<init>', '(Lcom/adobe/creativesdk/foundation/adobeinternal/analytics/AdobeAnalyticsEventParams$Type;)V'), ('Lcom/adobe/creativesdk/foundation/internal/analytics/AdobeAnalyticsETSEvent;', '<init>', '(Ljava/lang/String;)V'), ('Lcom/adobe/creativesdk/foundation/internal/analytics/AdobeAnalyticsETSEvent;', 'trackOriginatingSourceDetails', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'getFoundationAuthAESKey', '()[B'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'generateNewAESKey_Common', '()[B'), ('Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEvent.<init>():


    public AdobeAnalyticsEvent(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Type p2)
    {
        super(p2.getValue());
        return;
    }

Method com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSEvent.<init>():


    public AdobeAnalyticsETSEvent(String p4)
    {
        this.data = new java.util.HashMap();
        this.data.put(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Core.AdobeEventPropertyType.getValue(), p4);
        this.data.put(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Core.AdobeEventPropertyStart.getValue(), com.adobe.creativesdk.foundation.internal.utils.Util.getDateTimeForETS());
        this.trackOriginatingSourceDetails();
        this.trackEventGlobalDetails();
        return;
    }

Method com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSEvent.trackOriginatingSourceDetails():


    private void trackOriginatingSourceDetails()
    {
        android.content.Context v3 = com.adobe.creativesdk.foundation.internal.common.AdobeCommonApplicationContextHolder.getSharedApplicationContextHolder().getApplicationContext();
        String v1_2 = "";
        java.util.Map v0_1 = "";
        if (v3 != null) {
            String v2_10 = v3.getPackageManager();
            v1_2 = v3.getApplicationInfo().loadLabel(v2_10).toString();
            try {
                v0_1 = v2_10.getPackageInfo(v3.getPackageName(), 0).versionName;
            } catch (String v2_1) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, this.getClass().getSimpleName(), v2_1.getMessage(), v2_1);
            }
        }
        String v2_2 = com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance();
        if (v2_2 != null) {
            String v2_3;
            if (v2_2.getClientID() == null) {
                v2_3 = "";
            } else {
                v2_3 = v2_2.getClientID();
            }
            this.data.put(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Source.AdobeEventPropertyClientId.getValue(), v2_3);
        }
        java.util.Map v0_6;
        this.data.put(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Source.AdobeEventPropertyAppName.getValue(), v1_2);
        this.data.put(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Source.AdobeEventPropertyAppVersion.getValue(), v0_1);
        this.data.put(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Source.AdobeEventPropertyPlatform.getValue(), "Android");
        this.data.put(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Source.AdobeEventPropertyDeviceType.getValue(), com.adobe.creativesdk.foundation.internal.utils.Util.getDeviceName());
        String v1_8 = this.data;
        String vtmp20 = com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Source.AdobeEventPropertyOSVersion.getValue();
        if (android.os.Build$VERSION.RELEASE == null) {
            v0_6 = "";
        } else {
            v0_6 = android.os.Build$VERSION.RELEASE;
        }
        v1_8.put(vtmp20, v0_6);
        this.data.put(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Source.AdobeEventPropertyAppStoreId.getValue(), v3.getPackageName());
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getFoundationAuthAESKey():


    public byte[] getFoundationAuthAESKey()
    {
        IllegalArgumentException v0_7;
        if (this._foundationAuth_AES_key == null) {
            this._foundationAuth_AES_key = this.getFoundation_AESKey_fromPreference();
            if (this._foundationAuth_AES_key == null) {
                this._foundationAuth_AES_key = com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common();
                if (this._foundationAuth_AES_key == null) {
                    throw new IllegalArgumentException("CSDK Foundation Auth AES Key is null.");
                } else {
                    this.storeFoundatationAuth_AESKey_InPreference(this._foundationAuth_AES_key);
                }
            }
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        } else {
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        }
        return v0_7;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common():


    public static byte[] generateNewAESKey_Common()
    {
        try {
            IllegalArgumentException v0_4 = javax.crypto.KeyGenerator.getInstance("AES");
            v0_4.init(128);
            return v0_4.generateKey().getEncoded();
        } catch (IllegalArgumentException v0_1) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.TAG, v0_1.getMessage(), v0_1);
            throw new IllegalArgumentException("Auth Foundation : Auth AESKeyMgr : Failed to generate an AES key");
        }
    }

Method javax.crypto.KeyGenerator.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/analytics/AdobeAnalyticsEvent;', '<init>', '(Lcom/adobe/creativesdk/foundation/adobeinternal/analytics/AdobeAnalyticsEventParams$Type;)V'), ('Lcom/adobe/creativesdk/foundation/internal/analytics/AdobeAnalyticsETSEvent;', '<init>', '(Ljava/lang/String;)V'), ('Lcom/adobe/creativesdk/foundation/internal/analytics/AdobeAnalyticsETSEvent;', 'trackOriginatingSourceDetails', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'setCipherKey', '([B)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', 'createInstance', '([B)Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', '<init>', '([B)V'), ('Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEvent.<init>():


    public AdobeAnalyticsEvent(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Type p2)
    {
        super(p2.getValue());
        return;
    }

Method com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSEvent.<init>():


    public AdobeAnalyticsETSEvent(String p4)
    {
        this.data = new java.util.HashMap();
        this.data.put(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Core.AdobeEventPropertyType.getValue(), p4);
        this.data.put(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Core.AdobeEventPropertyStart.getValue(), com.adobe.creativesdk.foundation.internal.utils.Util.getDateTimeForETS());
        this.trackOriginatingSourceDetails();
        this.trackEventGlobalDetails();
        return;
    }

Method com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSEvent.trackOriginatingSourceDetails():


    private void trackOriginatingSourceDetails()
    {
        android.content.Context v3 = com.adobe.creativesdk.foundation.internal.common.AdobeCommonApplicationContextHolder.getSharedApplicationContextHolder().getApplicationContext();
        String v1_2 = "";
        java.util.Map v0_1 = "";
        if (v3 != null) {
            String v2_10 = v3.getPackageManager();
            v1_2 = v3.getApplicationInfo().loadLabel(v2_10).toString();
            try {
                v0_1 = v2_10.getPackageInfo(v3.getPackageName(), 0).versionName;
            } catch (String v2_1) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, this.getClass().getSimpleName(), v2_1.getMessage(), v2_1);
            }
        }
        String v2_2 = com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance();
        if (v2_2 != null) {
            String v2_3;
            if (v2_2.getClientID() == null) {
                v2_3 = "";
            } else {
                v2_3 = v2_2.getClientID();
            }
            this.data.put(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Source.AdobeEventPropertyClientId.getValue(), v2_3);
        }
        java.util.Map v0_6;
        this.data.put(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Source.AdobeEventPropertyAppName.getValue(), v1_2);
        this.data.put(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Source.AdobeEventPropertyAppVersion.getValue(), v0_1);
        this.data.put(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Source.AdobeEventPropertyPlatform.getValue(), "Android");
        this.data.put(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Source.AdobeEventPropertyDeviceType.getValue(), com.adobe.creativesdk.foundation.internal.utils.Util.getDeviceName());
        String v1_8 = this.data;
        String vtmp20 = com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Source.AdobeEventPropertyOSVersion.getValue();
        if (android.os.Build$VERSION.RELEASE == null) {
            v0_6 = "";
        } else {
            v0_6 = android.os.Build$VERSION.RELEASE;
        }
        v1_8.put(vtmp20, v0_6);
        this.data.put(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Source.AdobeEventPropertyAppStoreId.getValue(), v3.getPackageName());
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.setCipherKey():


    public void setCipherKey(byte[] p5)
    {
        if (p5 != null) {
            IllegalArgumentException v0_3 = new byte[p5.length];
            System.arraycopy(p5, 0, v0_3, 0, p5.length);
            try {
                this.cipher = com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance(v0_3);
            } catch (IllegalArgumentException v0_5) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, this.getClass().getSimpleName(), v0_5.getMessage(), v0_5);
                throw new IllegalArgumentException("CSDK Foundation Auth : Cannot create Cipher Instance !");
            }
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance():


    static com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher createInstance(byte[] p1)
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance == null) {
            com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance = new com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher(p1);
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.<init>():


    public AdobeCommonCipher(byte[] p4)
    {
        javax.crypto.spec.SecretKeySpec v0_1 = new javax.crypto.spec.SecretKeySpec(p4, "AES");
        this.encryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.encryptionCipher.init(1, v0_1);
        this.decryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.decryptionCipher.init(2, v0_1);
        return;
    }

Method javax.crypto.Cipher.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/analytics/AdobeAnalyticsEvent;', '<init>', '(Ljava/lang/String;)V'), ('Lcom/adobe/creativesdk/foundation/internal/analytics/AdobeAnalyticsETSEvent;', '<init>', '(Ljava/lang/String;)V'), ('Lcom/adobe/creativesdk/foundation/internal/analytics/AdobeAnalyticsETSEvent;', 'trackOriginatingSourceDetails', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'getFoundationAuthAESKey', '()[B'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'generateNewAESKey_Common', '()[B'), ('Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEvent.<init>():


    public AdobeAnalyticsEvent(String p1)
    {
        super(p1);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSEvent.<init>():


    public AdobeAnalyticsETSEvent(String p4)
    {
        this.data = new java.util.HashMap();
        this.data.put(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Core.AdobeEventPropertyType.getValue(), p4);
        this.data.put(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Core.AdobeEventPropertyStart.getValue(), com.adobe.creativesdk.foundation.internal.utils.Util.getDateTimeForETS());
        this.trackOriginatingSourceDetails();
        this.trackEventGlobalDetails();
        return;
    }

Method com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSEvent.trackOriginatingSourceDetails():


    private void trackOriginatingSourceDetails()
    {
        android.content.Context v3 = com.adobe.creativesdk.foundation.internal.common.AdobeCommonApplicationContextHolder.getSharedApplicationContextHolder().getApplicationContext();
        String v1_2 = "";
        java.util.Map v0_1 = "";
        if (v3 != null) {
            String v2_10 = v3.getPackageManager();
            v1_2 = v3.getApplicationInfo().loadLabel(v2_10).toString();
            try {
                v0_1 = v2_10.getPackageInfo(v3.getPackageName(), 0).versionName;
            } catch (String v2_1) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, this.getClass().getSimpleName(), v2_1.getMessage(), v2_1);
            }
        }
        String v2_2 = com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance();
        if (v2_2 != null) {
            String v2_3;
            if (v2_2.getClientID() == null) {
                v2_3 = "";
            } else {
                v2_3 = v2_2.getClientID();
            }
            this.data.put(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Source.AdobeEventPropertyClientId.getValue(), v2_3);
        }
        java.util.Map v0_6;
        this.data.put(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Source.AdobeEventPropertyAppName.getValue(), v1_2);
        this.data.put(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Source.AdobeEventPropertyAppVersion.getValue(), v0_1);
        this.data.put(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Source.AdobeEventPropertyPlatform.getValue(), "Android");
        this.data.put(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Source.AdobeEventPropertyDeviceType.getValue(), com.adobe.creativesdk.foundation.internal.utils.Util.getDeviceName());
        String v1_8 = this.data;
        String vtmp20 = com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Source.AdobeEventPropertyOSVersion.getValue();
        if (android.os.Build$VERSION.RELEASE == null) {
            v0_6 = "";
        } else {
            v0_6 = android.os.Build$VERSION.RELEASE;
        }
        v1_8.put(vtmp20, v0_6);
        this.data.put(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Source.AdobeEventPropertyAppStoreId.getValue(), v3.getPackageName());
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getFoundationAuthAESKey():


    public byte[] getFoundationAuthAESKey()
    {
        IllegalArgumentException v0_7;
        if (this._foundationAuth_AES_key == null) {
            this._foundationAuth_AES_key = this.getFoundation_AESKey_fromPreference();
            if (this._foundationAuth_AES_key == null) {
                this._foundationAuth_AES_key = com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common();
                if (this._foundationAuth_AES_key == null) {
                    throw new IllegalArgumentException("CSDK Foundation Auth AES Key is null.");
                } else {
                    this.storeFoundatationAuth_AESKey_InPreference(this._foundationAuth_AES_key);
                }
            }
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        } else {
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        }
        return v0_7;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common():


    public static byte[] generateNewAESKey_Common()
    {
        try {
            IllegalArgumentException v0_4 = javax.crypto.KeyGenerator.getInstance("AES");
            v0_4.init(128);
            return v0_4.generateKey().getEncoded();
        } catch (IllegalArgumentException v0_1) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.TAG, v0_1.getMessage(), v0_1);
            throw new IllegalArgumentException("Auth Foundation : Auth AESKeyMgr : Failed to generate an AES key");
        }
    }

Method javax.crypto.KeyGenerator.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/analytics/AdobeAnalyticsEvent;', '<init>', '(Ljava/lang/String;)V'), ('Lcom/adobe/creativesdk/foundation/internal/analytics/AdobeAnalyticsETSEvent;', '<init>', '(Ljava/lang/String;)V'), ('Lcom/adobe/creativesdk/foundation/internal/analytics/AdobeAnalyticsETSEvent;', 'trackOriginatingSourceDetails', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'setCipherKey', '([B)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', 'createInstance', '([B)Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', '<init>', '([B)V'), ('Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEvent.<init>():


    public AdobeAnalyticsEvent(String p1)
    {
        super(p1);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSEvent.<init>():


    public AdobeAnalyticsETSEvent(String p4)
    {
        this.data = new java.util.HashMap();
        this.data.put(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Core.AdobeEventPropertyType.getValue(), p4);
        this.data.put(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Core.AdobeEventPropertyStart.getValue(), com.adobe.creativesdk.foundation.internal.utils.Util.getDateTimeForETS());
        this.trackOriginatingSourceDetails();
        this.trackEventGlobalDetails();
        return;
    }

Method com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSEvent.trackOriginatingSourceDetails():


    private void trackOriginatingSourceDetails()
    {
        android.content.Context v3 = com.adobe.creativesdk.foundation.internal.common.AdobeCommonApplicationContextHolder.getSharedApplicationContextHolder().getApplicationContext();
        String v1_2 = "";
        java.util.Map v0_1 = "";
        if (v3 != null) {
            String v2_10 = v3.getPackageManager();
            v1_2 = v3.getApplicationInfo().loadLabel(v2_10).toString();
            try {
                v0_1 = v2_10.getPackageInfo(v3.getPackageName(), 0).versionName;
            } catch (String v2_1) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, this.getClass().getSimpleName(), v2_1.getMessage(), v2_1);
            }
        }
        String v2_2 = com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance();
        if (v2_2 != null) {
            String v2_3;
            if (v2_2.getClientID() == null) {
                v2_3 = "";
            } else {
                v2_3 = v2_2.getClientID();
            }
            this.data.put(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Source.AdobeEventPropertyClientId.getValue(), v2_3);
        }
        java.util.Map v0_6;
        this.data.put(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Source.AdobeEventPropertyAppName.getValue(), v1_2);
        this.data.put(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Source.AdobeEventPropertyAppVersion.getValue(), v0_1);
        this.data.put(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Source.AdobeEventPropertyPlatform.getValue(), "Android");
        this.data.put(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Source.AdobeEventPropertyDeviceType.getValue(), com.adobe.creativesdk.foundation.internal.utils.Util.getDeviceName());
        String v1_8 = this.data;
        String vtmp20 = com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Source.AdobeEventPropertyOSVersion.getValue();
        if (android.os.Build$VERSION.RELEASE == null) {
            v0_6 = "";
        } else {
            v0_6 = android.os.Build$VERSION.RELEASE;
        }
        v1_8.put(vtmp20, v0_6);
        this.data.put(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Source.AdobeEventPropertyAppStoreId.getValue(), v3.getPackageName());
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.setCipherKey():


    public void setCipherKey(byte[] p5)
    {
        if (p5 != null) {
            IllegalArgumentException v0_3 = new byte[p5.length];
            System.arraycopy(p5, 0, v0_3, 0, p5.length);
            try {
                this.cipher = com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance(v0_3);
            } catch (IllegalArgumentException v0_5) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, this.getClass().getSimpleName(), v0_5.getMessage(), v0_5);
                throw new IllegalArgumentException("CSDK Foundation Auth : Cannot create Cipher Instance !");
            }
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance():


    static com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher createInstance(byte[] p1)
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance == null) {
            com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance = new com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher(p1);
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.<init>():


    public AdobeCommonCipher(byte[] p4)
    {
        javax.crypto.spec.SecretKeySpec v0_1 = new javax.crypto.spec.SecretKeySpec(p4, "AES");
        this.encryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.encryptionCipher.init(1, v0_1);
        this.decryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.decryptionCipher.init(2, v0_1);
        return;
    }

Method javax.crypto.Cipher.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/analytics/AdobeAnalyticsEvent;', 'sendEvent', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/analytics/AdobeAnalyticsETSEvent;', 'endAndTrackEvent', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/analytics/AdobeAnalyticsETSJobManager;', 'addNewEvent', '(Lcom/adobe/creativesdk/foundation/internal/analytics/AdobeAnalyticsETSEvent;)V'), ('Lcom/adobe/creativesdk/foundation/internal/analytics/AdobeAnalyticsETSJobManager;', 'getEventDataObject', '()Lorg/json/JSONObject;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'setCipherKey', '([B)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', 'createInstance', '([B)Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', '<init>', '([B)V'), ('Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEvent.sendEvent():


    public void sendEvent()
    {
        super.endAndTrackEvent();
        return;
    }

Method com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSEvent.endAndTrackEvent():


    public void endAndTrackEvent()
    {
        this.data.put(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Core.AdobeEventPropertyEnd.getValue(), com.adobe.creativesdk.foundation.internal.utils.Util.getDateTimeForETS());
        this.trackEventGlobalNetworkDetails();
        com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSJobManager.getSharedInstance().addNewEvent(this);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSJobManager.addNewEvent():


    public declared_synchronized void addNewEvent(com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSEvent p5)
    {
        try {
            java.util.ArrayList v0_0 = p5.data;
        } catch (java.util.ArrayList v0_3) {
            throw v0_3;
        }
        if (this.jobDescriptionList == null) {
            this.jobDescriptionList = new java.util.ArrayList();
        }
        if (this.jobDescriptionList.size() >= 15) {
            this.jobDescriptionList.remove(0);
        }
        new org.json.JSONObject();
        try {
            org.json.JSONObject v1_3 = this.getEventDataObject();
        } catch (java.util.ArrayList v0_2) {
            v0_2.printStackTrace();
            return;
        }
        if (v0_0.get("project") == null) {
            return;
        } else {
            v1_3.put("project", v0_0.get("project"));
            v0_0.remove("project");
            v1_3.put("data", new org.json.JSONObject(v0_0));
            this.jobDescriptionList.add(v1_3);
            return;
        }
    }

Method com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSJobManager.getEventDataObject():


    private org.json.JSONObject getEventDataObject()
    {
        org.json.JSONObject v0_1 = new org.json.JSONObject();
        v0_1.put("time", com.adobe.creativesdk.foundation.internal.utils.Util.getDateTimeForIngest());
        v0_1.put("ingesttype", "dunamis");
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance().getEnvironment() != com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIMSEnvironment.AdobeAuthIMSEnvironmentProductionUS) {
            v0_1.put("environment", "stage");
        } else {
            v0_1.put("environment", "prod");
        }
        return v0_1;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.setCipherKey():


    public void setCipherKey(byte[] p5)
    {
        if (p5 != null) {
            IllegalArgumentException v0_3 = new byte[p5.length];
            System.arraycopy(p5, 0, v0_3, 0, p5.length);
            try {
                this.cipher = com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance(v0_3);
            } catch (IllegalArgumentException v0_5) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, this.getClass().getSimpleName(), v0_5.getMessage(), v0_5);
                throw new IllegalArgumentException("CSDK Foundation Auth : Cannot create Cipher Instance !");
            }
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance():


    static com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher createInstance(byte[] p1)
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance == null) {
            com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance = new com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher(p1);
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.<init>():


    public AdobeCommonCipher(byte[] p4)
    {
        javax.crypto.spec.SecretKeySpec v0_1 = new javax.crypto.spec.SecretKeySpec(p4, "AES");
        this.encryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.encryptionCipher.init(1, v0_1);
        this.decryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.decryptionCipher.init(2, v0_1);
        return;
    }

Method javax.crypto.Cipher.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/analytics/AdobeAnalyticsEvent;', 'sendEvent', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/analytics/AdobeAnalyticsETSEvent;', 'endAndTrackEvent', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/analytics/AdobeAnalyticsETSJobManager;', 'addNewEvent', '(Lcom/adobe/creativesdk/foundation/internal/analytics/AdobeAnalyticsETSEvent;)V'), ('Lcom/adobe/creativesdk/foundation/internal/analytics/AdobeAnalyticsETSJobManager;', 'getEventDataObject', '()Lorg/json/JSONObject;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'getFoundationAuthAESKey', '()[B'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'generateNewAESKey_Common', '()[B'), ('Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEvent.sendEvent():


    public void sendEvent()
    {
        super.endAndTrackEvent();
        return;
    }

Method com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSEvent.endAndTrackEvent():


    public void endAndTrackEvent()
    {
        this.data.put(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Core.AdobeEventPropertyEnd.getValue(), com.adobe.creativesdk.foundation.internal.utils.Util.getDateTimeForETS());
        this.trackEventGlobalNetworkDetails();
        com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSJobManager.getSharedInstance().addNewEvent(this);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSJobManager.addNewEvent():


    public declared_synchronized void addNewEvent(com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSEvent p5)
    {
        try {
            java.util.ArrayList v0_0 = p5.data;
        } catch (java.util.ArrayList v0_3) {
            throw v0_3;
        }
        if (this.jobDescriptionList == null) {
            this.jobDescriptionList = new java.util.ArrayList();
        }
        if (this.jobDescriptionList.size() >= 15) {
            this.jobDescriptionList.remove(0);
        }
        new org.json.JSONObject();
        try {
            org.json.JSONObject v1_3 = this.getEventDataObject();
        } catch (java.util.ArrayList v0_2) {
            v0_2.printStackTrace();
            return;
        }
        if (v0_0.get("project") == null) {
            return;
        } else {
            v1_3.put("project", v0_0.get("project"));
            v0_0.remove("project");
            v1_3.put("data", new org.json.JSONObject(v0_0));
            this.jobDescriptionList.add(v1_3);
            return;
        }
    }

Method com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSJobManager.getEventDataObject():


    private org.json.JSONObject getEventDataObject()
    {
        org.json.JSONObject v0_1 = new org.json.JSONObject();
        v0_1.put("time", com.adobe.creativesdk.foundation.internal.utils.Util.getDateTimeForIngest());
        v0_1.put("ingesttype", "dunamis");
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance().getEnvironment() != com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIMSEnvironment.AdobeAuthIMSEnvironmentProductionUS) {
            v0_1.put("environment", "stage");
        } else {
            v0_1.put("environment", "prod");
        }
        return v0_1;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getFoundationAuthAESKey():


    public byte[] getFoundationAuthAESKey()
    {
        IllegalArgumentException v0_7;
        if (this._foundationAuth_AES_key == null) {
            this._foundationAuth_AES_key = this.getFoundation_AESKey_fromPreference();
            if (this._foundationAuth_AES_key == null) {
                this._foundationAuth_AES_key = com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common();
                if (this._foundationAuth_AES_key == null) {
                    throw new IllegalArgumentException("CSDK Foundation Auth AES Key is null.");
                } else {
                    this.storeFoundatationAuth_AESKey_InPreference(this._foundationAuth_AES_key);
                }
            }
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        } else {
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        }
        return v0_7;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common():


    public static byte[] generateNewAESKey_Common()
    {
        try {
            IllegalArgumentException v0_4 = javax.crypto.KeyGenerator.getInstance("AES");
            v0_4.init(128);
            return v0_4.generateKey().getEncoded();
        } catch (IllegalArgumentException v0_1) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.TAG, v0_1.getMessage(), v0_1);
            throw new IllegalArgumentException("Auth Foundation : Auth AESKeyMgr : Failed to generate an AES key");
        }
    }

Method javax.crypto.KeyGenerator.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/analytics/AdobeAnalyticsManager;', 'disableAnalyticsReporting', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/analytics/AdobeAnalyticsETSJobManager;', 'disableAnalyticsReporting', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/analytics/AdobeAnalyticsETSSession;', 'getSharedSession', '()Lcom/adobe/creativesdk/foundation/internal/analytics/AdobeAnalyticsETSSession;'), ('Lcom/adobe/creativesdk/foundation/internal/analytics/AdobeAnalyticsETSSession;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/analytics/AdobeAnalyticsETSSession;', 'getEndpointURL', '()Ljava/lang/String;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'setCipherKey', '([B)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', 'createInstance', '([B)Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', '<init>', '([B)V'), ('Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsManager.disableAnalyticsReporting():


    public void disableAnalyticsReporting()
    {
        com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSJobManager.getSharedInstance().disableAnalyticsReporting();
        return;
    }

Method com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSJobManager.disableAnalyticsReporting():


    public void disableAnalyticsReporting()
    {
        com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSSession.getSharedSession().disableAnalyticsReporting();
        if (this.timer != null) {
            this.timer.cancel();
            this.timer = 0;
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSSession.getSharedSession():


    public static com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSSession getSharedSession()
    {
        if (com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSSession.etsSession == null) {
            com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSSession.etsSession = new com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSSession();
        }
        return com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSSession.etsSession;
    }

Method com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSSession.<init>():


    private AdobeAnalyticsETSSession()
    {
        this.networkService = 0;
        this.isAnalyticsEnabled = 0;
        this.networkService = new com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpService(this.getEndpointURL(), "Adobe Creative SDK", 0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSSession.getEndpointURL():


    private String getEndpointURL()
    {
        String v0_1;
        switch (com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSSession$1.$SwitchMap$com$adobe$creativesdk$foundation$internal$auth$AdobeAuthIMSEnvironment[com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance().getEnvironment().ordinal()]) {
            case 1:
                v0_1 = "https://cc-api-data.adobe.io/ingest";
                break;
            default:
                v0_1 = "https://cc-api-data-stage.adobe.io/ingest";
        }
        return v0_1;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.setCipherKey():


    public void setCipherKey(byte[] p5)
    {
        if (p5 != null) {
            IllegalArgumentException v0_3 = new byte[p5.length];
            System.arraycopy(p5, 0, v0_3, 0, p5.length);
            try {
                this.cipher = com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance(v0_3);
            } catch (IllegalArgumentException v0_5) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, this.getClass().getSimpleName(), v0_5.getMessage(), v0_5);
                throw new IllegalArgumentException("CSDK Foundation Auth : Cannot create Cipher Instance !");
            }
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance():


    static com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher createInstance(byte[] p1)
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance == null) {
            com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance = new com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher(p1);
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.<init>():


    public AdobeCommonCipher(byte[] p4)
    {
        javax.crypto.spec.SecretKeySpec v0_1 = new javax.crypto.spec.SecretKeySpec(p4, "AES");
        this.encryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.encryptionCipher.init(1, v0_1);
        this.decryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.decryptionCipher.init(2, v0_1);
        return;
    }

Method javax.crypto.Cipher.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'hasValidAccessToken', '()Z'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'getIMSService', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'getFoundationAuthAESKey', '()[B'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'generateNewAESKey_Common', '()[B'), ('Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.hasValidAccessToken():


    public boolean hasValidAccessToken()
    {
        int v0 = 0;
        String v1_6 = this.getIMSService().getAccessToken();
        if ((v1_6 != null) && (v1_6.length() > 0)) {
            String v1_1 = this.getIMSService().getAccessTokenExpirationTime();
            if (v1_1 != null) {
                if ((v1_1.getTime() - new java.util.Date().getTime()) <= 0) {
                    com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.DEBUG, com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.LOG_TAG, new StringBuilder().append("Inside hasValidAccessToken(inside else) and expireTime=").append(v1_1.toString()).append(" and current time").append(new java.util.Date().toString()).toString());
                } else {
                    v0 = 1;
                    com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.DEBUG, com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.LOG_TAG, new StringBuilder().append("Inside hasValidAccessToken(inside if) and expireTime=").append(v1_1.toString()).append(" and current time").append(new java.util.Date().toString()).toString());
                }
            }
        }
        return v0;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.getIMSService():


    private com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getIMSService()
    {
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance();
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getFoundationAuthAESKey():


    public byte[] getFoundationAuthAESKey()
    {
        IllegalArgumentException v0_7;
        if (this._foundationAuth_AES_key == null) {
            this._foundationAuth_AES_key = this.getFoundation_AESKey_fromPreference();
            if (this._foundationAuth_AES_key == null) {
                this._foundationAuth_AES_key = com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common();
                if (this._foundationAuth_AES_key == null) {
                    throw new IllegalArgumentException("CSDK Foundation Auth AES Key is null.");
                } else {
                    this.storeFoundatationAuth_AESKey_InPreference(this._foundationAuth_AES_key);
                }
            }
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        } else {
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        }
        return v0_7;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common():


    public static byte[] generateNewAESKey_Common()
    {
        try {
            IllegalArgumentException v0_4 = javax.crypto.KeyGenerator.getInstance("AES");
            v0_4.init(128);
            return v0_4.generateKey().getEncoded();
        } catch (IllegalArgumentException v0_1) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.TAG, v0_1.getMessage(), v0_1);
            throw new IllegalArgumentException("Auth Foundation : Auth AESKeyMgr : Failed to generate an AES key");
        }
    }

Method javax.crypto.KeyGenerator.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/auth/AdobeUXAuthManagerRestricted;', 'getAdobeID', '()Ljava/lang/String;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'getAdobeID', '()Ljava/lang/String;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'getIMSService', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'getFoundationAuthAESKey', '()[B'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'generateNewAESKey_Common', '()[B'), ('Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.auth.AdobeUXAuthManagerRestricted.getAdobeID():


    public String getAdobeID()
    {
        return this._authManagerImpl.getAdobeID();
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.getAdobeID():


    public String getAdobeID()
    {
        if (this.getIMSService().getAdobeID() != null) {
            return this.getIMSService().getAdobeID();
        } else {
            throw new RuntimeException("User information not available. Check if user is Authenticated");
        }
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.getIMSService():


    private com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getIMSService()
    {
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance();
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getFoundationAuthAESKey():


    public byte[] getFoundationAuthAESKey()
    {
        IllegalArgumentException v0_7;
        if (this._foundationAuth_AES_key == null) {
            this._foundationAuth_AES_key = this.getFoundation_AESKey_fromPreference();
            if (this._foundationAuth_AES_key == null) {
                this._foundationAuth_AES_key = com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common();
                if (this._foundationAuth_AES_key == null) {
                    throw new IllegalArgumentException("CSDK Foundation Auth AES Key is null.");
                } else {
                    this.storeFoundatationAuth_AESKey_InPreference(this._foundationAuth_AES_key);
                }
            }
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        } else {
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        }
        return v0_7;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common():


    public static byte[] generateNewAESKey_Common()
    {
        try {
            IllegalArgumentException v0_4 = javax.crypto.KeyGenerator.getInstance("AES");
            v0_4.init(128);
            return v0_4.generateKey().getEncoded();
        } catch (IllegalArgumentException v0_1) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.TAG, v0_1.getMessage(), v0_1);
            throw new IllegalArgumentException("Auth Foundation : Auth AESKeyMgr : Failed to generate an AES key");
        }
    }

Method javax.crypto.KeyGenerator.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/auth/AdobeUXAuthManagerRestricted;', 'getAdobeID', '()Ljava/lang/String;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'getAdobeID', '()Ljava/lang/String;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'getIMSService', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'setCipherKey', '([B)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', 'createInstance', '([B)Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', '<init>', '([B)V'), ('Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.auth.AdobeUXAuthManagerRestricted.getAdobeID():


    public String getAdobeID()
    {
        return this._authManagerImpl.getAdobeID();
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.getAdobeID():


    public String getAdobeID()
    {
        if (this.getIMSService().getAdobeID() != null) {
            return this.getIMSService().getAdobeID();
        } else {
            throw new RuntimeException("User information not available. Check if user is Authenticated");
        }
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.getIMSService():


    private com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getIMSService()
    {
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance();
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.setCipherKey():


    public void setCipherKey(byte[] p5)
    {
        if (p5 != null) {
            IllegalArgumentException v0_3 = new byte[p5.length];
            System.arraycopy(p5, 0, v0_3, 0, p5.length);
            try {
                this.cipher = com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance(v0_3);
            } catch (IllegalArgumentException v0_5) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, this.getClass().getSimpleName(), v0_5.getMessage(), v0_5);
                throw new IllegalArgumentException("CSDK Foundation Auth : Cannot create Cipher Instance !");
            }
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance():


    static com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher createInstance(byte[] p1)
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance == null) {
            com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance = new com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher(p1);
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.<init>():


    public AdobeCommonCipher(byte[] p4)
    {
        javax.crypto.spec.SecretKeySpec v0_1 = new javax.crypto.spec.SecretKeySpec(p4, "AES");
        this.encryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.encryptionCipher.init(1, v0_1);
        this.decryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.decryptionCipher.init(2, v0_1);
        return;
    }

Method javax.crypto.Cipher.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/auth/AdobeUXAuthManagerRestricted;', 'getClientID', '()Ljava/lang/String;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'getClientID', '()Ljava/lang/String;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'getIMSService', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'setCipherKey', '([B)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', 'createInstance', '([B)Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', '<init>', '([B)V'), ('Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.auth.AdobeUXAuthManagerRestricted.getClientID():


    public String getClientID()
    {
        String v0_0 = com.adobe.creativesdk.foundation.AdobeCSDKFoundation.getClientId();
        if (v0_0 == null) {
            v0_0 = this._authManagerImpl.getClientID();
        }
        return v0_0;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.getClientID():


    public String getClientID()
    {
        return this.getIMSService().getClientID();
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.getIMSService():


    private com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getIMSService()
    {
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance();
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.setCipherKey():


    public void setCipherKey(byte[] p5)
    {
        if (p5 != null) {
            IllegalArgumentException v0_3 = new byte[p5.length];
            System.arraycopy(p5, 0, v0_3, 0, p5.length);
            try {
                this.cipher = com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance(v0_3);
            } catch (IllegalArgumentException v0_5) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, this.getClass().getSimpleName(), v0_5.getMessage(), v0_5);
                throw new IllegalArgumentException("CSDK Foundation Auth : Cannot create Cipher Instance !");
            }
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance():


    static com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher createInstance(byte[] p1)
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance == null) {
            com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance = new com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher(p1);
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.<init>():


    public AdobeCommonCipher(byte[] p4)
    {
        javax.crypto.spec.SecretKeySpec v0_1 = new javax.crypto.spec.SecretKeySpec(p4, "AES");
        this.encryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.encryptionCipher.init(1, v0_1);
        this.decryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.decryptionCipher.init(2, v0_1);
        return;
    }

Method javax.crypto.Cipher.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/auth/AdobeUXAuthManagerRestricted;', 'getClientID', '()Ljava/lang/String;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'getClientID', '()Ljava/lang/String;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'getIMSService', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'getFoundationAuthAESKey', '()[B'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'generateNewAESKey_Common', '()[B'), ('Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.auth.AdobeUXAuthManagerRestricted.getClientID():


    public String getClientID()
    {
        String v0_0 = com.adobe.creativesdk.foundation.AdobeCSDKFoundation.getClientId();
        if (v0_0 == null) {
            v0_0 = this._authManagerImpl.getClientID();
        }
        return v0_0;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.getClientID():


    public String getClientID()
    {
        return this.getIMSService().getClientID();
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.getIMSService():


    private com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getIMSService()
    {
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance();
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getFoundationAuthAESKey():


    public byte[] getFoundationAuthAESKey()
    {
        IllegalArgumentException v0_7;
        if (this._foundationAuth_AES_key == null) {
            this._foundationAuth_AES_key = this.getFoundation_AESKey_fromPreference();
            if (this._foundationAuth_AES_key == null) {
                this._foundationAuth_AES_key = com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common();
                if (this._foundationAuth_AES_key == null) {
                    throw new IllegalArgumentException("CSDK Foundation Auth AES Key is null.");
                } else {
                    this.storeFoundatationAuth_AESKey_InPreference(this._foundationAuth_AES_key);
                }
            }
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        } else {
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        }
        return v0_7;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common():


    public static byte[] generateNewAESKey_Common()
    {
        try {
            IllegalArgumentException v0_4 = javax.crypto.KeyGenerator.getInstance("AES");
            v0_4.init(128);
            return v0_4.generateKey().getEncoded();
        } catch (IllegalArgumentException v0_1) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.TAG, v0_1.getMessage(), v0_1);
            throw new IllegalArgumentException("Auth Foundation : Auth AESKeyMgr : Failed to generate an AES key");
        }
    }

Method javax.crypto.KeyGenerator.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/auth/AdobeUXAuthManagerRestricted;', 'getClientSecret', '()Ljava/lang/String;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'getClientSecret', '()Ljava/lang/String;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'getIMSService', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'getFoundationAuthAESKey', '()[B'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'generateNewAESKey_Common', '()[B'), ('Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.auth.AdobeUXAuthManagerRestricted.getClientSecret():


    public String getClientSecret()
    {
        String v0_0 = com.adobe.creativesdk.foundation.AdobeCSDKFoundation.getClientSecret();
        if (v0_0 == null) {
            v0_0 = this._authManagerImpl.getClientSecret();
        }
        return v0_0;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.getClientSecret():


    public String getClientSecret()
    {
        return this.getIMSService().getClientSecret();
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.getIMSService():


    private com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getIMSService()
    {
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance();
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getFoundationAuthAESKey():


    public byte[] getFoundationAuthAESKey()
    {
        IllegalArgumentException v0_7;
        if (this._foundationAuth_AES_key == null) {
            this._foundationAuth_AES_key = this.getFoundation_AESKey_fromPreference();
            if (this._foundationAuth_AES_key == null) {
                this._foundationAuth_AES_key = com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common();
                if (this._foundationAuth_AES_key == null) {
                    throw new IllegalArgumentException("CSDK Foundation Auth AES Key is null.");
                } else {
                    this.storeFoundatationAuth_AESKey_InPreference(this._foundationAuth_AES_key);
                }
            }
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        } else {
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        }
        return v0_7;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common():


    public static byte[] generateNewAESKey_Common()
    {
        try {
            IllegalArgumentException v0_4 = javax.crypto.KeyGenerator.getInstance("AES");
            v0_4.init(128);
            return v0_4.generateKey().getEncoded();
        } catch (IllegalArgumentException v0_1) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.TAG, v0_1.getMessage(), v0_1);
            throw new IllegalArgumentException("Auth Foundation : Auth AESKeyMgr : Failed to generate an AES key");
        }
    }

Method javax.crypto.KeyGenerator.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/auth/AdobeUXAuthManagerRestricted;', 'getClientSecret', '()Ljava/lang/String;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'getClientSecret', '()Ljava/lang/String;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'getIMSService', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'setCipherKey', '([B)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', 'createInstance', '([B)Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', '<init>', '([B)V'), ('Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.auth.AdobeUXAuthManagerRestricted.getClientSecret():


    public String getClientSecret()
    {
        String v0_0 = com.adobe.creativesdk.foundation.AdobeCSDKFoundation.getClientSecret();
        if (v0_0 == null) {
            v0_0 = this._authManagerImpl.getClientSecret();
        }
        return v0_0;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.getClientSecret():


    public String getClientSecret()
    {
        return this.getIMSService().getClientSecret();
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.getIMSService():


    private com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getIMSService()
    {
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance();
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.setCipherKey():


    public void setCipherKey(byte[] p5)
    {
        if (p5 != null) {
            IllegalArgumentException v0_3 = new byte[p5.length];
            System.arraycopy(p5, 0, v0_3, 0, p5.length);
            try {
                this.cipher = com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance(v0_3);
            } catch (IllegalArgumentException v0_5) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, this.getClass().getSimpleName(), v0_5.getMessage(), v0_5);
                throw new IllegalArgumentException("CSDK Foundation Auth : Cannot create Cipher Instance !");
            }
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance():


    static com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher createInstance(byte[] p1)
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance == null) {
            com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance = new com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher(p1);
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.<init>():


    public AdobeCommonCipher(byte[] p4)
    {
        javax.crypto.spec.SecretKeySpec v0_1 = new javax.crypto.spec.SecretKeySpec(p4, "AES");
        this.encryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.encryptionCipher.init(1, v0_1);
        this.decryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.decryptionCipher.init(2, v0_1);
        return;
    }

Method javax.crypto.Cipher.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/auth/AdobeUXAuthManagerRestricted;', 'getEntitlements', '()Ljava/util/Set;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'getEntitlements', '()Ljava/util/Set;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'getIMSService', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'setCipherKey', '([B)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', 'createInstance', '([B)Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', '<init>', '([B)V'), ('Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.auth.AdobeUXAuthManagerRestricted.getEntitlements():


    public java.util.Set getEntitlements()
    {
        return this._authManagerImpl.getEntitlements();
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.getEntitlements():


    public java.util.Set getEntitlements()
    {
        return this.getIMSService().getEntitlements();
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.getIMSService():


    private com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getIMSService()
    {
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance();
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.setCipherKey():


    public void setCipherKey(byte[] p5)
    {
        if (p5 != null) {
            IllegalArgumentException v0_3 = new byte[p5.length];
            System.arraycopy(p5, 0, v0_3, 0, p5.length);
            try {
                this.cipher = com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance(v0_3);
            } catch (IllegalArgumentException v0_5) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, this.getClass().getSimpleName(), v0_5.getMessage(), v0_5);
                throw new IllegalArgumentException("CSDK Foundation Auth : Cannot create Cipher Instance !");
            }
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance():


    static com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher createInstance(byte[] p1)
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance == null) {
            com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance = new com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher(p1);
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.<init>():


    public AdobeCommonCipher(byte[] p4)
    {
        javax.crypto.spec.SecretKeySpec v0_1 = new javax.crypto.spec.SecretKeySpec(p4, "AES");
        this.encryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.encryptionCipher.init(1, v0_1);
        this.decryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.decryptionCipher.init(2, v0_1);
        return;
    }

Method javax.crypto.Cipher.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/auth/AdobeUXAuthManagerRestricted;', 'getEntitlements', '()Ljava/util/Set;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'getEntitlements', '()Ljava/util/Set;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'getIMSService', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'getFoundationAuthAESKey', '()[B'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'generateNewAESKey_Common', '()[B'), ('Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.auth.AdobeUXAuthManagerRestricted.getEntitlements():


    public java.util.Set getEntitlements()
    {
        return this._authManagerImpl.getEntitlements();
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.getEntitlements():


    public java.util.Set getEntitlements()
    {
        return this.getIMSService().getEntitlements();
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.getIMSService():


    private com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getIMSService()
    {
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance();
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getFoundationAuthAESKey():


    public byte[] getFoundationAuthAESKey()
    {
        IllegalArgumentException v0_7;
        if (this._foundationAuth_AES_key == null) {
            this._foundationAuth_AES_key = this.getFoundation_AESKey_fromPreference();
            if (this._foundationAuth_AES_key == null) {
                this._foundationAuth_AES_key = com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common();
                if (this._foundationAuth_AES_key == null) {
                    throw new IllegalArgumentException("CSDK Foundation Auth AES Key is null.");
                } else {
                    this.storeFoundatationAuth_AESKey_InPreference(this._foundationAuth_AES_key);
                }
            }
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        } else {
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        }
        return v0_7;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common():


    public static byte[] generateNewAESKey_Common()
    {
        try {
            IllegalArgumentException v0_4 = javax.crypto.KeyGenerator.getInstance("AES");
            v0_4.init(128);
            return v0_4.generateKey().getEncoded();
        } catch (IllegalArgumentException v0_1) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.TAG, v0_1.getMessage(), v0_1);
            throw new IllegalArgumentException("Auth Foundation : Auth AESKeyMgr : Failed to generate an AES key");
        }
    }

Method javax.crypto.KeyGenerator.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/auth/AdobeUXAuthManagerRestricted;', 'getSocialProviders', '(Lcom/adobe/creativesdk/foundation/adobeinternal/auth/AdobeSocialLoginParams$SocialProvider; Lcom/adobe/creativesdk/foundation/adobeinternal/auth/IAdobeSocialProviderCallback;)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'getSocialProviders', '(Lcom/adobe/creativesdk/foundation/adobeinternal/auth/AdobeSocialLoginParams$SocialProvider; Lcom/adobe/creativesdk/foundation/adobeinternal/auth/IAdobeSocialProviderCallback;)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'getIMSService', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'setCipherKey', '([B)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', 'createInstance', '([B)Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', '<init>', '([B)V'), ('Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.auth.AdobeUXAuthManagerRestricted.getSocialProviders():


    public void getSocialProviders(com.adobe.creativesdk.foundation.adobeinternal.auth.AdobeSocialLoginParams$SocialProvider p2, com.adobe.creativesdk.foundation.adobeinternal.auth.IAdobeSocialProviderCallback p3)
    {
        this._authManagerImpl.getSocialProviders(p2, p3);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.getSocialProviders():


    public void getSocialProviders(com.adobe.creativesdk.foundation.adobeinternal.auth.AdobeSocialLoginParams$SocialProvider p3, com.adobe.creativesdk.foundation.adobeinternal.auth.IAdobeSocialProviderCallback p4)
    {
        this.getIMSService().getListOfSocialProviders(new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager$1(this, p4, p3));
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.getIMSService():


    private com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getIMSService()
    {
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance();
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.setCipherKey():


    public void setCipherKey(byte[] p5)
    {
        if (p5 != null) {
            IllegalArgumentException v0_3 = new byte[p5.length];
            System.arraycopy(p5, 0, v0_3, 0, p5.length);
            try {
                this.cipher = com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance(v0_3);
            } catch (IllegalArgumentException v0_5) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, this.getClass().getSimpleName(), v0_5.getMessage(), v0_5);
                throw new IllegalArgumentException("CSDK Foundation Auth : Cannot create Cipher Instance !");
            }
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance():


    static com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher createInstance(byte[] p1)
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance == null) {
            com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance = new com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher(p1);
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.<init>():


    public AdobeCommonCipher(byte[] p4)
    {
        javax.crypto.spec.SecretKeySpec v0_1 = new javax.crypto.spec.SecretKeySpec(p4, "AES");
        this.encryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.encryptionCipher.init(1, v0_1);
        this.decryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.decryptionCipher.init(2, v0_1);
        return;
    }

Method javax.crypto.Cipher.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/auth/AdobeUXAuthManagerRestricted;', 'getSocialProviders', '(Lcom/adobe/creativesdk/foundation/adobeinternal/auth/AdobeSocialLoginParams$SocialProvider; Lcom/adobe/creativesdk/foundation/adobeinternal/auth/IAdobeSocialProviderCallback;)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'getSocialProviders', '(Lcom/adobe/creativesdk/foundation/adobeinternal/auth/AdobeSocialLoginParams$SocialProvider; Lcom/adobe/creativesdk/foundation/adobeinternal/auth/IAdobeSocialProviderCallback;)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'getIMSService', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'getFoundationAuthAESKey', '()[B'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'generateNewAESKey_Common', '()[B'), ('Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.auth.AdobeUXAuthManagerRestricted.getSocialProviders():


    public void getSocialProviders(com.adobe.creativesdk.foundation.adobeinternal.auth.AdobeSocialLoginParams$SocialProvider p2, com.adobe.creativesdk.foundation.adobeinternal.auth.IAdobeSocialProviderCallback p3)
    {
        this._authManagerImpl.getSocialProviders(p2, p3);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.getSocialProviders():


    public void getSocialProviders(com.adobe.creativesdk.foundation.adobeinternal.auth.AdobeSocialLoginParams$SocialProvider p3, com.adobe.creativesdk.foundation.adobeinternal.auth.IAdobeSocialProviderCallback p4)
    {
        this.getIMSService().getListOfSocialProviders(new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager$1(this, p4, p3));
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.getIMSService():


    private com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getIMSService()
    {
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance();
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getFoundationAuthAESKey():


    public byte[] getFoundationAuthAESKey()
    {
        IllegalArgumentException v0_7;
        if (this._foundationAuth_AES_key == null) {
            this._foundationAuth_AES_key = this.getFoundation_AESKey_fromPreference();
            if (this._foundationAuth_AES_key == null) {
                this._foundationAuth_AES_key = com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common();
                if (this._foundationAuth_AES_key == null) {
                    throw new IllegalArgumentException("CSDK Foundation Auth AES Key is null.");
                } else {
                    this.storeFoundatationAuth_AESKey_InPreference(this._foundationAuth_AES_key);
                }
            }
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        } else {
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        }
        return v0_7;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common():


    public static byte[] generateNewAESKey_Common()
    {
        try {
            IllegalArgumentException v0_4 = javax.crypto.KeyGenerator.getInstance("AES");
            v0_4.init(128);
            return v0_4.generateKey().getEncoded();
        } catch (IllegalArgumentException v0_1) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.TAG, v0_1.getMessage(), v0_1);
            throw new IllegalArgumentException("Auth Foundation : Auth AESKeyMgr : Failed to generate an AES key");
        }
    }

Method javax.crypto.KeyGenerator.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/auth/AdobeUXAuthManagerRestricted;', 'getUserProfile', '()Lcom/adobe/creativesdk/foundation/auth/AdobeAuthUserProfile;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'getUserProfile', '()Lcom/adobe/creativesdk/foundation/auth/AdobeAuthUserProfile;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'isAuthenticated', '()Z'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'setCipherKey', '([B)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', 'createInstance', '([B)Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', '<init>', '([B)V'), ('Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.auth.AdobeUXAuthManagerRestricted.getUserProfile():


    public com.adobe.creativesdk.foundation.auth.AdobeAuthUserProfile getUserProfile()
    {
        return this._authManagerImpl.getUserProfile();
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.getUserProfile():


    public com.adobe.creativesdk.foundation.auth.AdobeAuthUserProfile getUserProfile()
    {
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthUserProfileImpl v0_17;
        int v1_0 = 1;
        if ((this.isInitialized()) && (this.isAuthenticated())) {
            this.mUserProfile = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthUserProfileImpl();
            String v3_0 = com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance();
            com.adobe.creativesdk.foundation.internal.auth.AdobeAuthUserProfileImpl v0_1 = this.getIMSService().getAdobeID();
            if (v0_1 != null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthUserProfileImpl v0_11;
                this.mUserProfile.setAdobeID(v0_1);
                this.mUserProfile.setDisplayName(v3_0.getDisplayName());
                this.mUserProfile.setCountrycode(v3_0.getCountryCode());
                this.mUserProfile.setFirstName(v3_0.getFirstName());
                this.mUserProfile.setLastName(v3_0.getLastName());
                this.mUserProfile.setEmail(v3_0.getEmailAddress());
                if ((v3_0.getEmailVerified() == null) || (!v3_0.getEmailVerified().equals("true"))) {
                    v0_11 = 0;
                } else {
                    v0_11 = 1;
                }
                this.mUserProfile.setEmailVerified(v0_11);
                if ((v3_0.getIsEnterPrise() == null) || (!v3_0.getIsEnterPrise().equals("true"))) {
                    v1_0 = 0;
                }
                this.mUserProfile.setEnterprise(v1_0);
                v0_17 = this.mUserProfile;
            } else {
                throw new RuntimeException("User profile not available. But user Authenticated");
            }
        } else {
            v0_17 = 0;
        }
        return v0_17;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.isAuthenticated():


    public boolean isAuthenticated()
    {
        int v0 = 0;
        if (this.isInitialized()) {
            String v1_2 = com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance().getAdobeID();
            if (((this.hasValidAccessToken()) || (this.canRefreshAccessToken())) && (v1_2 != null)) {
                v0 = 1;
            }
        }
        return v0;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.setCipherKey():


    public void setCipherKey(byte[] p5)
    {
        if (p5 != null) {
            IllegalArgumentException v0_3 = new byte[p5.length];
            System.arraycopy(p5, 0, v0_3, 0, p5.length);
            try {
                this.cipher = com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance(v0_3);
            } catch (IllegalArgumentException v0_5) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, this.getClass().getSimpleName(), v0_5.getMessage(), v0_5);
                throw new IllegalArgumentException("CSDK Foundation Auth : Cannot create Cipher Instance !");
            }
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance():


    static com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher createInstance(byte[] p1)
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance == null) {
            com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance = new com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher(p1);
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.<init>():


    public AdobeCommonCipher(byte[] p4)
    {
        javax.crypto.spec.SecretKeySpec v0_1 = new javax.crypto.spec.SecretKeySpec(p4, "AES");
        this.encryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.encryptionCipher.init(1, v0_1);
        this.decryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.decryptionCipher.init(2, v0_1);
        return;
    }

Method javax.crypto.Cipher.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/auth/AdobeUXAuthManagerRestricted;', 'getUserProfile', '()Lcom/adobe/creativesdk/foundation/auth/AdobeAuthUserProfile;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'getUserProfile', '()Lcom/adobe/creativesdk/foundation/auth/AdobeAuthUserProfile;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'isAuthenticated', '()Z'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'getFoundationAuthAESKey', '()[B'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'generateNewAESKey_Common', '()[B'), ('Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.auth.AdobeUXAuthManagerRestricted.getUserProfile():


    public com.adobe.creativesdk.foundation.auth.AdobeAuthUserProfile getUserProfile()
    {
        return this._authManagerImpl.getUserProfile();
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.getUserProfile():


    public com.adobe.creativesdk.foundation.auth.AdobeAuthUserProfile getUserProfile()
    {
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthUserProfileImpl v0_17;
        int v1_0 = 1;
        if ((this.isInitialized()) && (this.isAuthenticated())) {
            this.mUserProfile = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthUserProfileImpl();
            String v3_0 = com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance();
            com.adobe.creativesdk.foundation.internal.auth.AdobeAuthUserProfileImpl v0_1 = this.getIMSService().getAdobeID();
            if (v0_1 != null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthUserProfileImpl v0_11;
                this.mUserProfile.setAdobeID(v0_1);
                this.mUserProfile.setDisplayName(v3_0.getDisplayName());
                this.mUserProfile.setCountrycode(v3_0.getCountryCode());
                this.mUserProfile.setFirstName(v3_0.getFirstName());
                this.mUserProfile.setLastName(v3_0.getLastName());
                this.mUserProfile.setEmail(v3_0.getEmailAddress());
                if ((v3_0.getEmailVerified() == null) || (!v3_0.getEmailVerified().equals("true"))) {
                    v0_11 = 0;
                } else {
                    v0_11 = 1;
                }
                this.mUserProfile.setEmailVerified(v0_11);
                if ((v3_0.getIsEnterPrise() == null) || (!v3_0.getIsEnterPrise().equals("true"))) {
                    v1_0 = 0;
                }
                this.mUserProfile.setEnterprise(v1_0);
                v0_17 = this.mUserProfile;
            } else {
                throw new RuntimeException("User profile not available. But user Authenticated");
            }
        } else {
            v0_17 = 0;
        }
        return v0_17;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.isAuthenticated():


    public boolean isAuthenticated()
    {
        int v0 = 0;
        if (this.isInitialized()) {
            String v1_2 = com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance().getAdobeID();
            if (((this.hasValidAccessToken()) || (this.canRefreshAccessToken())) && (v1_2 != null)) {
                v0 = 1;
            }
        }
        return v0;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getFoundationAuthAESKey():


    public byte[] getFoundationAuthAESKey()
    {
        IllegalArgumentException v0_7;
        if (this._foundationAuth_AES_key == null) {
            this._foundationAuth_AES_key = this.getFoundation_AESKey_fromPreference();
            if (this._foundationAuth_AES_key == null) {
                this._foundationAuth_AES_key = com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common();
                if (this._foundationAuth_AES_key == null) {
                    throw new IllegalArgumentException("CSDK Foundation Auth AES Key is null.");
                } else {
                    this.storeFoundatationAuth_AESKey_InPreference(this._foundationAuth_AES_key);
                }
            }
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        } else {
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        }
        return v0_7;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common():


    public static byte[] generateNewAESKey_Common()
    {
        try {
            IllegalArgumentException v0_4 = javax.crypto.KeyGenerator.getInstance("AES");
            v0_4.init(128);
            return v0_4.generateKey().getEncoded();
        } catch (IllegalArgumentException v0_1) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.TAG, v0_1.getMessage(), v0_1);
            throw new IllegalArgumentException("Auth Foundation : Auth AESKeyMgr : Failed to generate an AES key");
        }
    }

Method javax.crypto.KeyGenerator.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/auth/AdobeUXAuthManagerRestricted;', 'hasValidAccessToken', '()Z'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'willAccessTokenBeValidIn', '(J)Z'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'getIMSService', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'getFoundationAuthAESKey', '()[B'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'generateNewAESKey_Common', '()[B'), ('Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.auth.AdobeUXAuthManagerRestricted.hasValidAccessToken():


    public boolean hasValidAccessToken()
    {
        return this._authManagerImpl.willAccessTokenBeValidIn(0);
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.willAccessTokenBeValidIn():


    public boolean willAccessTokenBeValidIn(long p10)
    {
        int v0 = 0;
        long v1_6 = this.getIMSService().getAccessToken();
        if ((v1_6 != 0) && (v1_6.length() > 0)) {
            long v1_1 = this.getIMSService().getAccessTokenExpirationTime();
            if ((v1_1 != 0) && (v1_1.getTime() > (new java.util.Date().getTime() + (1000 * p10)))) {
                v0 = 1;
            }
        }
        return v0;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.getIMSService():


    private com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getIMSService()
    {
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance();
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getFoundationAuthAESKey():


    public byte[] getFoundationAuthAESKey()
    {
        IllegalArgumentException v0_7;
        if (this._foundationAuth_AES_key == null) {
            this._foundationAuth_AES_key = this.getFoundation_AESKey_fromPreference();
            if (this._foundationAuth_AES_key == null) {
                this._foundationAuth_AES_key = com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common();
                if (this._foundationAuth_AES_key == null) {
                    throw new IllegalArgumentException("CSDK Foundation Auth AES Key is null.");
                } else {
                    this.storeFoundatationAuth_AESKey_InPreference(this._foundationAuth_AES_key);
                }
            }
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        } else {
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        }
        return v0_7;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common():


    public static byte[] generateNewAESKey_Common()
    {
        try {
            IllegalArgumentException v0_4 = javax.crypto.KeyGenerator.getInstance("AES");
            v0_4.init(128);
            return v0_4.generateKey().getEncoded();
        } catch (IllegalArgumentException v0_1) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.TAG, v0_1.getMessage(), v0_1);
            throw new IllegalArgumentException("Auth Foundation : Auth AESKeyMgr : Failed to generate an AES key");
        }
    }

Method javax.crypto.KeyGenerator.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/auth/AdobeUXAuthManagerRestricted;', 'hasValidAccessToken', '()Z'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'willAccessTokenBeValidIn', '(J)Z'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'getIMSService', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'setCipherKey', '([B)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', 'createInstance', '([B)Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', '<init>', '([B)V'), ('Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.auth.AdobeUXAuthManagerRestricted.hasValidAccessToken():


    public boolean hasValidAccessToken()
    {
        return this._authManagerImpl.willAccessTokenBeValidIn(0);
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.willAccessTokenBeValidIn():


    public boolean willAccessTokenBeValidIn(long p10)
    {
        int v0 = 0;
        long v1_6 = this.getIMSService().getAccessToken();
        if ((v1_6 != 0) && (v1_6.length() > 0)) {
            long v1_1 = this.getIMSService().getAccessTokenExpirationTime();
            if ((v1_1 != 0) && (v1_1.getTime() > (new java.util.Date().getTime() + (1000 * p10)))) {
                v0 = 1;
            }
        }
        return v0;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.getIMSService():


    private com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getIMSService()
    {
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance();
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.setCipherKey():


    public void setCipherKey(byte[] p5)
    {
        if (p5 != null) {
            IllegalArgumentException v0_3 = new byte[p5.length];
            System.arraycopy(p5, 0, v0_3, 0, p5.length);
            try {
                this.cipher = com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance(v0_3);
            } catch (IllegalArgumentException v0_5) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, this.getClass().getSimpleName(), v0_5.getMessage(), v0_5);
                throw new IllegalArgumentException("CSDK Foundation Auth : Cannot create Cipher Instance !");
            }
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance():


    static com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher createInstance(byte[] p1)
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance == null) {
            com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance = new com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher(p1);
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.<init>():


    public AdobeCommonCipher(byte[] p4)
    {
        javax.crypto.spec.SecretKeySpec v0_1 = new javax.crypto.spec.SecretKeySpec(p4, "AES");
        this.encryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.encryptionCipher.init(1, v0_1);
        this.decryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.decryptionCipher.init(2, v0_1);
        return;
    }

Method javax.crypto.Cipher.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager$6;', 'onSuccess', '(Ljava/lang/String; Ljava/lang/String;)V'), ('Lcom/adobe/creativesdk/foundation/internal/analytics/AdobeAnalyticsETSAuthEvent;', 'endAndTrackEvent', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/analytics/AdobeAnalyticsETSEvent;', 'endAndTrackEvent', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/analytics/AdobeAnalyticsETSJobManager;', 'addNewEvent', '(Lcom/adobe/creativesdk/foundation/internal/analytics/AdobeAnalyticsETSEvent;)V'), ('Lcom/adobe/creativesdk/foundation/internal/analytics/AdobeAnalyticsETSJobManager;', 'getEventDataObject', '()Lorg/json/JSONObject;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'getFoundationAuthAESKey', '()[B'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'generateNewAESKey_Common', '()[B'), ('Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager$6.onSuccess():


    public void onSuccess(String p4, String p5)
    {
        com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsSDKReporter.trackAuthStep("Valid Authentication Token", p4);
        this.val$etsEvent.trackErrorCode("success");
        this.val$etsEvent.endAndTrackEvent();
        if (this.val$sendExternal) {
            com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.access$000(this.this$0).setIDPFlow("ims");
        }
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.access$200(this.this$0, this.val$sendExternal);
        com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.DEBUG, "Authentication", "Successfully logged in");
        return;
    }

Method com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSAuthEvent.endAndTrackEvent():


    public void endAndTrackEvent()
    {
        this.data.put(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Environment.AdobeEventPropertyComponentName.getValue(), "auth");
        this.data.put(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Environment.AdobeEventPropertyComponentVersion.getValue(), com.adobe.creativesdk.foundation.AdobeCSDKFoundation.getVersion());
        super.endAndTrackEvent();
        return;
    }

Method com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSEvent.endAndTrackEvent():


    public void endAndTrackEvent()
    {
        this.data.put(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Core.AdobeEventPropertyEnd.getValue(), com.adobe.creativesdk.foundation.internal.utils.Util.getDateTimeForETS());
        this.trackEventGlobalNetworkDetails();
        com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSJobManager.getSharedInstance().addNewEvent(this);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSJobManager.addNewEvent():


    public declared_synchronized void addNewEvent(com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSEvent p5)
    {
        try {
            java.util.ArrayList v0_0 = p5.data;
        } catch (java.util.ArrayList v0_3) {
            throw v0_3;
        }
        if (this.jobDescriptionList == null) {
            this.jobDescriptionList = new java.util.ArrayList();
        }
        if (this.jobDescriptionList.size() >= 15) {
            this.jobDescriptionList.remove(0);
        }
        new org.json.JSONObject();
        try {
            org.json.JSONObject v1_3 = this.getEventDataObject();
        } catch (java.util.ArrayList v0_2) {
            v0_2.printStackTrace();
            return;
        }
        if (v0_0.get("project") == null) {
            return;
        } else {
            v1_3.put("project", v0_0.get("project"));
            v0_0.remove("project");
            v1_3.put("data", new org.json.JSONObject(v0_0));
            this.jobDescriptionList.add(v1_3);
            return;
        }
    }

Method com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSJobManager.getEventDataObject():


    private org.json.JSONObject getEventDataObject()
    {
        org.json.JSONObject v0_1 = new org.json.JSONObject();
        v0_1.put("time", com.adobe.creativesdk.foundation.internal.utils.Util.getDateTimeForIngest());
        v0_1.put("ingesttype", "dunamis");
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance().getEnvironment() != com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIMSEnvironment.AdobeAuthIMSEnvironmentProductionUS) {
            v0_1.put("environment", "stage");
        } else {
            v0_1.put("environment", "prod");
        }
        return v0_1;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getFoundationAuthAESKey():


    public byte[] getFoundationAuthAESKey()
    {
        IllegalArgumentException v0_7;
        if (this._foundationAuth_AES_key == null) {
            this._foundationAuth_AES_key = this.getFoundation_AESKey_fromPreference();
            if (this._foundationAuth_AES_key == null) {
                this._foundationAuth_AES_key = com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common();
                if (this._foundationAuth_AES_key == null) {
                    throw new IllegalArgumentException("CSDK Foundation Auth AES Key is null.");
                } else {
                    this.storeFoundatationAuth_AESKey_InPreference(this._foundationAuth_AES_key);
                }
            }
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        } else {
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        }
        return v0_7;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common():


    public static byte[] generateNewAESKey_Common()
    {
        try {
            IllegalArgumentException v0_4 = javax.crypto.KeyGenerator.getInstance("AES");
            v0_4.init(128);
            return v0_4.generateKey().getEncoded();
        } catch (IllegalArgumentException v0_1) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.TAG, v0_1.getMessage(), v0_1);
            throw new IllegalArgumentException("Auth Foundation : Auth AESKeyMgr : Failed to generate an AES key");
        }
    }

Method javax.crypto.KeyGenerator.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager$6;', 'onSuccess', '(Ljava/lang/String; Ljava/lang/String;)V'), ('Lcom/adobe/creativesdk/foundation/internal/analytics/AdobeAnalyticsETSAuthEvent;', 'endAndTrackEvent', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/analytics/AdobeAnalyticsETSEvent;', 'endAndTrackEvent', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/analytics/AdobeAnalyticsETSJobManager;', 'addNewEvent', '(Lcom/adobe/creativesdk/foundation/internal/analytics/AdobeAnalyticsETSEvent;)V'), ('Lcom/adobe/creativesdk/foundation/internal/analytics/AdobeAnalyticsETSJobManager;', 'getEventDataObject', '()Lorg/json/JSONObject;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'setCipherKey', '([B)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', 'createInstance', '([B)Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', '<init>', '([B)V'), ('Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager$6.onSuccess():


    public void onSuccess(String p4, String p5)
    {
        com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsSDKReporter.trackAuthStep("Valid Authentication Token", p4);
        this.val$etsEvent.trackErrorCode("success");
        this.val$etsEvent.endAndTrackEvent();
        if (this.val$sendExternal) {
            com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.access$000(this.this$0).setIDPFlow("ims");
        }
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.access$200(this.this$0, this.val$sendExternal);
        com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.DEBUG, "Authentication", "Successfully logged in");
        return;
    }

Method com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSAuthEvent.endAndTrackEvent():


    public void endAndTrackEvent()
    {
        this.data.put(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Environment.AdobeEventPropertyComponentName.getValue(), "auth");
        this.data.put(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Environment.AdobeEventPropertyComponentVersion.getValue(), com.adobe.creativesdk.foundation.AdobeCSDKFoundation.getVersion());
        super.endAndTrackEvent();
        return;
    }

Method com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSEvent.endAndTrackEvent():


    public void endAndTrackEvent()
    {
        this.data.put(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Core.AdobeEventPropertyEnd.getValue(), com.adobe.creativesdk.foundation.internal.utils.Util.getDateTimeForETS());
        this.trackEventGlobalNetworkDetails();
        com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSJobManager.getSharedInstance().addNewEvent(this);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSJobManager.addNewEvent():


    public declared_synchronized void addNewEvent(com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSEvent p5)
    {
        try {
            java.util.ArrayList v0_0 = p5.data;
        } catch (java.util.ArrayList v0_3) {
            throw v0_3;
        }
        if (this.jobDescriptionList == null) {
            this.jobDescriptionList = new java.util.ArrayList();
        }
        if (this.jobDescriptionList.size() >= 15) {
            this.jobDescriptionList.remove(0);
        }
        new org.json.JSONObject();
        try {
            org.json.JSONObject v1_3 = this.getEventDataObject();
        } catch (java.util.ArrayList v0_2) {
            v0_2.printStackTrace();
            return;
        }
        if (v0_0.get("project") == null) {
            return;
        } else {
            v1_3.put("project", v0_0.get("project"));
            v0_0.remove("project");
            v1_3.put("data", new org.json.JSONObject(v0_0));
            this.jobDescriptionList.add(v1_3);
            return;
        }
    }

Method com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSJobManager.getEventDataObject():


    private org.json.JSONObject getEventDataObject()
    {
        org.json.JSONObject v0_1 = new org.json.JSONObject();
        v0_1.put("time", com.adobe.creativesdk.foundation.internal.utils.Util.getDateTimeForIngest());
        v0_1.put("ingesttype", "dunamis");
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance().getEnvironment() != com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIMSEnvironment.AdobeAuthIMSEnvironmentProductionUS) {
            v0_1.put("environment", "stage");
        } else {
            v0_1.put("environment", "prod");
        }
        return v0_1;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.setCipherKey():


    public void setCipherKey(byte[] p5)
    {
        if (p5 != null) {
            IllegalArgumentException v0_3 = new byte[p5.length];
            System.arraycopy(p5, 0, v0_3, 0, p5.length);
            try {
                this.cipher = com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance(v0_3);
            } catch (IllegalArgumentException v0_5) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, this.getClass().getSimpleName(), v0_5.getMessage(), v0_5);
                throw new IllegalArgumentException("CSDK Foundation Auth : Cannot create Cipher Instance !");
            }
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance():


    static com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher createInstance(byte[] p1)
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance == null) {
            com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance = new com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher(p1);
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.<init>():


    public AdobeCommonCipher(byte[] p4)
    {
        javax.crypto.spec.SecretKeySpec v0_1 = new javax.crypto.spec.SecretKeySpec(p4, "AES");
        this.encryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.encryptionCipher.init(1, v0_1);
        this.decryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.decryptionCipher.init(2, v0_1);
        return;
    }

Method javax.crypto.Cipher.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager$7;', 'run', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'logout', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'getUserProfile', '()Lcom/adobe/creativesdk/foundation/auth/AdobeAuthUserProfile;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'isAuthenticated', '()Z'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'setCipherKey', '([B)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', 'createInstance', '([B)Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', '<init>', '([B)V'), ('Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager$7.run():


    public void run()
    {
        com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.DEBUG, "Authentication", "Calling logout() from emergency-logout");
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.access$702(this.this$0, 1);
        this.this$0.logout();
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.logout():


    public void logout()
    {
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager$3 v1_0 = this.getUserProfile();
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService v0_0 = 0;
        com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.DEBUG, "Authentication", "logout() called");
        String v2_0 = new com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSAuthEvent(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Type.AdobeEventTypeAppLogout.getValue());
        v2_0.trackService(this.getIMSService().getImsHost(), this.getIMSService().getLogoutAPI(), this.getIMSService().getLogoutAPIVersion());
        if (this.emergencyLogout) {
            v2_0.addEventParams(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Core.AdobeEventPropertySubType.getValue(), "token_deleted");
            this.emergencyLogout = 0;
        }
        if (v1_0 != null) {
            com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsSDKReporter.trackAuthStep("Logout Attempt", v1_0.getAdobeID());
            v0_0 = v1_0.getAdobeID();
        }
        if (this.getApplicationContext() != null) {
            com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager$3 v1_3 = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager$3(this, v0_0, v2_0);
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.DEBUG, "Authentication", "Calling getImSService-Signout");
            this.getIMSService().signOut(v1_3);
        } else {
            com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService v0_5 = new java.util.HashMap();
            v0_5.put("Error", new com.adobe.creativesdk.foundation.auth.AdobeAuthException(com.adobe.creativesdk.foundation.auth.AdobeAuthErrorCode.ADOBE_AUTH_ERROR_AUTH_MODULE_NOT_INITIALIZED));
            com.adobe.creativesdk.foundation.internal.notification.AdobeLocalNotificationCenter.getDefaultNotificationCenter().postNotification(new com.adobe.creativesdk.foundation.internal.notification.AdobeNotification(com.adobe.creativesdk.foundation.internal.notification.AdobeInternalNotificationID.AdobeAuthLogoutNotification, v0_5));
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.getUserProfile():


    public com.adobe.creativesdk.foundation.auth.AdobeAuthUserProfile getUserProfile()
    {
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthUserProfileImpl v0_17;
        int v1_0 = 1;
        if ((this.isInitialized()) && (this.isAuthenticated())) {
            this.mUserProfile = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthUserProfileImpl();
            String v3_0 = com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance();
            com.adobe.creativesdk.foundation.internal.auth.AdobeAuthUserProfileImpl v0_1 = this.getIMSService().getAdobeID();
            if (v0_1 != null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthUserProfileImpl v0_11;
                this.mUserProfile.setAdobeID(v0_1);
                this.mUserProfile.setDisplayName(v3_0.getDisplayName());
                this.mUserProfile.setCountrycode(v3_0.getCountryCode());
                this.mUserProfile.setFirstName(v3_0.getFirstName());
                this.mUserProfile.setLastName(v3_0.getLastName());
                this.mUserProfile.setEmail(v3_0.getEmailAddress());
                if ((v3_0.getEmailVerified() == null) || (!v3_0.getEmailVerified().equals("true"))) {
                    v0_11 = 0;
                } else {
                    v0_11 = 1;
                }
                this.mUserProfile.setEmailVerified(v0_11);
                if ((v3_0.getIsEnterPrise() == null) || (!v3_0.getIsEnterPrise().equals("true"))) {
                    v1_0 = 0;
                }
                this.mUserProfile.setEnterprise(v1_0);
                v0_17 = this.mUserProfile;
            } else {
                throw new RuntimeException("User profile not available. But user Authenticated");
            }
        } else {
            v0_17 = 0;
        }
        return v0_17;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.isAuthenticated():


    public boolean isAuthenticated()
    {
        int v0 = 0;
        if (this.isInitialized()) {
            String v1_2 = com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance().getAdobeID();
            if (((this.hasValidAccessToken()) || (this.canRefreshAccessToken())) && (v1_2 != null)) {
                v0 = 1;
            }
        }
        return v0;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.setCipherKey():


    public void setCipherKey(byte[] p5)
    {
        if (p5 != null) {
            IllegalArgumentException v0_3 = new byte[p5.length];
            System.arraycopy(p5, 0, v0_3, 0, p5.length);
            try {
                this.cipher = com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance(v0_3);
            } catch (IllegalArgumentException v0_5) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, this.getClass().getSimpleName(), v0_5.getMessage(), v0_5);
                throw new IllegalArgumentException("CSDK Foundation Auth : Cannot create Cipher Instance !");
            }
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance():


    static com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher createInstance(byte[] p1)
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance == null) {
            com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance = new com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher(p1);
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.<init>():


    public AdobeCommonCipher(byte[] p4)
    {
        javax.crypto.spec.SecretKeySpec v0_1 = new javax.crypto.spec.SecretKeySpec(p4, "AES");
        this.encryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.encryptionCipher.init(1, v0_1);
        this.decryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.decryptionCipher.init(2, v0_1);
        return;
    }

Method javax.crypto.Cipher.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/auth/AdobeUXAuthManagerRestricted;', 'isAuthenticated', '()Z'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'isAuthenticated', '()Z'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'getFoundationAuthAESKey', '()[B'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'generateNewAESKey_Common', '()[B'), ('Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.auth.AdobeUXAuthManagerRestricted.isAuthenticated():


    public boolean isAuthenticated()
    {
        return this._authManagerImpl.isAuthenticated();
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.isAuthenticated():


    public boolean isAuthenticated()
    {
        int v0 = 0;
        if (this.isInitialized()) {
            String v1_2 = com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance().getAdobeID();
            if (((this.hasValidAccessToken()) || (this.canRefreshAccessToken())) && (v1_2 != null)) {
                v0 = 1;
            }
        }
        return v0;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getFoundationAuthAESKey():


    public byte[] getFoundationAuthAESKey()
    {
        IllegalArgumentException v0_7;
        if (this._foundationAuth_AES_key == null) {
            this._foundationAuth_AES_key = this.getFoundation_AESKey_fromPreference();
            if (this._foundationAuth_AES_key == null) {
                this._foundationAuth_AES_key = com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common();
                if (this._foundationAuth_AES_key == null) {
                    throw new IllegalArgumentException("CSDK Foundation Auth AES Key is null.");
                } else {
                    this.storeFoundatationAuth_AESKey_InPreference(this._foundationAuth_AES_key);
                }
            }
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        } else {
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        }
        return v0_7;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common():


    public static byte[] generateNewAESKey_Common()
    {
        try {
            IllegalArgumentException v0_4 = javax.crypto.KeyGenerator.getInstance("AES");
            v0_4.init(128);
            return v0_4.generateKey().getEncoded();
        } catch (IllegalArgumentException v0_1) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.TAG, v0_1.getMessage(), v0_1);
            throw new IllegalArgumentException("Auth Foundation : Auth AESKeyMgr : Failed to generate an AES key");
        }
    }

Method javax.crypto.KeyGenerator.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/auth/AdobeUXAuthManagerRestricted;', 'isAuthenticated', '()Z'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'isAuthenticated', '()Z'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'setCipherKey', '([B)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', 'createInstance', '([B)Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', '<init>', '([B)V'), ('Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.auth.AdobeUXAuthManagerRestricted.isAuthenticated():


    public boolean isAuthenticated()
    {
        return this._authManagerImpl.isAuthenticated();
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.isAuthenticated():


    public boolean isAuthenticated()
    {
        int v0 = 0;
        if (this.isInitialized()) {
            String v1_2 = com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance().getAdobeID();
            if (((this.hasValidAccessToken()) || (this.canRefreshAccessToken())) && (v1_2 != null)) {
                v0 = 1;
            }
        }
        return v0;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.setCipherKey():


    public void setCipherKey(byte[] p5)
    {
        if (p5 != null) {
            IllegalArgumentException v0_3 = new byte[p5.length];
            System.arraycopy(p5, 0, v0_3, 0, p5.length);
            try {
                this.cipher = com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance(v0_3);
            } catch (IllegalArgumentException v0_5) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, this.getClass().getSimpleName(), v0_5.getMessage(), v0_5);
                throw new IllegalArgumentException("CSDK Foundation Auth : Cannot create Cipher Instance !");
            }
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance():


    static com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher createInstance(byte[] p1)
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance == null) {
            com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance = new com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher(p1);
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.<init>():


    public AdobeCommonCipher(byte[] p4)
    {
        javax.crypto.spec.SecretKeySpec v0_1 = new javax.crypto.spec.SecretKeySpec(p4, "AES");
        this.encryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.encryptionCipher.init(1, v0_1);
        this.decryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.decryptionCipher.init(2, v0_1);
        return;
    }

Method javax.crypto.Cipher.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/auth/AdobeUXAuthManagerRestricted;', 'isSocialLoginEnabled', '(Lcom/adobe/creativesdk/foundation/adobeinternal/auth/AdobeSocialLoginParams$SocialProvider;)Z'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'isSocialLoginEnabled', '(Lcom/adobe/creativesdk/foundation/adobeinternal/auth/AdobeSocialLoginParams$SocialProvider;)Z'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'getIMSService', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'getFoundationAuthAESKey', '()[B'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'generateNewAESKey_Common', '()[B'), ('Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.auth.AdobeUXAuthManagerRestricted.isSocialLoginEnabled():


    public boolean isSocialLoginEnabled(com.adobe.creativesdk.foundation.adobeinternal.auth.AdobeSocialLoginParams$SocialProvider p2)
    {
        return this._authManagerImpl.isSocialLoginEnabled(p2);
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.isSocialLoginEnabled():


    public boolean isSocialLoginEnabled(com.adobe.creativesdk.foundation.adobeinternal.auth.AdobeSocialLoginParams$SocialProvider p3)
    {
        return this.getIMSService().isProviderEnabled(p3.name());
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.getIMSService():


    private com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getIMSService()
    {
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance();
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getFoundationAuthAESKey():


    public byte[] getFoundationAuthAESKey()
    {
        IllegalArgumentException v0_7;
        if (this._foundationAuth_AES_key == null) {
            this._foundationAuth_AES_key = this.getFoundation_AESKey_fromPreference();
            if (this._foundationAuth_AES_key == null) {
                this._foundationAuth_AES_key = com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common();
                if (this._foundationAuth_AES_key == null) {
                    throw new IllegalArgumentException("CSDK Foundation Auth AES Key is null.");
                } else {
                    this.storeFoundatationAuth_AESKey_InPreference(this._foundationAuth_AES_key);
                }
            }
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        } else {
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        }
        return v0_7;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common():


    public static byte[] generateNewAESKey_Common()
    {
        try {
            IllegalArgumentException v0_4 = javax.crypto.KeyGenerator.getInstance("AES");
            v0_4.init(128);
            return v0_4.generateKey().getEncoded();
        } catch (IllegalArgumentException v0_1) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.TAG, v0_1.getMessage(), v0_1);
            throw new IllegalArgumentException("Auth Foundation : Auth AESKeyMgr : Failed to generate an AES key");
        }
    }

Method javax.crypto.KeyGenerator.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/auth/AdobeUXAuthManagerRestricted;', 'isSocialLoginEnabled', '(Lcom/adobe/creativesdk/foundation/adobeinternal/auth/AdobeSocialLoginParams$SocialProvider;)Z'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'isSocialLoginEnabled', '(Lcom/adobe/creativesdk/foundation/adobeinternal/auth/AdobeSocialLoginParams$SocialProvider;)Z'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'getIMSService', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'setCipherKey', '([B)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', 'createInstance', '([B)Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', '<init>', '([B)V'), ('Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.auth.AdobeUXAuthManagerRestricted.isSocialLoginEnabled():


    public boolean isSocialLoginEnabled(com.adobe.creativesdk.foundation.adobeinternal.auth.AdobeSocialLoginParams$SocialProvider p2)
    {
        return this._authManagerImpl.isSocialLoginEnabled(p2);
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.isSocialLoginEnabled():


    public boolean isSocialLoginEnabled(com.adobe.creativesdk.foundation.adobeinternal.auth.AdobeSocialLoginParams$SocialProvider p3)
    {
        return this.getIMSService().isProviderEnabled(p3.name());
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.getIMSService():


    private com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getIMSService()
    {
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance();
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.setCipherKey():


    public void setCipherKey(byte[] p5)
    {
        if (p5 != null) {
            IllegalArgumentException v0_3 = new byte[p5.length];
            System.arraycopy(p5, 0, v0_3, 0, p5.length);
            try {
                this.cipher = com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance(v0_3);
            } catch (IllegalArgumentException v0_5) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, this.getClass().getSimpleName(), v0_5.getMessage(), v0_5);
                throw new IllegalArgumentException("CSDK Foundation Auth : Cannot create Cipher Instance !");
            }
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance():


    static com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher createInstance(byte[] p1)
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance == null) {
            com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance = new com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher(p1);
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.<init>():


    public AdobeCommonCipher(byte[] p4)
    {
        javax.crypto.spec.SecretKeySpec v0_1 = new javax.crypto.spec.SecretKeySpec(p4, "AES");
        this.encryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.encryptionCipher.init(1, v0_1);
        this.decryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.decryptionCipher.init(2, v0_1);
        return;
    }

Method javax.crypto.Cipher.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/auth/AdobeUXAuthManagerRestricted;', 'logout', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'logout', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'getUserProfile', '()Lcom/adobe/creativesdk/foundation/auth/AdobeAuthUserProfile;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'isAuthenticated', '()Z'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'setCipherKey', '([B)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', 'createInstance', '([B)Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', '<init>', '([B)V'), ('Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.auth.AdobeUXAuthManagerRestricted.logout():


    public void logout()
    {
        this._authManagerImpl.logout();
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.logout():


    public void logout()
    {
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager$3 v1_0 = this.getUserProfile();
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService v0_0 = 0;
        com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.DEBUG, "Authentication", "logout() called");
        String v2_0 = new com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSAuthEvent(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Type.AdobeEventTypeAppLogout.getValue());
        v2_0.trackService(this.getIMSService().getImsHost(), this.getIMSService().getLogoutAPI(), this.getIMSService().getLogoutAPIVersion());
        if (this.emergencyLogout) {
            v2_0.addEventParams(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Core.AdobeEventPropertySubType.getValue(), "token_deleted");
            this.emergencyLogout = 0;
        }
        if (v1_0 != null) {
            com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsSDKReporter.trackAuthStep("Logout Attempt", v1_0.getAdobeID());
            v0_0 = v1_0.getAdobeID();
        }
        if (this.getApplicationContext() != null) {
            com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager$3 v1_3 = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager$3(this, v0_0, v2_0);
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.DEBUG, "Authentication", "Calling getImSService-Signout");
            this.getIMSService().signOut(v1_3);
        } else {
            com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService v0_5 = new java.util.HashMap();
            v0_5.put("Error", new com.adobe.creativesdk.foundation.auth.AdobeAuthException(com.adobe.creativesdk.foundation.auth.AdobeAuthErrorCode.ADOBE_AUTH_ERROR_AUTH_MODULE_NOT_INITIALIZED));
            com.adobe.creativesdk.foundation.internal.notification.AdobeLocalNotificationCenter.getDefaultNotificationCenter().postNotification(new com.adobe.creativesdk.foundation.internal.notification.AdobeNotification(com.adobe.creativesdk.foundation.internal.notification.AdobeInternalNotificationID.AdobeAuthLogoutNotification, v0_5));
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.getUserProfile():


    public com.adobe.creativesdk.foundation.auth.AdobeAuthUserProfile getUserProfile()
    {
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthUserProfileImpl v0_17;
        int v1_0 = 1;
        if ((this.isInitialized()) && (this.isAuthenticated())) {
            this.mUserProfile = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthUserProfileImpl();
            String v3_0 = com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance();
            com.adobe.creativesdk.foundation.internal.auth.AdobeAuthUserProfileImpl v0_1 = this.getIMSService().getAdobeID();
            if (v0_1 != null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthUserProfileImpl v0_11;
                this.mUserProfile.setAdobeID(v0_1);
                this.mUserProfile.setDisplayName(v3_0.getDisplayName());
                this.mUserProfile.setCountrycode(v3_0.getCountryCode());
                this.mUserProfile.setFirstName(v3_0.getFirstName());
                this.mUserProfile.setLastName(v3_0.getLastName());
                this.mUserProfile.setEmail(v3_0.getEmailAddress());
                if ((v3_0.getEmailVerified() == null) || (!v3_0.getEmailVerified().equals("true"))) {
                    v0_11 = 0;
                } else {
                    v0_11 = 1;
                }
                this.mUserProfile.setEmailVerified(v0_11);
                if ((v3_0.getIsEnterPrise() == null) || (!v3_0.getIsEnterPrise().equals("true"))) {
                    v1_0 = 0;
                }
                this.mUserProfile.setEnterprise(v1_0);
                v0_17 = this.mUserProfile;
            } else {
                throw new RuntimeException("User profile not available. But user Authenticated");
            }
        } else {
            v0_17 = 0;
        }
        return v0_17;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.isAuthenticated():


    public boolean isAuthenticated()
    {
        int v0 = 0;
        if (this.isInitialized()) {
            String v1_2 = com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance().getAdobeID();
            if (((this.hasValidAccessToken()) || (this.canRefreshAccessToken())) && (v1_2 != null)) {
                v0 = 1;
            }
        }
        return v0;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.setCipherKey():


    public void setCipherKey(byte[] p5)
    {
        if (p5 != null) {
            IllegalArgumentException v0_3 = new byte[p5.length];
            System.arraycopy(p5, 0, v0_3, 0, p5.length);
            try {
                this.cipher = com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance(v0_3);
            } catch (IllegalArgumentException v0_5) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, this.getClass().getSimpleName(), v0_5.getMessage(), v0_5);
                throw new IllegalArgumentException("CSDK Foundation Auth : Cannot create Cipher Instance !");
            }
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance():


    static com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher createInstance(byte[] p1)
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance == null) {
            com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance = new com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher(p1);
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.<init>():


    public AdobeCommonCipher(byte[] p4)
    {
        javax.crypto.spec.SecretKeySpec v0_1 = new javax.crypto.spec.SecretKeySpec(p4, "AES");
        this.encryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.encryptionCipher.init(1, v0_1);
        this.decryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.decryptionCipher.init(2, v0_1);
        return;
    }

Method javax.crypto.Cipher.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/auth/AdobeUXAuthManagerRestricted;', 'logout', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'logout', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'getUserProfile', '()Lcom/adobe/creativesdk/foundation/auth/AdobeAuthUserProfile;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'isAuthenticated', '()Z'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'getFoundationAuthAESKey', '()[B'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'generateNewAESKey_Common', '()[B'), ('Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.auth.AdobeUXAuthManagerRestricted.logout():


    public void logout()
    {
        this._authManagerImpl.logout();
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.logout():


    public void logout()
    {
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager$3 v1_0 = this.getUserProfile();
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService v0_0 = 0;
        com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.DEBUG, "Authentication", "logout() called");
        String v2_0 = new com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSAuthEvent(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Type.AdobeEventTypeAppLogout.getValue());
        v2_0.trackService(this.getIMSService().getImsHost(), this.getIMSService().getLogoutAPI(), this.getIMSService().getLogoutAPIVersion());
        if (this.emergencyLogout) {
            v2_0.addEventParams(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Core.AdobeEventPropertySubType.getValue(), "token_deleted");
            this.emergencyLogout = 0;
        }
        if (v1_0 != null) {
            com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsSDKReporter.trackAuthStep("Logout Attempt", v1_0.getAdobeID());
            v0_0 = v1_0.getAdobeID();
        }
        if (this.getApplicationContext() != null) {
            com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager$3 v1_3 = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager$3(this, v0_0, v2_0);
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.DEBUG, "Authentication", "Calling getImSService-Signout");
            this.getIMSService().signOut(v1_3);
        } else {
            com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService v0_5 = new java.util.HashMap();
            v0_5.put("Error", new com.adobe.creativesdk.foundation.auth.AdobeAuthException(com.adobe.creativesdk.foundation.auth.AdobeAuthErrorCode.ADOBE_AUTH_ERROR_AUTH_MODULE_NOT_INITIALIZED));
            com.adobe.creativesdk.foundation.internal.notification.AdobeLocalNotificationCenter.getDefaultNotificationCenter().postNotification(new com.adobe.creativesdk.foundation.internal.notification.AdobeNotification(com.adobe.creativesdk.foundation.internal.notification.AdobeInternalNotificationID.AdobeAuthLogoutNotification, v0_5));
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.getUserProfile():


    public com.adobe.creativesdk.foundation.auth.AdobeAuthUserProfile getUserProfile()
    {
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthUserProfileImpl v0_17;
        int v1_0 = 1;
        if ((this.isInitialized()) && (this.isAuthenticated())) {
            this.mUserProfile = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthUserProfileImpl();
            String v3_0 = com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance();
            com.adobe.creativesdk.foundation.internal.auth.AdobeAuthUserProfileImpl v0_1 = this.getIMSService().getAdobeID();
            if (v0_1 != null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthUserProfileImpl v0_11;
                this.mUserProfile.setAdobeID(v0_1);
                this.mUserProfile.setDisplayName(v3_0.getDisplayName());
                this.mUserProfile.setCountrycode(v3_0.getCountryCode());
                this.mUserProfile.setFirstName(v3_0.getFirstName());
                this.mUserProfile.setLastName(v3_0.getLastName());
                this.mUserProfile.setEmail(v3_0.getEmailAddress());
                if ((v3_0.getEmailVerified() == null) || (!v3_0.getEmailVerified().equals("true"))) {
                    v0_11 = 0;
                } else {
                    v0_11 = 1;
                }
                this.mUserProfile.setEmailVerified(v0_11);
                if ((v3_0.getIsEnterPrise() == null) || (!v3_0.getIsEnterPrise().equals("true"))) {
                    v1_0 = 0;
                }
                this.mUserProfile.setEnterprise(v1_0);
                v0_17 = this.mUserProfile;
            } else {
                throw new RuntimeException("User profile not available. But user Authenticated");
            }
        } else {
            v0_17 = 0;
        }
        return v0_17;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.isAuthenticated():


    public boolean isAuthenticated()
    {
        int v0 = 0;
        if (this.isInitialized()) {
            String v1_2 = com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance().getAdobeID();
            if (((this.hasValidAccessToken()) || (this.canRefreshAccessToken())) && (v1_2 != null)) {
                v0 = 1;
            }
        }
        return v0;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getFoundationAuthAESKey():


    public byte[] getFoundationAuthAESKey()
    {
        IllegalArgumentException v0_7;
        if (this._foundationAuth_AES_key == null) {
            this._foundationAuth_AES_key = this.getFoundation_AESKey_fromPreference();
            if (this._foundationAuth_AES_key == null) {
                this._foundationAuth_AES_key = com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common();
                if (this._foundationAuth_AES_key == null) {
                    throw new IllegalArgumentException("CSDK Foundation Auth AES Key is null.");
                } else {
                    this.storeFoundatationAuth_AESKey_InPreference(this._foundationAuth_AES_key);
                }
            }
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        } else {
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        }
        return v0_7;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common():


    public static byte[] generateNewAESKey_Common()
    {
        try {
            IllegalArgumentException v0_4 = javax.crypto.KeyGenerator.getInstance("AES");
            v0_4.init(128);
            return v0_4.generateKey().getEncoded();
        } catch (IllegalArgumentException v0_1) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.TAG, v0_1.getMessage(), v0_1);
            throw new IllegalArgumentException("Auth Foundation : Auth AESKeyMgr : Failed to generate an AES key");
        }
    }

Method javax.crypto.KeyGenerator.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/auth/AdobeUXAuthManagerRestricted;', 'openContinuableAuthenticationEvent', '(Lcom/adobe/creativesdk/foundation/auth/AdobeAuthSessionLauncher;)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'openContinuableAuthenticationEvent', '(Lcom/adobe/creativesdk/foundation/auth/AdobeAuthSessionLauncher;)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'getFoundationAuthAESKey', '()[B'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'generateNewAESKey_Common', '()[B'), ('Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.auth.AdobeUXAuthManagerRestricted.openContinuableAuthenticationEvent():


    public void openContinuableAuthenticationEvent(com.adobe.creativesdk.foundation.auth.AdobeAuthSessionLauncher p2)
    {
        this._authManagerImpl.openContinuableAuthenticationEvent(p2);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.openContinuableAuthenticationEvent():


    public void openContinuableAuthenticationEvent(com.adobe.creativesdk.foundation.auth.AdobeAuthSessionLauncher p6)
    {
        this.setCurrentLauncherObject(p6);
        android.content.Context v0_2 = this._sessionLauncher.getLauncherActivity();
        String v1_4 = this._sessionLauncher.getContinuableErrorCode();
        if ((v1_4 != null) && ((v1_4 == com.adobe.creativesdk.foundation.auth.AdobeAuthErrorCode.ADOBE_AUTH_ERROR_CODE_AGE_VERIFICATION) || ((v1_4 == com.adobe.creativesdk.foundation.auth.AdobeAuthErrorCode.ADOBE_AUTH_ERROR_CODE_UPDATED_TOU) || (v1_4 == com.adobe.creativesdk.foundation.auth.AdobeAuthErrorCode.ADOBE_AUTH_ERROR_CODE_EMAIL_VERIFICATION)))) {
            com.adobe.creativesdk.foundation.auth.AdobeAuthErrorCode v2_2 = com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance();
            if (v1_4.toString().equals(v2_2.getContiuableEventErrorCode())) {
                String v1_2 = v2_2.getContiuableEventJumpURL();
                if (v0_2 == null) {
                    v0_2 = this._sessionLauncher.getLauncherContext();
                }
                android.content.Intent v3_2 = new android.content.Intent(v0_2, com.adobe.creativesdk.foundation.internal.auth.AdobeAuthContinuableEventActivity);
                if (v1_2 != null) {
                    v3_2.putExtra(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthConstants.JUMP_URL, v1_2);
                }
                v0_2.startActivity(v3_2);
                v2_2.clearContinuableEventInfo();
            }
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getFoundationAuthAESKey():


    public byte[] getFoundationAuthAESKey()
    {
        IllegalArgumentException v0_7;
        if (this._foundationAuth_AES_key == null) {
            this._foundationAuth_AES_key = this.getFoundation_AESKey_fromPreference();
            if (this._foundationAuth_AES_key == null) {
                this._foundationAuth_AES_key = com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common();
                if (this._foundationAuth_AES_key == null) {
                    throw new IllegalArgumentException("CSDK Foundation Auth AES Key is null.");
                } else {
                    this.storeFoundatationAuth_AESKey_InPreference(this._foundationAuth_AES_key);
                }
            }
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        } else {
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        }
        return v0_7;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common():


    public static byte[] generateNewAESKey_Common()
    {
        try {
            IllegalArgumentException v0_4 = javax.crypto.KeyGenerator.getInstance("AES");
            v0_4.init(128);
            return v0_4.generateKey().getEncoded();
        } catch (IllegalArgumentException v0_1) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.TAG, v0_1.getMessage(), v0_1);
            throw new IllegalArgumentException("Auth Foundation : Auth AESKeyMgr : Failed to generate an AES key");
        }
    }

Method javax.crypto.KeyGenerator.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/auth/AdobeUXAuthManagerRestricted;', 'openContinuableAuthenticationEvent', '(Lcom/adobe/creativesdk/foundation/auth/AdobeAuthSessionLauncher;)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'openContinuableAuthenticationEvent', '(Lcom/adobe/creativesdk/foundation/auth/AdobeAuthSessionLauncher;)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'setCipherKey', '([B)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', 'createInstance', '([B)Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', '<init>', '([B)V'), ('Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.auth.AdobeUXAuthManagerRestricted.openContinuableAuthenticationEvent():


    public void openContinuableAuthenticationEvent(com.adobe.creativesdk.foundation.auth.AdobeAuthSessionLauncher p2)
    {
        this._authManagerImpl.openContinuableAuthenticationEvent(p2);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.openContinuableAuthenticationEvent():


    public void openContinuableAuthenticationEvent(com.adobe.creativesdk.foundation.auth.AdobeAuthSessionLauncher p6)
    {
        this.setCurrentLauncherObject(p6);
        android.content.Context v0_2 = this._sessionLauncher.getLauncherActivity();
        String v1_4 = this._sessionLauncher.getContinuableErrorCode();
        if ((v1_4 != null) && ((v1_4 == com.adobe.creativesdk.foundation.auth.AdobeAuthErrorCode.ADOBE_AUTH_ERROR_CODE_AGE_VERIFICATION) || ((v1_4 == com.adobe.creativesdk.foundation.auth.AdobeAuthErrorCode.ADOBE_AUTH_ERROR_CODE_UPDATED_TOU) || (v1_4 == com.adobe.creativesdk.foundation.auth.AdobeAuthErrorCode.ADOBE_AUTH_ERROR_CODE_EMAIL_VERIFICATION)))) {
            com.adobe.creativesdk.foundation.auth.AdobeAuthErrorCode v2_2 = com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance();
            if (v1_4.toString().equals(v2_2.getContiuableEventErrorCode())) {
                String v1_2 = v2_2.getContiuableEventJumpURL();
                if (v0_2 == null) {
                    v0_2 = this._sessionLauncher.getLauncherContext();
                }
                android.content.Intent v3_2 = new android.content.Intent(v0_2, com.adobe.creativesdk.foundation.internal.auth.AdobeAuthContinuableEventActivity);
                if (v1_2 != null) {
                    v3_2.putExtra(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthConstants.JUMP_URL, v1_2);
                }
                v0_2.startActivity(v3_2);
                v2_2.clearContinuableEventInfo();
            }
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.setCipherKey():


    public void setCipherKey(byte[] p5)
    {
        if (p5 != null) {
            IllegalArgumentException v0_3 = new byte[p5.length];
            System.arraycopy(p5, 0, v0_3, 0, p5.length);
            try {
                this.cipher = com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance(v0_3);
            } catch (IllegalArgumentException v0_5) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, this.getClass().getSimpleName(), v0_5.getMessage(), v0_5);
                throw new IllegalArgumentException("CSDK Foundation Auth : Cannot create Cipher Instance !");
            }
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance():


    static com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher createInstance(byte[] p1)
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance == null) {
            com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance = new com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher(p1);
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.<init>():


    public AdobeCommonCipher(byte[] p4)
    {
        javax.crypto.spec.SecretKeySpec v0_1 = new javax.crypto.spec.SecretKeySpec(p4, "AES");
        this.encryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.encryptionCipher.init(1, v0_1);
        this.decryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.decryptionCipher.init(2, v0_1);
        return;
    }

Method javax.crypto.Cipher.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/auth/AdobeUXAuthManagerRestricted;', 'promptForSignUp', '(Lcom/adobe/creativesdk/foundation/auth/AdobeAuthSessionLauncher;)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'promptForSignUp', '(Lcom/adobe/creativesdk/foundation/auth/AdobeAuthSessionLauncher;)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'getIMSService', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'setCipherKey', '([B)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', 'createInstance', '([B)Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', '<init>', '([B)V'), ('Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.auth.AdobeUXAuthManagerRestricted.promptForSignUp():


    public void promptForSignUp(com.adobe.creativesdk.foundation.auth.AdobeAuthSessionLauncher p2)
    {
        this._authManagerImpl.promptForSignUp(p2);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.promptForSignUp():


    public void promptForSignUp(com.adobe.creativesdk.foundation.auth.AdobeAuthSessionLauncher p7)
    {
        com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsSDKReporter.trackRegStep("Signup Start", 0);
        if (p7 != null) {
            this.setAuthenticationParametersWithClientID(p7.getScopesList());
            if (p7.getRedirectURI() != null) {
                this.setRedirectURI(p7.getRedirectURI());
            }
        }
        this.setCurrentLauncherObject(p7);
        com.adobe.creativesdk.foundation.auth.AdobeAuthException v0_2 = new com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSAuthEvent(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Type.AdobeEventTypeAppSignup.getValue());
        v0_2.trackService(this.getIMSService().getImsHost(), this.getIMSService().getLoginAPI(), this.getIMSService().getLoginAPIVersion());
        if (this.getApplicationContext() != null) {
            if ((this.getUserProfile() == null) || (this.getUserProfile().getAdobeID() == null)) {
                com.adobe.creativesdk.foundation.auth.AdobeAuthErrorCode v1_9 = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager$4(this, v0_2);
                this.launchSignInActivity(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthConstants.AUTH_SESSION_TYPE_SIGN_UP);
                this.setSignInClient(v1_9);
            } else {
                com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsSDKReporter.trackRegStep("Signup Failure", this.getUserProfile().getAdobeID());
                this.postLoginError(1, new com.adobe.creativesdk.foundation.auth.AdobeAuthException(com.adobe.creativesdk.foundation.auth.AdobeAuthErrorCode.ADOBE_AUTH_ERROR_CODE_UNKNOWN_ERROR));
            }
        } else {
            com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsSDKReporter.trackRegStep("Signup Failure", 0);
            this.postLoginError(1, new com.adobe.creativesdk.foundation.auth.AdobeAuthException(com.adobe.creativesdk.foundation.auth.AdobeAuthErrorCode.ADOBE_AUTH_ERROR_AUTH_MODULE_NOT_INITIALIZED));
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.getIMSService():


    private com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getIMSService()
    {
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance();
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.setCipherKey():


    public void setCipherKey(byte[] p5)
    {
        if (p5 != null) {
            IllegalArgumentException v0_3 = new byte[p5.length];
            System.arraycopy(p5, 0, v0_3, 0, p5.length);
            try {
                this.cipher = com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance(v0_3);
            } catch (IllegalArgumentException v0_5) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, this.getClass().getSimpleName(), v0_5.getMessage(), v0_5);
                throw new IllegalArgumentException("CSDK Foundation Auth : Cannot create Cipher Instance !");
            }
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance():


    static com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher createInstance(byte[] p1)
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance == null) {
            com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance = new com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher(p1);
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.<init>():


    public AdobeCommonCipher(byte[] p4)
    {
        javax.crypto.spec.SecretKeySpec v0_1 = new javax.crypto.spec.SecretKeySpec(p4, "AES");
        this.encryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.encryptionCipher.init(1, v0_1);
        this.decryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.decryptionCipher.init(2, v0_1);
        return;
    }

Method javax.crypto.Cipher.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/auth/AdobeUXAuthManagerRestricted;', 'promptForSignUp', '(Lcom/adobe/creativesdk/foundation/auth/AdobeAuthSessionLauncher;)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'promptForSignUp', '(Lcom/adobe/creativesdk/foundation/auth/AdobeAuthSessionLauncher;)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'getIMSService', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'getFoundationAuthAESKey', '()[B'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'generateNewAESKey_Common', '()[B'), ('Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.auth.AdobeUXAuthManagerRestricted.promptForSignUp():


    public void promptForSignUp(com.adobe.creativesdk.foundation.auth.AdobeAuthSessionLauncher p2)
    {
        this._authManagerImpl.promptForSignUp(p2);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.promptForSignUp():


    public void promptForSignUp(com.adobe.creativesdk.foundation.auth.AdobeAuthSessionLauncher p7)
    {
        com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsSDKReporter.trackRegStep("Signup Start", 0);
        if (p7 != null) {
            this.setAuthenticationParametersWithClientID(p7.getScopesList());
            if (p7.getRedirectURI() != null) {
                this.setRedirectURI(p7.getRedirectURI());
            }
        }
        this.setCurrentLauncherObject(p7);
        com.adobe.creativesdk.foundation.auth.AdobeAuthException v0_2 = new com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSAuthEvent(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Type.AdobeEventTypeAppSignup.getValue());
        v0_2.trackService(this.getIMSService().getImsHost(), this.getIMSService().getLoginAPI(), this.getIMSService().getLoginAPIVersion());
        if (this.getApplicationContext() != null) {
            if ((this.getUserProfile() == null) || (this.getUserProfile().getAdobeID() == null)) {
                com.adobe.creativesdk.foundation.auth.AdobeAuthErrorCode v1_9 = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager$4(this, v0_2);
                this.launchSignInActivity(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthConstants.AUTH_SESSION_TYPE_SIGN_UP);
                this.setSignInClient(v1_9);
            } else {
                com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsSDKReporter.trackRegStep("Signup Failure", this.getUserProfile().getAdobeID());
                this.postLoginError(1, new com.adobe.creativesdk.foundation.auth.AdobeAuthException(com.adobe.creativesdk.foundation.auth.AdobeAuthErrorCode.ADOBE_AUTH_ERROR_CODE_UNKNOWN_ERROR));
            }
        } else {
            com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsSDKReporter.trackRegStep("Signup Failure", 0);
            this.postLoginError(1, new com.adobe.creativesdk.foundation.auth.AdobeAuthException(com.adobe.creativesdk.foundation.auth.AdobeAuthErrorCode.ADOBE_AUTH_ERROR_AUTH_MODULE_NOT_INITIALIZED));
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.getIMSService():


    private com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getIMSService()
    {
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance();
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getFoundationAuthAESKey():


    public byte[] getFoundationAuthAESKey()
    {
        IllegalArgumentException v0_7;
        if (this._foundationAuth_AES_key == null) {
            this._foundationAuth_AES_key = this.getFoundation_AESKey_fromPreference();
            if (this._foundationAuth_AES_key == null) {
                this._foundationAuth_AES_key = com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common();
                if (this._foundationAuth_AES_key == null) {
                    throw new IllegalArgumentException("CSDK Foundation Auth AES Key is null.");
                } else {
                    this.storeFoundatationAuth_AESKey_InPreference(this._foundationAuth_AES_key);
                }
            }
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        } else {
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        }
        return v0_7;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common():


    public static byte[] generateNewAESKey_Common()
    {
        try {
            IllegalArgumentException v0_4 = javax.crypto.KeyGenerator.getInstance("AES");
            v0_4.init(128);
            return v0_4.generateKey().getEncoded();
        } catch (IllegalArgumentException v0_1) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.TAG, v0_1.getMessage(), v0_1);
            throw new IllegalArgumentException("Auth Foundation : Auth AESKeyMgr : Failed to generate an AES key");
        }
    }

Method javax.crypto.KeyGenerator.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/auth/AdobeUXAuthManagerRestricted;', 'setAdditionalAuthenticationParameters', '(Ljava/lang/String; Ljava/lang/String; Ljava/lang/String; [Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthOptions; [Ljava/lang/String;)V'), ('Lcom/adobe/creativesdk/foundation/adobeinternal/auth/AdobeUXAuthManagerRestricted;', 'setAdditionalAuthenticationParameters', '(Ljava/lang/String; Ljava/lang/String; Ljava/lang/String; [Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthOptions; [Ljava/lang/String; [B)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'setAuthenticationParameters', '(Ljava/lang/String; Ljava/lang/String; Ljava/lang/String; Ljava/lang/String; Ljava/lang/String; [Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthOptions; [Ljava/lang/String; [B)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'getFoundationAuthAESKey', '()[B'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'generateNewAESKey_Common', '()[B'), ('Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.auth.AdobeUXAuthManagerRestricted.setAdditionalAuthenticationParameters():


    public void setAdditionalAuthenticationParameters(String p8, String p9, String p10, com.adobe.creativesdk.foundation.internal.auth.AdobeAuthOptions[] p11, String[] p12)
    {
        try {
            this.setAdditionalAuthenticationParameters(p8, p9, p10, p11, p12, 0);
        } catch (java.security.InvalidKeyException v0_2) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.WARN, com.adobe.creativesdk.foundation.adobeinternal.auth.AdobeUXAuthManagerRestricted.getName(), "Unable to create cipher with default key", v0_2);
        } catch (java.security.InvalidKeyException v0_1) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.WARN, com.adobe.creativesdk.foundation.adobeinternal.auth.AdobeUXAuthManagerRestricted.getName(), "Unable to create cipher with default key", v0_1);
        } catch (java.security.InvalidKeyException v0_3) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.WARN, com.adobe.creativesdk.foundation.adobeinternal.auth.AdobeUXAuthManagerRestricted.getName(), "Unable to create cipher with default key", v0_3);
        }
        return;
    }

Method com.adobe.creativesdk.foundation.adobeinternal.auth.AdobeUXAuthManagerRestricted.setAdditionalAuthenticationParameters():


    private void setAdditionalAuthenticationParameters(String p10, String p11, String p12, com.adobe.creativesdk.foundation.internal.auth.AdobeAuthOptions[] p13, String[] p14, byte[] p15)
    {
        this._authManagerImpl.setAuthenticationParameters(com.adobe.creativesdk.foundation.AdobeCSDKFoundation.getClientId(), com.adobe.creativesdk.foundation.AdobeCSDKFoundation.getClientSecret(), p10, p11, p12, p13, p14, p15);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.setAuthenticationParameters():


    public void setAuthenticationParameters(String p7, String p8, String p9, String p10, String p11, com.adobe.creativesdk.foundation.internal.auth.AdobeAuthOptions[] p12, String[] p13, byte[] p14)
    {
        if (this.isInitialized()) {
            com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService v0_1 = com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance();
            v0_1.setCipherKey(p14);
            v0_1.setAuthenticationParameters(p7, p8, p9, p10, p11);
            v0_1.setGrantType(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIMSGrantType.AdobeAuthIMSGrantTypeDevice);
            if (!this._ignoreCceScope) {
                int v1_3;
                if (p13 == null) {
                    v1_3 = new String[1];
                    v1_3[0] = "sao.cce_private";
                } else {
                    int v2_1 = new String[(p13.length + 1)];
                    int v1_6 = 0;
                    while (v1_6 < p13.length) {
                        v2_1[v1_6] = p13[v1_6];
                        v1_6++;
                    }
                    v2_1[p13.length] = "sao.cce_private";
                    v1_3 = v2_1;
                }
                this._hasPrivateCloudScope = 1;
                v0_1.setAdditionalClientScopes(v1_3);
            } else {
                this._hasPrivateCloudScope = 0;
                v0_1.setAdditionalClientScopes(p13);
            }
            this.mAuthOptions = p12;
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getFoundationAuthAESKey():


    public byte[] getFoundationAuthAESKey()
    {
        IllegalArgumentException v0_7;
        if (this._foundationAuth_AES_key == null) {
            this._foundationAuth_AES_key = this.getFoundation_AESKey_fromPreference();
            if (this._foundationAuth_AES_key == null) {
                this._foundationAuth_AES_key = com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common();
                if (this._foundationAuth_AES_key == null) {
                    throw new IllegalArgumentException("CSDK Foundation Auth AES Key is null.");
                } else {
                    this.storeFoundatationAuth_AESKey_InPreference(this._foundationAuth_AES_key);
                }
            }
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        } else {
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        }
        return v0_7;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common():


    public static byte[] generateNewAESKey_Common()
    {
        try {
            IllegalArgumentException v0_4 = javax.crypto.KeyGenerator.getInstance("AES");
            v0_4.init(128);
            return v0_4.generateKey().getEncoded();
        } catch (IllegalArgumentException v0_1) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.TAG, v0_1.getMessage(), v0_1);
            throw new IllegalArgumentException("Auth Foundation : Auth AESKeyMgr : Failed to generate an AES key");
        }
    }

Method javax.crypto.KeyGenerator.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/auth/AdobeUXAuthManagerRestricted;', 'setAuthenticationEnvironment', '(Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIMSEnvironment;)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'setAuthenticationEnvironment', '(Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIMSEnvironment;)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'getIMSService', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'setCipherKey', '([B)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', 'createInstance', '([B)Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', '<init>', '([B)V'), ('Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.auth.AdobeUXAuthManagerRestricted.setAuthenticationEnvironment():


    public void setAuthenticationEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIMSEnvironment p2)
    {
        this._authManagerImpl.setAuthenticationEnvironment(p2);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.setAuthenticationEnvironment():


    public void setAuthenticationEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIMSEnvironment p2)
    {
        if (this.isInitialized()) {
            this.getIMSService().setEnvironment(p2);
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.getIMSService():


    private com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getIMSService()
    {
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance();
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.setCipherKey():


    public void setCipherKey(byte[] p5)
    {
        if (p5 != null) {
            IllegalArgumentException v0_3 = new byte[p5.length];
            System.arraycopy(p5, 0, v0_3, 0, p5.length);
            try {
                this.cipher = com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance(v0_3);
            } catch (IllegalArgumentException v0_5) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, this.getClass().getSimpleName(), v0_5.getMessage(), v0_5);
                throw new IllegalArgumentException("CSDK Foundation Auth : Cannot create Cipher Instance !");
            }
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance():


    static com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher createInstance(byte[] p1)
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance == null) {
            com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance = new com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher(p1);
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.<init>():


    public AdobeCommonCipher(byte[] p4)
    {
        javax.crypto.spec.SecretKeySpec v0_1 = new javax.crypto.spec.SecretKeySpec(p4, "AES");
        this.encryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.encryptionCipher.init(1, v0_1);
        this.decryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.decryptionCipher.init(2, v0_1);
        return;
    }

Method javax.crypto.Cipher.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/auth/AdobeUXAuthManagerRestricted;', 'setAuthenticationEnvironment', '(Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIMSEnvironment;)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'setAuthenticationEnvironment', '(Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIMSEnvironment;)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'getIMSService', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'getFoundationAuthAESKey', '()[B'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'generateNewAESKey_Common', '()[B'), ('Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.auth.AdobeUXAuthManagerRestricted.setAuthenticationEnvironment():


    public void setAuthenticationEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIMSEnvironment p2)
    {
        this._authManagerImpl.setAuthenticationEnvironment(p2);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.setAuthenticationEnvironment():


    public void setAuthenticationEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIMSEnvironment p2)
    {
        if (this.isInitialized()) {
            this.getIMSService().setEnvironment(p2);
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.getIMSService():


    private com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getIMSService()
    {
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance();
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getFoundationAuthAESKey():


    public byte[] getFoundationAuthAESKey()
    {
        IllegalArgumentException v0_7;
        if (this._foundationAuth_AES_key == null) {
            this._foundationAuth_AES_key = this.getFoundation_AESKey_fromPreference();
            if (this._foundationAuth_AES_key == null) {
                this._foundationAuth_AES_key = com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common();
                if (this._foundationAuth_AES_key == null) {
                    throw new IllegalArgumentException("CSDK Foundation Auth AES Key is null.");
                } else {
                    this.storeFoundatationAuth_AESKey_InPreference(this._foundationAuth_AES_key);
                }
            }
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        } else {
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        }
        return v0_7;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common():


    public static byte[] generateNewAESKey_Common()
    {
        try {
            IllegalArgumentException v0_4 = javax.crypto.KeyGenerator.getInstance("AES");
            v0_4.init(128);
            return v0_4.generateKey().getEncoded();
        } catch (IllegalArgumentException v0_1) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.TAG, v0_1.getMessage(), v0_1);
            throw new IllegalArgumentException("Auth Foundation : Auth AESKeyMgr : Failed to generate an AES key");
        }
    }

Method javax.crypto.KeyGenerator.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/auth/AdobeUXAuthManagerRestricted;', 'socialLogin', '(Lcom/adobe/creativesdk/foundation/adobeinternal/auth/AdobeAuthSocialSessionLauncher;)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'socialLogin', '(Lcom/adobe/creativesdk/foundation/adobeinternal/auth/AdobeAuthSocialSessionLauncher;)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'getIMSService', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'setCipherKey', '([B)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', 'createInstance', '([B)Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', '<init>', '([B)V'), ('Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.auth.AdobeUXAuthManagerRestricted.socialLogin():


    public void socialLogin(com.adobe.creativesdk.foundation.adobeinternal.auth.AdobeAuthSocialSessionLauncher p2)
    {
        this._authManagerImpl.socialLogin(p2);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.socialLogin():


    public void socialLogin(com.adobe.creativesdk.foundation.adobeinternal.auth.AdobeAuthSocialSessionLauncher p4)
    {
        this.setCurrentLauncherObject(p4);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager$2 v1_3 = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager$2(this, p4, new com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSAuthEvent(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Type.AdobeEventTypeAppLogin.getValue()));
        this.setSignInClient(v1_3);
        switch (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager$8.$SwitchMap$com$adobe$creativesdk$foundation$adobeinternal$auth$AdobeSocialLoginParams$SocialProvider[p4.getSocialLoginParams().getProvider().ordinal()]) {
            case 1:
                this.getIMSService().loginWithFacebookToken(((com.adobe.creativesdk.foundation.adobeinternal.auth.AdobeFacebookLoginParams) p4.getSocialLoginParams()).getIdp_token(), v1_3);
                break;
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.getIMSService():


    private com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getIMSService()
    {
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance();
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.setCipherKey():


    public void setCipherKey(byte[] p5)
    {
        if (p5 != null) {
            IllegalArgumentException v0_3 = new byte[p5.length];
            System.arraycopy(p5, 0, v0_3, 0, p5.length);
            try {
                this.cipher = com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance(v0_3);
            } catch (IllegalArgumentException v0_5) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, this.getClass().getSimpleName(), v0_5.getMessage(), v0_5);
                throw new IllegalArgumentException("CSDK Foundation Auth : Cannot create Cipher Instance !");
            }
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance():


    static com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher createInstance(byte[] p1)
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance == null) {
            com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance = new com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher(p1);
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.<init>():


    public AdobeCommonCipher(byte[] p4)
    {
        javax.crypto.spec.SecretKeySpec v0_1 = new javax.crypto.spec.SecretKeySpec(p4, "AES");
        this.encryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.encryptionCipher.init(1, v0_1);
        this.decryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.decryptionCipher.init(2, v0_1);
        return;
    }

Method javax.crypto.Cipher.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/auth/AdobeUXAuthManagerRestricted;', 'socialLogin', '(Lcom/adobe/creativesdk/foundation/adobeinternal/auth/AdobeAuthSocialSessionLauncher;)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'socialLogin', '(Lcom/adobe/creativesdk/foundation/adobeinternal/auth/AdobeAuthSocialSessionLauncher;)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'getIMSService', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'getFoundationAuthAESKey', '()[B'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'generateNewAESKey_Common', '()[B'), ('Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.auth.AdobeUXAuthManagerRestricted.socialLogin():


    public void socialLogin(com.adobe.creativesdk.foundation.adobeinternal.auth.AdobeAuthSocialSessionLauncher p2)
    {
        this._authManagerImpl.socialLogin(p2);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.socialLogin():


    public void socialLogin(com.adobe.creativesdk.foundation.adobeinternal.auth.AdobeAuthSocialSessionLauncher p4)
    {
        this.setCurrentLauncherObject(p4);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager$2 v1_3 = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager$2(this, p4, new com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSAuthEvent(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Type.AdobeEventTypeAppLogin.getValue()));
        this.setSignInClient(v1_3);
        switch (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager$8.$SwitchMap$com$adobe$creativesdk$foundation$adobeinternal$auth$AdobeSocialLoginParams$SocialProvider[p4.getSocialLoginParams().getProvider().ordinal()]) {
            case 1:
                this.getIMSService().loginWithFacebookToken(((com.adobe.creativesdk.foundation.adobeinternal.auth.AdobeFacebookLoginParams) p4.getSocialLoginParams()).getIdp_token(), v1_3);
                break;
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.getIMSService():


    private com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getIMSService()
    {
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance();
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getFoundationAuthAESKey():


    public byte[] getFoundationAuthAESKey()
    {
        IllegalArgumentException v0_7;
        if (this._foundationAuth_AES_key == null) {
            this._foundationAuth_AES_key = this.getFoundation_AESKey_fromPreference();
            if (this._foundationAuth_AES_key == null) {
                this._foundationAuth_AES_key = com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common();
                if (this._foundationAuth_AES_key == null) {
                    throw new IllegalArgumentException("CSDK Foundation Auth AES Key is null.");
                } else {
                    this.storeFoundatationAuth_AESKey_InPreference(this._foundationAuth_AES_key);
                }
            }
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        } else {
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        }
        return v0_7;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common():


    public static byte[] generateNewAESKey_Common()
    {
        try {
            IllegalArgumentException v0_4 = javax.crypto.KeyGenerator.getInstance("AES");
            v0_4.init(128);
            return v0_4.generateKey().getEncoded();
        } catch (IllegalArgumentException v0_1) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.TAG, v0_1.getMessage(), v0_1);
            throw new IllegalArgumentException("Auth Foundation : Auth AESKeyMgr : Failed to generate an AES key");
        }
    }

Method javax.crypto.KeyGenerator.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/auth/AdobeUXAuthManagerRestricted;', 'switchAccount', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'switchAccount', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'getIMSService', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'setCipherKey', '([B)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', 'createInstance', '([B)Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', '<init>', '([B)V'), ('Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.auth.AdobeUXAuthManagerRestricted.switchAccount():


    public void switchAccount()
    {
        this._authManagerImpl.switchAccount();
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.switchAccount():


    public void switchAccount()
    {
        this.getIMSService().switchAccount();
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.getIMSService():


    private com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getIMSService()
    {
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance();
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.setCipherKey():


    public void setCipherKey(byte[] p5)
    {
        if (p5 != null) {
            IllegalArgumentException v0_3 = new byte[p5.length];
            System.arraycopy(p5, 0, v0_3, 0, p5.length);
            try {
                this.cipher = com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance(v0_3);
            } catch (IllegalArgumentException v0_5) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, this.getClass().getSimpleName(), v0_5.getMessage(), v0_5);
                throw new IllegalArgumentException("CSDK Foundation Auth : Cannot create Cipher Instance !");
            }
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance():


    static com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher createInstance(byte[] p1)
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance == null) {
            com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance = new com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher(p1);
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.<init>():


    public AdobeCommonCipher(byte[] p4)
    {
        javax.crypto.spec.SecretKeySpec v0_1 = new javax.crypto.spec.SecretKeySpec(p4, "AES");
        this.encryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.encryptionCipher.init(1, v0_1);
        this.decryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.decryptionCipher.init(2, v0_1);
        return;
    }

Method javax.crypto.Cipher.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/auth/AdobeUXAuthManagerRestricted;', 'switchAccount', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'switchAccount', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'getIMSService', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'getFoundationAuthAESKey', '()[B'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'generateNewAESKey_Common', '()[B'), ('Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.auth.AdobeUXAuthManagerRestricted.switchAccount():


    public void switchAccount()
    {
        this._authManagerImpl.switchAccount();
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.switchAccount():


    public void switchAccount()
    {
        this.getIMSService().switchAccount();
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.getIMSService():


    private com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getIMSService()
    {
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance();
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getFoundationAuthAESKey():


    public byte[] getFoundationAuthAESKey()
    {
        IllegalArgumentException v0_7;
        if (this._foundationAuth_AES_key == null) {
            this._foundationAuth_AES_key = this.getFoundation_AESKey_fromPreference();
            if (this._foundationAuth_AES_key == null) {
                this._foundationAuth_AES_key = com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common();
                if (this._foundationAuth_AES_key == null) {
                    throw new IllegalArgumentException("CSDK Foundation Auth AES Key is null.");
                } else {
                    this.storeFoundatationAuth_AESKey_InPreference(this._foundationAuth_AES_key);
                }
            }
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        } else {
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        }
        return v0_7;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common():


    public static byte[] generateNewAESKey_Common()
    {
        try {
            IllegalArgumentException v0_4 = javax.crypto.KeyGenerator.getInstance("AES");
            v0_4.init(128);
            return v0_4.generateKey().getEncoded();
        } catch (IllegalArgumentException v0_1) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.TAG, v0_1.getMessage(), v0_1);
            throw new IllegalArgumentException("Auth Foundation : Auth AESKeyMgr : Failed to generate an AES key");
        }
    }

Method javax.crypto.KeyGenerator.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/auth/service/AdobeAuthService$1;', 'getUserProfile', '()Lcom/adobe/creativesdk/foundation/adobeinternal/auth/service/AdobeAuthServiceUserProfile;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'getUserProfile', '()Lcom/adobe/creativesdk/foundation/auth/AdobeAuthUserProfile;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'isAuthenticated', '()Z'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'setCipherKey', '([B)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', 'createInstance', '([B)Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', '<init>', '([B)V'), ('Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.auth.service.AdobeAuthService$1.getUserProfile():


    public com.adobe.creativesdk.foundation.adobeinternal.auth.service.AdobeAuthServiceUserProfile getUserProfile()
    {
        return new com.adobe.creativesdk.foundation.adobeinternal.auth.service.AdobeAuthServiceUserProfile(com.adobe.creativesdk.foundation.adobeinternal.auth.service.AdobeAuthService.access$000(this.this$0).getUserProfile());
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.getUserProfile():


    public com.adobe.creativesdk.foundation.auth.AdobeAuthUserProfile getUserProfile()
    {
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthUserProfileImpl v0_17;
        int v1_0 = 1;
        if ((this.isInitialized()) && (this.isAuthenticated())) {
            this.mUserProfile = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthUserProfileImpl();
            String v3_0 = com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance();
            com.adobe.creativesdk.foundation.internal.auth.AdobeAuthUserProfileImpl v0_1 = this.getIMSService().getAdobeID();
            if (v0_1 != null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthUserProfileImpl v0_11;
                this.mUserProfile.setAdobeID(v0_1);
                this.mUserProfile.setDisplayName(v3_0.getDisplayName());
                this.mUserProfile.setCountrycode(v3_0.getCountryCode());
                this.mUserProfile.setFirstName(v3_0.getFirstName());
                this.mUserProfile.setLastName(v3_0.getLastName());
                this.mUserProfile.setEmail(v3_0.getEmailAddress());
                if ((v3_0.getEmailVerified() == null) || (!v3_0.getEmailVerified().equals("true"))) {
                    v0_11 = 0;
                } else {
                    v0_11 = 1;
                }
                this.mUserProfile.setEmailVerified(v0_11);
                if ((v3_0.getIsEnterPrise() == null) || (!v3_0.getIsEnterPrise().equals("true"))) {
                    v1_0 = 0;
                }
                this.mUserProfile.setEnterprise(v1_0);
                v0_17 = this.mUserProfile;
            } else {
                throw new RuntimeException("User profile not available. But user Authenticated");
            }
        } else {
            v0_17 = 0;
        }
        return v0_17;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.isAuthenticated():


    public boolean isAuthenticated()
    {
        int v0 = 0;
        if (this.isInitialized()) {
            String v1_2 = com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance().getAdobeID();
            if (((this.hasValidAccessToken()) || (this.canRefreshAccessToken())) && (v1_2 != null)) {
                v0 = 1;
            }
        }
        return v0;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.setCipherKey():


    public void setCipherKey(byte[] p5)
    {
        if (p5 != null) {
            IllegalArgumentException v0_3 = new byte[p5.length];
            System.arraycopy(p5, 0, v0_3, 0, p5.length);
            try {
                this.cipher = com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance(v0_3);
            } catch (IllegalArgumentException v0_5) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, this.getClass().getSimpleName(), v0_5.getMessage(), v0_5);
                throw new IllegalArgumentException("CSDK Foundation Auth : Cannot create Cipher Instance !");
            }
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance():


    static com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher createInstance(byte[] p1)
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance == null) {
            com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance = new com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher(p1);
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.<init>():


    public AdobeCommonCipher(byte[] p4)
    {
        javax.crypto.spec.SecretKeySpec v0_1 = new javax.crypto.spec.SecretKeySpec(p4, "AES");
        this.encryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.encryptionCipher.init(1, v0_1);
        this.decryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.decryptionCipher.init(2, v0_1);
        return;
    }

Method javax.crypto.Cipher.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/auth/service/AdobeAuthService$1;', 'getUserProfile', '()Lcom/adobe/creativesdk/foundation/adobeinternal/auth/service/AdobeAuthServiceUserProfile;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'getUserProfile', '()Lcom/adobe/creativesdk/foundation/auth/AdobeAuthUserProfile;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'isAuthenticated', '()Z'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'getFoundationAuthAESKey', '()[B'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'generateNewAESKey_Common', '()[B'), ('Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.auth.service.AdobeAuthService$1.getUserProfile():


    public com.adobe.creativesdk.foundation.adobeinternal.auth.service.AdobeAuthServiceUserProfile getUserProfile()
    {
        return new com.adobe.creativesdk.foundation.adobeinternal.auth.service.AdobeAuthServiceUserProfile(com.adobe.creativesdk.foundation.adobeinternal.auth.service.AdobeAuthService.access$000(this.this$0).getUserProfile());
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.getUserProfile():


    public com.adobe.creativesdk.foundation.auth.AdobeAuthUserProfile getUserProfile()
    {
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthUserProfileImpl v0_17;
        int v1_0 = 1;
        if ((this.isInitialized()) && (this.isAuthenticated())) {
            this.mUserProfile = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthUserProfileImpl();
            String v3_0 = com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance();
            com.adobe.creativesdk.foundation.internal.auth.AdobeAuthUserProfileImpl v0_1 = this.getIMSService().getAdobeID();
            if (v0_1 != null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthUserProfileImpl v0_11;
                this.mUserProfile.setAdobeID(v0_1);
                this.mUserProfile.setDisplayName(v3_0.getDisplayName());
                this.mUserProfile.setCountrycode(v3_0.getCountryCode());
                this.mUserProfile.setFirstName(v3_0.getFirstName());
                this.mUserProfile.setLastName(v3_0.getLastName());
                this.mUserProfile.setEmail(v3_0.getEmailAddress());
                if ((v3_0.getEmailVerified() == null) || (!v3_0.getEmailVerified().equals("true"))) {
                    v0_11 = 0;
                } else {
                    v0_11 = 1;
                }
                this.mUserProfile.setEmailVerified(v0_11);
                if ((v3_0.getIsEnterPrise() == null) || (!v3_0.getIsEnterPrise().equals("true"))) {
                    v1_0 = 0;
                }
                this.mUserProfile.setEnterprise(v1_0);
                v0_17 = this.mUserProfile;
            } else {
                throw new RuntimeException("User profile not available. But user Authenticated");
            }
        } else {
            v0_17 = 0;
        }
        return v0_17;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.isAuthenticated():


    public boolean isAuthenticated()
    {
        int v0 = 0;
        if (this.isInitialized()) {
            String v1_2 = com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance().getAdobeID();
            if (((this.hasValidAccessToken()) || (this.canRefreshAccessToken())) && (v1_2 != null)) {
                v0 = 1;
            }
        }
        return v0;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getFoundationAuthAESKey():


    public byte[] getFoundationAuthAESKey()
    {
        IllegalArgumentException v0_7;
        if (this._foundationAuth_AES_key == null) {
            this._foundationAuth_AES_key = this.getFoundation_AESKey_fromPreference();
            if (this._foundationAuth_AES_key == null) {
                this._foundationAuth_AES_key = com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common();
                if (this._foundationAuth_AES_key == null) {
                    throw new IllegalArgumentException("CSDK Foundation Auth AES Key is null.");
                } else {
                    this.storeFoundatationAuth_AESKey_InPreference(this._foundationAuth_AES_key);
                }
            }
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        } else {
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        }
        return v0_7;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common():


    public static byte[] generateNewAESKey_Common()
    {
        try {
            IllegalArgumentException v0_4 = javax.crypto.KeyGenerator.getInstance("AES");
            v0_4.init(128);
            return v0_4.generateKey().getEncoded();
        } catch (IllegalArgumentException v0_1) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.TAG, v0_1.getMessage(), v0_1);
            throw new IllegalArgumentException("Auth Foundation : Auth AESKeyMgr : Failed to generate an AES key");
        }
    }

Method javax.crypto.KeyGenerator.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager$7;', 'run', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'logout', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'getUserProfile', '()Lcom/adobe/creativesdk/foundation/auth/AdobeAuthUserProfile;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'isAuthenticated', '()Z'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'getFoundationAuthAESKey', '()[B'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'generateNewAESKey_Common', '()[B'), ('Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager$7.run():


    public void run()
    {
        com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.DEBUG, "Authentication", "Calling logout() from emergency-logout");
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.access$702(this.this$0, 1);
        this.this$0.logout();
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.logout():


    public void logout()
    {
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager$3 v1_0 = this.getUserProfile();
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService v0_0 = 0;
        com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.DEBUG, "Authentication", "logout() called");
        String v2_0 = new com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSAuthEvent(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Type.AdobeEventTypeAppLogout.getValue());
        v2_0.trackService(this.getIMSService().getImsHost(), this.getIMSService().getLogoutAPI(), this.getIMSService().getLogoutAPIVersion());
        if (this.emergencyLogout) {
            v2_0.addEventParams(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Core.AdobeEventPropertySubType.getValue(), "token_deleted");
            this.emergencyLogout = 0;
        }
        if (v1_0 != null) {
            com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsSDKReporter.trackAuthStep("Logout Attempt", v1_0.getAdobeID());
            v0_0 = v1_0.getAdobeID();
        }
        if (this.getApplicationContext() != null) {
            com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager$3 v1_3 = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager$3(this, v0_0, v2_0);
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.DEBUG, "Authentication", "Calling getImSService-Signout");
            this.getIMSService().signOut(v1_3);
        } else {
            com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService v0_5 = new java.util.HashMap();
            v0_5.put("Error", new com.adobe.creativesdk.foundation.auth.AdobeAuthException(com.adobe.creativesdk.foundation.auth.AdobeAuthErrorCode.ADOBE_AUTH_ERROR_AUTH_MODULE_NOT_INITIALIZED));
            com.adobe.creativesdk.foundation.internal.notification.AdobeLocalNotificationCenter.getDefaultNotificationCenter().postNotification(new com.adobe.creativesdk.foundation.internal.notification.AdobeNotification(com.adobe.creativesdk.foundation.internal.notification.AdobeInternalNotificationID.AdobeAuthLogoutNotification, v0_5));
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.getUserProfile():


    public com.adobe.creativesdk.foundation.auth.AdobeAuthUserProfile getUserProfile()
    {
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthUserProfileImpl v0_17;
        int v1_0 = 1;
        if ((this.isInitialized()) && (this.isAuthenticated())) {
            this.mUserProfile = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthUserProfileImpl();
            String v3_0 = com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance();
            com.adobe.creativesdk.foundation.internal.auth.AdobeAuthUserProfileImpl v0_1 = this.getIMSService().getAdobeID();
            if (v0_1 != null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthUserProfileImpl v0_11;
                this.mUserProfile.setAdobeID(v0_1);
                this.mUserProfile.setDisplayName(v3_0.getDisplayName());
                this.mUserProfile.setCountrycode(v3_0.getCountryCode());
                this.mUserProfile.setFirstName(v3_0.getFirstName());
                this.mUserProfile.setLastName(v3_0.getLastName());
                this.mUserProfile.setEmail(v3_0.getEmailAddress());
                if ((v3_0.getEmailVerified() == null) || (!v3_0.getEmailVerified().equals("true"))) {
                    v0_11 = 0;
                } else {
                    v0_11 = 1;
                }
                this.mUserProfile.setEmailVerified(v0_11);
                if ((v3_0.getIsEnterPrise() == null) || (!v3_0.getIsEnterPrise().equals("true"))) {
                    v1_0 = 0;
                }
                this.mUserProfile.setEnterprise(v1_0);
                v0_17 = this.mUserProfile;
            } else {
                throw new RuntimeException("User profile not available. But user Authenticated");
            }
        } else {
            v0_17 = 0;
        }
        return v0_17;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.isAuthenticated():


    public boolean isAuthenticated()
    {
        int v0 = 0;
        if (this.isInitialized()) {
            String v1_2 = com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance().getAdobeID();
            if (((this.hasValidAccessToken()) || (this.canRefreshAccessToken())) && (v1_2 != null)) {
                v0 = 1;
            }
        }
        return v0;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getFoundationAuthAESKey():


    public byte[] getFoundationAuthAESKey()
    {
        IllegalArgumentException v0_7;
        if (this._foundationAuth_AES_key == null) {
            this._foundationAuth_AES_key = this.getFoundation_AESKey_fromPreference();
            if (this._foundationAuth_AES_key == null) {
                this._foundationAuth_AES_key = com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common();
                if (this._foundationAuth_AES_key == null) {
                    throw new IllegalArgumentException("CSDK Foundation Auth AES Key is null.");
                } else {
                    this.storeFoundatationAuth_AESKey_InPreference(this._foundationAuth_AES_key);
                }
            }
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        } else {
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        }
        return v0_7;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common():


    public static byte[] generateNewAESKey_Common()
    {
        try {
            IllegalArgumentException v0_4 = javax.crypto.KeyGenerator.getInstance("AES");
            v0_4.init(128);
            return v0_4.generateKey().getEncoded();
        } catch (IllegalArgumentException v0_1) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.TAG, v0_1.getMessage(), v0_1);
            throw new IllegalArgumentException("Auth Foundation : Auth AESKeyMgr : Failed to generate an AES key");
        }
    }

Method javax.crypto.KeyGenerator.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/auth/service/AdobeAuthService$1;', 'isUserAuthenticated', '()Z'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'isAuthenticated', '()Z'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'getFoundationAuthAESKey', '()[B'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'generateNewAESKey_Common', '()[B'), ('Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.auth.service.AdobeAuthService$1.isUserAuthenticated():


    public boolean isUserAuthenticated()
    {
        return com.adobe.creativesdk.foundation.adobeinternal.auth.service.AdobeAuthService.access$000(this.this$0).isAuthenticated();
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.isAuthenticated():


    public boolean isAuthenticated()
    {
        int v0 = 0;
        if (this.isInitialized()) {
            String v1_2 = com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance().getAdobeID();
            if (((this.hasValidAccessToken()) || (this.canRefreshAccessToken())) && (v1_2 != null)) {
                v0 = 1;
            }
        }
        return v0;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getFoundationAuthAESKey():


    public byte[] getFoundationAuthAESKey()
    {
        IllegalArgumentException v0_7;
        if (this._foundationAuth_AES_key == null) {
            this._foundationAuth_AES_key = this.getFoundation_AESKey_fromPreference();
            if (this._foundationAuth_AES_key == null) {
                this._foundationAuth_AES_key = com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common();
                if (this._foundationAuth_AES_key == null) {
                    throw new IllegalArgumentException("CSDK Foundation Auth AES Key is null.");
                } else {
                    this.storeFoundatationAuth_AESKey_InPreference(this._foundationAuth_AES_key);
                }
            }
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        } else {
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        }
        return v0_7;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common():


    public static byte[] generateNewAESKey_Common()
    {
        try {
            IllegalArgumentException v0_4 = javax.crypto.KeyGenerator.getInstance("AES");
            v0_4.init(128);
            return v0_4.generateKey().getEncoded();
        } catch (IllegalArgumentException v0_1) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.TAG, v0_1.getMessage(), v0_1);
            throw new IllegalArgumentException("Auth Foundation : Auth AESKeyMgr : Failed to generate an AES key");
        }
    }

Method javax.crypto.KeyGenerator.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/auth/service/AdobeAuthService$1;', 'isUserAuthenticated', '()Z'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'isAuthenticated', '()Z'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'setCipherKey', '([B)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', 'createInstance', '([B)Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', '<init>', '([B)V'), ('Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.auth.service.AdobeAuthService$1.isUserAuthenticated():


    public boolean isUserAuthenticated()
    {
        return com.adobe.creativesdk.foundation.adobeinternal.auth.service.AdobeAuthService.access$000(this.this$0).isAuthenticated();
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.isAuthenticated():


    public boolean isAuthenticated()
    {
        int v0 = 0;
        if (this.isInitialized()) {
            String v1_2 = com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance().getAdobeID();
            if (((this.hasValidAccessToken()) || (this.canRefreshAccessToken())) && (v1_2 != null)) {
                v0 = 1;
            }
        }
        return v0;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.setCipherKey():


    public void setCipherKey(byte[] p5)
    {
        if (p5 != null) {
            IllegalArgumentException v0_3 = new byte[p5.length];
            System.arraycopy(p5, 0, v0_3, 0, p5.length);
            try {
                this.cipher = com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance(v0_3);
            } catch (IllegalArgumentException v0_5) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, this.getClass().getSimpleName(), v0_5.getMessage(), v0_5);
                throw new IllegalArgumentException("CSDK Foundation Auth : Cannot create Cipher Instance !");
            }
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance():


    static com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher createInstance(byte[] p1)
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance == null) {
            com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance = new com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher(p1);
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.<init>():


    public AdobeCommonCipher(byte[] p4)
    {
        javax.crypto.spec.SecretKeySpec v0_1 = new javax.crypto.spec.SecretKeySpec(p4, "AES");
        this.encryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.encryptionCipher.init(1, v0_1);
        this.decryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.decryptionCipher.init(2, v0_1);
        return;
    }

Method javax.crypto.Cipher.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/auth/service/AdobeAuthService$1;', 'openContinuationAuthEvent', '(Lcom/adobe/creativesdk/foundation/auth/AdobeAuthErrorCode; Lcom/adobe/creativesdk/foundation/adobeinternal/auth/service/AdobeAuthLoginParams; Lcom/adobe/creativesdk/foundation/adobeinternal/auth/service/IAdobeAuthLoginCallback;)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'openContinuableAuthenticationEvent', '(Lcom/adobe/creativesdk/foundation/auth/AdobeAuthSessionLauncher;)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'setCipherKey', '([B)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', 'createInstance', '([B)Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', '<init>', '([B)V'), ('Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.auth.service.AdobeAuthService$1.openContinuationAuthEvent():


    public void openContinuationAuthEvent(com.adobe.creativesdk.foundation.auth.AdobeAuthErrorCode p6, com.adobe.creativesdk.foundation.adobeinternal.auth.service.AdobeAuthLoginParams p7, com.adobe.creativesdk.foundation.adobeinternal.auth.service.IAdobeAuthLoginCallback p8)
    {
        com.adobe.creativesdk.foundation.auth.AdobeAuthSessionLauncher v1_1 = new com.adobe.creativesdk.foundation.auth.AdobeAuthSessionLauncher$Builder().withContext(this.this$0.getBaseContext()).withRequestCode(p7.requestCode).withContinuableErrorCode(p6).build();
        if (com.adobe.creativesdk.foundation.adobeinternal.auth.service.AdobeAuthService.access$100(this.this$0) != null) {
            try {
                com.adobe.creativesdk.foundation.adobeinternal.auth.service.AdobeAuthService.access$000(this.this$0).unregisterLoginClient(com.adobe.creativesdk.foundation.adobeinternal.auth.service.AdobeAuthService.access$100(this.this$0));
            } catch (NullPointerException v0_6) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, "", "", v0_6);
            }
        }
        com.adobe.creativesdk.foundation.adobeinternal.auth.service.AdobeAuthService.access$102(this.this$0, new com.adobe.creativesdk.foundation.adobeinternal.auth.service.AdobeAuthService$LoginClient(this.this$0, p8));
        com.adobe.creativesdk.foundation.adobeinternal.auth.service.AdobeAuthService.access$000(this.this$0).registerLoginClient(com.adobe.creativesdk.foundation.adobeinternal.auth.service.AdobeAuthService.access$100(this.this$0));
        com.adobe.creativesdk.foundation.adobeinternal.auth.service.AdobeAuthService.access$000(this.this$0).openContinuableAuthenticationEvent(v1_1);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.openContinuableAuthenticationEvent():


    public void openContinuableAuthenticationEvent(com.adobe.creativesdk.foundation.auth.AdobeAuthSessionLauncher p6)
    {
        this.setCurrentLauncherObject(p6);
        android.content.Context v0_2 = this._sessionLauncher.getLauncherActivity();
        String v1_4 = this._sessionLauncher.getContinuableErrorCode();
        if ((v1_4 != null) && ((v1_4 == com.adobe.creativesdk.foundation.auth.AdobeAuthErrorCode.ADOBE_AUTH_ERROR_CODE_AGE_VERIFICATION) || ((v1_4 == com.adobe.creativesdk.foundation.auth.AdobeAuthErrorCode.ADOBE_AUTH_ERROR_CODE_UPDATED_TOU) || (v1_4 == com.adobe.creativesdk.foundation.auth.AdobeAuthErrorCode.ADOBE_AUTH_ERROR_CODE_EMAIL_VERIFICATION)))) {
            com.adobe.creativesdk.foundation.auth.AdobeAuthErrorCode v2_2 = com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance();
            if (v1_4.toString().equals(v2_2.getContiuableEventErrorCode())) {
                String v1_2 = v2_2.getContiuableEventJumpURL();
                if (v0_2 == null) {
                    v0_2 = this._sessionLauncher.getLauncherContext();
                }
                android.content.Intent v3_2 = new android.content.Intent(v0_2, com.adobe.creativesdk.foundation.internal.auth.AdobeAuthContinuableEventActivity);
                if (v1_2 != null) {
                    v3_2.putExtra(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthConstants.JUMP_URL, v1_2);
                }
                v0_2.startActivity(v3_2);
                v2_2.clearContinuableEventInfo();
            }
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.setCipherKey():


    public void setCipherKey(byte[] p5)
    {
        if (p5 != null) {
            IllegalArgumentException v0_3 = new byte[p5.length];
            System.arraycopy(p5, 0, v0_3, 0, p5.length);
            try {
                this.cipher = com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance(v0_3);
            } catch (IllegalArgumentException v0_5) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, this.getClass().getSimpleName(), v0_5.getMessage(), v0_5);
                throw new IllegalArgumentException("CSDK Foundation Auth : Cannot create Cipher Instance !");
            }
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance():


    static com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher createInstance(byte[] p1)
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance == null) {
            com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance = new com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher(p1);
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.<init>():


    public AdobeCommonCipher(byte[] p4)
    {
        javax.crypto.spec.SecretKeySpec v0_1 = new javax.crypto.spec.SecretKeySpec(p4, "AES");
        this.encryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.encryptionCipher.init(1, v0_1);
        this.decryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.decryptionCipher.init(2, v0_1);
        return;
    }

Method javax.crypto.Cipher.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/auth/service/AdobeAuthService$1;', 'openContinuationAuthEvent', '(Lcom/adobe/creativesdk/foundation/auth/AdobeAuthErrorCode; Lcom/adobe/creativesdk/foundation/adobeinternal/auth/service/AdobeAuthLoginParams; Lcom/adobe/creativesdk/foundation/adobeinternal/auth/service/IAdobeAuthLoginCallback;)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'openContinuableAuthenticationEvent', '(Lcom/adobe/creativesdk/foundation/auth/AdobeAuthSessionLauncher;)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'getFoundationAuthAESKey', '()[B'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'generateNewAESKey_Common', '()[B'), ('Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.auth.service.AdobeAuthService$1.openContinuationAuthEvent():


    public void openContinuationAuthEvent(com.adobe.creativesdk.foundation.auth.AdobeAuthErrorCode p6, com.adobe.creativesdk.foundation.adobeinternal.auth.service.AdobeAuthLoginParams p7, com.adobe.creativesdk.foundation.adobeinternal.auth.service.IAdobeAuthLoginCallback p8)
    {
        com.adobe.creativesdk.foundation.auth.AdobeAuthSessionLauncher v1_1 = new com.adobe.creativesdk.foundation.auth.AdobeAuthSessionLauncher$Builder().withContext(this.this$0.getBaseContext()).withRequestCode(p7.requestCode).withContinuableErrorCode(p6).build();
        if (com.adobe.creativesdk.foundation.adobeinternal.auth.service.AdobeAuthService.access$100(this.this$0) != null) {
            try {
                com.adobe.creativesdk.foundation.adobeinternal.auth.service.AdobeAuthService.access$000(this.this$0).unregisterLoginClient(com.adobe.creativesdk.foundation.adobeinternal.auth.service.AdobeAuthService.access$100(this.this$0));
            } catch (NullPointerException v0_6) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, "", "", v0_6);
            }
        }
        com.adobe.creativesdk.foundation.adobeinternal.auth.service.AdobeAuthService.access$102(this.this$0, new com.adobe.creativesdk.foundation.adobeinternal.auth.service.AdobeAuthService$LoginClient(this.this$0, p8));
        com.adobe.creativesdk.foundation.adobeinternal.auth.service.AdobeAuthService.access$000(this.this$0).registerLoginClient(com.adobe.creativesdk.foundation.adobeinternal.auth.service.AdobeAuthService.access$100(this.this$0));
        com.adobe.creativesdk.foundation.adobeinternal.auth.service.AdobeAuthService.access$000(this.this$0).openContinuableAuthenticationEvent(v1_1);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.openContinuableAuthenticationEvent():


    public void openContinuableAuthenticationEvent(com.adobe.creativesdk.foundation.auth.AdobeAuthSessionLauncher p6)
    {
        this.setCurrentLauncherObject(p6);
        android.content.Context v0_2 = this._sessionLauncher.getLauncherActivity();
        String v1_4 = this._sessionLauncher.getContinuableErrorCode();
        if ((v1_4 != null) && ((v1_4 == com.adobe.creativesdk.foundation.auth.AdobeAuthErrorCode.ADOBE_AUTH_ERROR_CODE_AGE_VERIFICATION) || ((v1_4 == com.adobe.creativesdk.foundation.auth.AdobeAuthErrorCode.ADOBE_AUTH_ERROR_CODE_UPDATED_TOU) || (v1_4 == com.adobe.creativesdk.foundation.auth.AdobeAuthErrorCode.ADOBE_AUTH_ERROR_CODE_EMAIL_VERIFICATION)))) {
            com.adobe.creativesdk.foundation.auth.AdobeAuthErrorCode v2_2 = com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance();
            if (v1_4.toString().equals(v2_2.getContiuableEventErrorCode())) {
                String v1_2 = v2_2.getContiuableEventJumpURL();
                if (v0_2 == null) {
                    v0_2 = this._sessionLauncher.getLauncherContext();
                }
                android.content.Intent v3_2 = new android.content.Intent(v0_2, com.adobe.creativesdk.foundation.internal.auth.AdobeAuthContinuableEventActivity);
                if (v1_2 != null) {
                    v3_2.putExtra(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthConstants.JUMP_URL, v1_2);
                }
                v0_2.startActivity(v3_2);
                v2_2.clearContinuableEventInfo();
            }
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getFoundationAuthAESKey():


    public byte[] getFoundationAuthAESKey()
    {
        IllegalArgumentException v0_7;
        if (this._foundationAuth_AES_key == null) {
            this._foundationAuth_AES_key = this.getFoundation_AESKey_fromPreference();
            if (this._foundationAuth_AES_key == null) {
                this._foundationAuth_AES_key = com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common();
                if (this._foundationAuth_AES_key == null) {
                    throw new IllegalArgumentException("CSDK Foundation Auth AES Key is null.");
                } else {
                    this.storeFoundatationAuth_AESKey_InPreference(this._foundationAuth_AES_key);
                }
            }
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        } else {
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        }
        return v0_7;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common():


    public static byte[] generateNewAESKey_Common()
    {
        try {
            IllegalArgumentException v0_4 = javax.crypto.KeyGenerator.getInstance("AES");
            v0_4.init(128);
            return v0_4.generateKey().getEncoded();
        } catch (IllegalArgumentException v0_1) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.TAG, v0_1.getMessage(), v0_1);
            throw new IllegalArgumentException("Auth Foundation : Auth AESKeyMgr : Failed to generate an AES key");
        }
    }

Method javax.crypto.KeyGenerator.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/auth/service/AdobeAuthService$1;', 'signUp', '(Lcom/adobe/creativesdk/foundation/adobeinternal/auth/service/AdobeAuthLoginParams; Lcom/adobe/creativesdk/foundation/adobeinternal/auth/service/IAdobeAuthLoginCallback;)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'promptForSignUp', '(Lcom/adobe/creativesdk/foundation/auth/AdobeAuthSessionLauncher;)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'getIMSService', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'getFoundationAuthAESKey', '()[B'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'generateNewAESKey_Common', '()[B'), ('Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.auth.service.AdobeAuthService$1.signUp():


    public void signUp(com.adobe.creativesdk.foundation.adobeinternal.auth.service.AdobeAuthLoginParams p6, com.adobe.creativesdk.foundation.adobeinternal.auth.service.IAdobeAuthLoginCallback p7)
    {
        com.adobe.creativesdk.foundation.auth.AdobeAuthSessionLauncher v1_1 = new com.adobe.creativesdk.foundation.auth.AdobeAuthSessionLauncher$Builder().withContext(this.this$0.getBaseContext()).withRequestCode(p6.requestCode).build();
        if (com.adobe.creativesdk.foundation.adobeinternal.auth.service.AdobeAuthService.access$100(this.this$0) != null) {
            try {
                com.adobe.creativesdk.foundation.adobeinternal.auth.service.AdobeAuthService.access$000(this.this$0).unregisterLoginClient(com.adobe.creativesdk.foundation.adobeinternal.auth.service.AdobeAuthService.access$100(this.this$0));
            } catch (NullPointerException v0_5) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, "", "", v0_5);
            }
        }
        com.adobe.creativesdk.foundation.adobeinternal.auth.service.AdobeAuthService.access$102(this.this$0, new com.adobe.creativesdk.foundation.adobeinternal.auth.service.AdobeAuthService$LoginClient(this.this$0, p7));
        com.adobe.creativesdk.foundation.adobeinternal.auth.service.AdobeAuthService.access$000(this.this$0).registerLoginClient(com.adobe.creativesdk.foundation.adobeinternal.auth.service.AdobeAuthService.access$100(this.this$0));
        com.adobe.creativesdk.foundation.adobeinternal.auth.service.AdobeAuthService.access$000(this.this$0).promptForSignUp(v1_1);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.promptForSignUp():


    public void promptForSignUp(com.adobe.creativesdk.foundation.auth.AdobeAuthSessionLauncher p7)
    {
        com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsSDKReporter.trackRegStep("Signup Start", 0);
        if (p7 != null) {
            this.setAuthenticationParametersWithClientID(p7.getScopesList());
            if (p7.getRedirectURI() != null) {
                this.setRedirectURI(p7.getRedirectURI());
            }
        }
        this.setCurrentLauncherObject(p7);
        com.adobe.creativesdk.foundation.auth.AdobeAuthException v0_2 = new com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSAuthEvent(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Type.AdobeEventTypeAppSignup.getValue());
        v0_2.trackService(this.getIMSService().getImsHost(), this.getIMSService().getLoginAPI(), this.getIMSService().getLoginAPIVersion());
        if (this.getApplicationContext() != null) {
            if ((this.getUserProfile() == null) || (this.getUserProfile().getAdobeID() == null)) {
                com.adobe.creativesdk.foundation.auth.AdobeAuthErrorCode v1_9 = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager$4(this, v0_2);
                this.launchSignInActivity(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthConstants.AUTH_SESSION_TYPE_SIGN_UP);
                this.setSignInClient(v1_9);
            } else {
                com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsSDKReporter.trackRegStep("Signup Failure", this.getUserProfile().getAdobeID());
                this.postLoginError(1, new com.adobe.creativesdk.foundation.auth.AdobeAuthException(com.adobe.creativesdk.foundation.auth.AdobeAuthErrorCode.ADOBE_AUTH_ERROR_CODE_UNKNOWN_ERROR));
            }
        } else {
            com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsSDKReporter.trackRegStep("Signup Failure", 0);
            this.postLoginError(1, new com.adobe.creativesdk.foundation.auth.AdobeAuthException(com.adobe.creativesdk.foundation.auth.AdobeAuthErrorCode.ADOBE_AUTH_ERROR_AUTH_MODULE_NOT_INITIALIZED));
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.getIMSService():


    private com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getIMSService()
    {
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance();
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getFoundationAuthAESKey():


    public byte[] getFoundationAuthAESKey()
    {
        IllegalArgumentException v0_7;
        if (this._foundationAuth_AES_key == null) {
            this._foundationAuth_AES_key = this.getFoundation_AESKey_fromPreference();
            if (this._foundationAuth_AES_key == null) {
                this._foundationAuth_AES_key = com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common();
                if (this._foundationAuth_AES_key == null) {
                    throw new IllegalArgumentException("CSDK Foundation Auth AES Key is null.");
                } else {
                    this.storeFoundatationAuth_AESKey_InPreference(this._foundationAuth_AES_key);
                }
            }
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        } else {
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        }
        return v0_7;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common():


    public static byte[] generateNewAESKey_Common()
    {
        try {
            IllegalArgumentException v0_4 = javax.crypto.KeyGenerator.getInstance("AES");
            v0_4.init(128);
            return v0_4.generateKey().getEncoded();
        } catch (IllegalArgumentException v0_1) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.TAG, v0_1.getMessage(), v0_1);
            throw new IllegalArgumentException("Auth Foundation : Auth AESKeyMgr : Failed to generate an AES key");
        }
    }

Method javax.crypto.KeyGenerator.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/auth/service/AdobeAuthService$1;', 'signUp', '(Lcom/adobe/creativesdk/foundation/adobeinternal/auth/service/AdobeAuthLoginParams; Lcom/adobe/creativesdk/foundation/adobeinternal/auth/service/IAdobeAuthLoginCallback;)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'promptForSignUp', '(Lcom/adobe/creativesdk/foundation/auth/AdobeAuthSessionLauncher;)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'getIMSService', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'setCipherKey', '([B)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', 'createInstance', '([B)Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', '<init>', '([B)V'), ('Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.auth.service.AdobeAuthService$1.signUp():


    public void signUp(com.adobe.creativesdk.foundation.adobeinternal.auth.service.AdobeAuthLoginParams p6, com.adobe.creativesdk.foundation.adobeinternal.auth.service.IAdobeAuthLoginCallback p7)
    {
        com.adobe.creativesdk.foundation.auth.AdobeAuthSessionLauncher v1_1 = new com.adobe.creativesdk.foundation.auth.AdobeAuthSessionLauncher$Builder().withContext(this.this$0.getBaseContext()).withRequestCode(p6.requestCode).build();
        if (com.adobe.creativesdk.foundation.adobeinternal.auth.service.AdobeAuthService.access$100(this.this$0) != null) {
            try {
                com.adobe.creativesdk.foundation.adobeinternal.auth.service.AdobeAuthService.access$000(this.this$0).unregisterLoginClient(com.adobe.creativesdk.foundation.adobeinternal.auth.service.AdobeAuthService.access$100(this.this$0));
            } catch (NullPointerException v0_5) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, "", "", v0_5);
            }
        }
        com.adobe.creativesdk.foundation.adobeinternal.auth.service.AdobeAuthService.access$102(this.this$0, new com.adobe.creativesdk.foundation.adobeinternal.auth.service.AdobeAuthService$LoginClient(this.this$0, p7));
        com.adobe.creativesdk.foundation.adobeinternal.auth.service.AdobeAuthService.access$000(this.this$0).registerLoginClient(com.adobe.creativesdk.foundation.adobeinternal.auth.service.AdobeAuthService.access$100(this.this$0));
        com.adobe.creativesdk.foundation.adobeinternal.auth.service.AdobeAuthService.access$000(this.this$0).promptForSignUp(v1_1);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.promptForSignUp():


    public void promptForSignUp(com.adobe.creativesdk.foundation.auth.AdobeAuthSessionLauncher p7)
    {
        com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsSDKReporter.trackRegStep("Signup Start", 0);
        if (p7 != null) {
            this.setAuthenticationParametersWithClientID(p7.getScopesList());
            if (p7.getRedirectURI() != null) {
                this.setRedirectURI(p7.getRedirectURI());
            }
        }
        this.setCurrentLauncherObject(p7);
        com.adobe.creativesdk.foundation.auth.AdobeAuthException v0_2 = new com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSAuthEvent(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Type.AdobeEventTypeAppSignup.getValue());
        v0_2.trackService(this.getIMSService().getImsHost(), this.getIMSService().getLoginAPI(), this.getIMSService().getLoginAPIVersion());
        if (this.getApplicationContext() != null) {
            if ((this.getUserProfile() == null) || (this.getUserProfile().getAdobeID() == null)) {
                com.adobe.creativesdk.foundation.auth.AdobeAuthErrorCode v1_9 = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager$4(this, v0_2);
                this.launchSignInActivity(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthConstants.AUTH_SESSION_TYPE_SIGN_UP);
                this.setSignInClient(v1_9);
            } else {
                com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsSDKReporter.trackRegStep("Signup Failure", this.getUserProfile().getAdobeID());
                this.postLoginError(1, new com.adobe.creativesdk.foundation.auth.AdobeAuthException(com.adobe.creativesdk.foundation.auth.AdobeAuthErrorCode.ADOBE_AUTH_ERROR_CODE_UNKNOWN_ERROR));
            }
        } else {
            com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsSDKReporter.trackRegStep("Signup Failure", 0);
            this.postLoginError(1, new com.adobe.creativesdk.foundation.auth.AdobeAuthException(com.adobe.creativesdk.foundation.auth.AdobeAuthErrorCode.ADOBE_AUTH_ERROR_AUTH_MODULE_NOT_INITIALIZED));
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.getIMSService():


    private com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getIMSService()
    {
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance();
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.setCipherKey():


    public void setCipherKey(byte[] p5)
    {
        if (p5 != null) {
            IllegalArgumentException v0_3 = new byte[p5.length];
            System.arraycopy(p5, 0, v0_3, 0, p5.length);
            try {
                this.cipher = com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance(v0_3);
            } catch (IllegalArgumentException v0_5) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, this.getClass().getSimpleName(), v0_5.getMessage(), v0_5);
                throw new IllegalArgumentException("CSDK Foundation Auth : Cannot create Cipher Instance !");
            }
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance():


    static com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher createInstance(byte[] p1)
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance == null) {
            com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance = new com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher(p1);
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.<init>():


    public AdobeCommonCipher(byte[] p4)
    {
        javax.crypto.spec.SecretKeySpec v0_1 = new javax.crypto.spec.SecretKeySpec(p4, "AES");
        this.encryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.encryptionCipher.init(1, v0_1);
        this.decryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.decryptionCipher.init(2, v0_1);
        return;
    }

Method javax.crypto.Cipher.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/cloud/AdobeCloudServiceSession;', '<init>', '(Lcom/adobe/creativesdk/foundation/adobeinternal/cloud/AdobeCloudEndpoint;)V'), ('Lcom/adobe/creativesdk/foundation/adobeinternal/cloud/AdobeCloudServiceSession;', 'configureEndpoint', '(Lcom/adobe/creativesdk/foundation/adobeinternal/cloud/AdobeCloudEndpoint;)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'getFoundationAuthAESKey', '()[B'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'generateNewAESKey_Common', '()[B'), ('Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudServiceSession.<init>():


    protected AdobeCloudServiceSession(com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudEndpoint p1)
    {
        this.configureEndpoint(p1);
        return;
    }

Method com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudServiceSession.configureEndpoint():


    protected void configureEndpoint(com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudEndpoint p9)
    {
        if (p9 != null) {
            com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService v2 = com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance();
            String v3 = v2.getAccessToken();
            java.util.HashMap v4_1 = new java.util.HashMap();
            java.util.HashMap v1_11 = new Object[2];
            v1_11[0] = "CreativeSDK";
            v1_11[1] = com.adobe.creativesdk.foundation.AdobeCSDKFoundation.getVersion();
            Object v0_0 = String.format("%s%s", v1_11);
            if ((com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudServiceSession.$assertionsDisabled) || (v2.getClientID() != null)) {
                v4_1.put("x-api-key", v2.getClientID());
                v4_1.put("x-creativesdk-versions", v0_0);
                if ((com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudServiceSession.$assertionsDisabled) || (p9.getServiceURLs() != null)) {
                    java.util.Iterator v5_3 = p9.getServiceURLs().entrySet().iterator();
                    while (v5_3.hasNext()) {
                        Object v0_7 = ((java.util.Map$Entry) v5_3.next());
                        com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpService v6_3 = new com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpService(((java.net.URL) v0_7.getValue()).toString(), v2.getClientID(), v4_1);
                        v6_3.setAccessToken(v3);
                        v6_3.setHttpServiceDelegate(this);
                        this._httpServices.put(v0_7.getKey(), v6_3);
                    }
                    this._endpoint = p9;
                } else {
                    throw new AssertionError("Service endpoint URLs cannot be nil.");
                }
            } else {
                throw new AssertionError("clientID not initialized by the authentication module.");
            }
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getFoundationAuthAESKey():


    public byte[] getFoundationAuthAESKey()
    {
        IllegalArgumentException v0_7;
        if (this._foundationAuth_AES_key == null) {
            this._foundationAuth_AES_key = this.getFoundation_AESKey_fromPreference();
            if (this._foundationAuth_AES_key == null) {
                this._foundationAuth_AES_key = com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common();
                if (this._foundationAuth_AES_key == null) {
                    throw new IllegalArgumentException("CSDK Foundation Auth AES Key is null.");
                } else {
                    this.storeFoundatationAuth_AESKey_InPreference(this._foundationAuth_AES_key);
                }
            }
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        } else {
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        }
        return v0_7;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common():


    public static byte[] generateNewAESKey_Common()
    {
        try {
            IllegalArgumentException v0_4 = javax.crypto.KeyGenerator.getInstance("AES");
            v0_4.init(128);
            return v0_4.generateKey().getEncoded();
        } catch (IllegalArgumentException v0_1) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.TAG, v0_1.getMessage(), v0_1);
            throw new IllegalArgumentException("Auth Foundation : Auth AESKeyMgr : Failed to generate an AES key");
        }
    }

Method javax.crypto.KeyGenerator.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/cloud/AdobeCloudServiceSession;', '<init>', '(Lcom/adobe/creativesdk/foundation/adobeinternal/cloud/AdobeCloudEndpoint;)V'), ('Lcom/adobe/creativesdk/foundation/adobeinternal/cloud/AdobeCloudServiceSession;', 'configureEndpoint', '(Lcom/adobe/creativesdk/foundation/adobeinternal/cloud/AdobeCloudEndpoint;)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'setCipherKey', '([B)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', 'createInstance', '([B)Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', '<init>', '([B)V'), ('Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudServiceSession.<init>():


    protected AdobeCloudServiceSession(com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudEndpoint p1)
    {
        this.configureEndpoint(p1);
        return;
    }

Method com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudServiceSession.configureEndpoint():


    protected void configureEndpoint(com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudEndpoint p9)
    {
        if (p9 != null) {
            com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService v2 = com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance();
            String v3 = v2.getAccessToken();
            java.util.HashMap v4_1 = new java.util.HashMap();
            java.util.HashMap v1_11 = new Object[2];
            v1_11[0] = "CreativeSDK";
            v1_11[1] = com.adobe.creativesdk.foundation.AdobeCSDKFoundation.getVersion();
            Object v0_0 = String.format("%s%s", v1_11);
            if ((com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudServiceSession.$assertionsDisabled) || (v2.getClientID() != null)) {
                v4_1.put("x-api-key", v2.getClientID());
                v4_1.put("x-creativesdk-versions", v0_0);
                if ((com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudServiceSession.$assertionsDisabled) || (p9.getServiceURLs() != null)) {
                    java.util.Iterator v5_3 = p9.getServiceURLs().entrySet().iterator();
                    while (v5_3.hasNext()) {
                        Object v0_7 = ((java.util.Map$Entry) v5_3.next());
                        com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpService v6_3 = new com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpService(((java.net.URL) v0_7.getValue()).toString(), v2.getClientID(), v4_1);
                        v6_3.setAccessToken(v3);
                        v6_3.setHttpServiceDelegate(this);
                        this._httpServices.put(v0_7.getKey(), v6_3);
                    }
                    this._endpoint = p9;
                } else {
                    throw new AssertionError("Service endpoint URLs cannot be nil.");
                }
            } else {
                throw new AssertionError("clientID not initialized by the authentication module.");
            }
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.setCipherKey():


    public void setCipherKey(byte[] p5)
    {
        if (p5 != null) {
            IllegalArgumentException v0_3 = new byte[p5.length];
            System.arraycopy(p5, 0, v0_3, 0, p5.length);
            try {
                this.cipher = com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance(v0_3);
            } catch (IllegalArgumentException v0_5) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, this.getClass().getSimpleName(), v0_5.getMessage(), v0_5);
                throw new IllegalArgumentException("CSDK Foundation Auth : Cannot create Cipher Instance !");
            }
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance():


    static com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher createInstance(byte[] p1)
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance == null) {
            com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance = new com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher(p1);
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.<init>():


    public AdobeCommonCipher(byte[] p4)
    {
        javax.crypto.spec.SecretKeySpec v0_1 = new javax.crypto.spec.SecretKeySpec(p4, "AES");
        this.encryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.encryptionCipher.init(1, v0_1);
        this.decryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.decryptionCipher.init(2, v0_1);
        return;
    }

Method javax.crypto.Cipher.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/cloud/AdobeCloudServiceSession;', 'access$100', '(Lcom/adobe/creativesdk/foundation/adobeinternal/cloud/AdobeCloudServiceSession;)V'), ('Lcom/adobe/creativesdk/foundation/adobeinternal/cloud/AdobeCloudServiceSession;', 'ongoingCheckServiceConnection', '()V'), ('Lcom/adobe/creativesdk/foundation/auth/AdobeUXAuthManager;', 'isAuthenticated', '()Z'), ('Lcom/adobe/creativesdk/foundation/adobeinternal/auth/AdobeUXAuthManagerRestricted;', 'isAuthenticated', '()Z'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'isAuthenticated', '()Z'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'setCipherKey', '([B)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', 'createInstance', '([B)Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', '<init>', '([B)V'), ('Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudServiceSession.access$100():


    static synthetic void access$100(com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudServiceSession p0)
    {
        p0.ongoingCheckServiceConnection();
        return;
    }

Method com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudServiceSession.ongoingCheckServiceConnection():


    private void ongoingCheckServiceConnection()
    {
        if ((!this._checkIsAuthenticated) || (com.adobe.creativesdk.foundation.auth.AdobeUXAuthManager.getSharedAuthManager().isAuthenticated())) {
            if (this._useOngoingTimer) {
                java.util.Iterator v2 = this._httpServices.entrySet().iterator();
                while (v2.hasNext()) {
                    com.adobe.creativesdk.foundation.internal.utils.logging.Level v0_4 = ((java.util.Map$Entry) v2.next());
                    String v1_1 = ((com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpService) v0_4.getValue());
                    v0_4.getKey();
                    if (v1_1 != null) {
                        if (this._disconnectionNotifier != null) {
                            if (!v1_1.isConnected()) {
                                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudServiceSession.getSimpleName(), new StringBuilder().append("Ongoing timer.  Attempting to reconnect ").append(this.getClass().getSimpleName()).toString());
                                v1_1.reconnect();
                            }
                        } else {
                            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudServiceSession.getSimpleName(), new StringBuilder().append("Disconnect notification not set up for ").append(this.getClass().getSimpleName()).append(" timer").toString());
                        }
                    } else {
                        com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudServiceSession.getSimpleName(), new StringBuilder().append("Network service not set up for ").append(this.getClass().getSimpleName()).append(" timer").toString());
                    }
                }
            }
        } else {
            this.stopOngoingConnectionTimer();
        }
        return;
    }

Method com.adobe.creativesdk.foundation.auth.AdobeUXAuthManager.isAuthenticated():


    public boolean isAuthenticated()
    {
        return this.authManagerRestricted.isAuthenticated();
    }

Method com.adobe.creativesdk.foundation.adobeinternal.auth.AdobeUXAuthManagerRestricted.isAuthenticated():


    public boolean isAuthenticated()
    {
        return this._authManagerImpl.isAuthenticated();
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.isAuthenticated():


    public boolean isAuthenticated()
    {
        int v0 = 0;
        if (this.isInitialized()) {
            String v1_2 = com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance().getAdobeID();
            if (((this.hasValidAccessToken()) || (this.canRefreshAccessToken())) && (v1_2 != null)) {
                v0 = 1;
            }
        }
        return v0;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.setCipherKey():


    public void setCipherKey(byte[] p5)
    {
        if (p5 != null) {
            IllegalArgumentException v0_3 = new byte[p5.length];
            System.arraycopy(p5, 0, v0_3, 0, p5.length);
            try {
                this.cipher = com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance(v0_3);
            } catch (IllegalArgumentException v0_5) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, this.getClass().getSimpleName(), v0_5.getMessage(), v0_5);
                throw new IllegalArgumentException("CSDK Foundation Auth : Cannot create Cipher Instance !");
            }
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance():


    static com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher createInstance(byte[] p1)
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance == null) {
            com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance = new com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher(p1);
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.<init>():


    public AdobeCommonCipher(byte[] p4)
    {
        javax.crypto.spec.SecretKeySpec v0_1 = new javax.crypto.spec.SecretKeySpec(p4, "AES");
        this.encryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.encryptionCipher.init(1, v0_1);
        this.decryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.decryptionCipher.init(2, v0_1);
        return;
    }

Method javax.crypto.Cipher.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/cloud/AdobeCloudServiceSession;', 'access$100', '(Lcom/adobe/creativesdk/foundation/adobeinternal/cloud/AdobeCloudServiceSession;)V'), ('Lcom/adobe/creativesdk/foundation/adobeinternal/cloud/AdobeCloudServiceSession;', 'ongoingCheckServiceConnection', '()V'), ('Lcom/adobe/creativesdk/foundation/auth/AdobeUXAuthManager;', 'isAuthenticated', '()Z'), ('Lcom/adobe/creativesdk/foundation/adobeinternal/auth/AdobeUXAuthManagerRestricted;', 'isAuthenticated', '()Z'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'isAuthenticated', '()Z'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'getFoundationAuthAESKey', '()[B'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'generateNewAESKey_Common', '()[B'), ('Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudServiceSession.access$100():


    static synthetic void access$100(com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudServiceSession p0)
    {
        p0.ongoingCheckServiceConnection();
        return;
    }

Method com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudServiceSession.ongoingCheckServiceConnection():


    private void ongoingCheckServiceConnection()
    {
        if ((!this._checkIsAuthenticated) || (com.adobe.creativesdk.foundation.auth.AdobeUXAuthManager.getSharedAuthManager().isAuthenticated())) {
            if (this._useOngoingTimer) {
                java.util.Iterator v2 = this._httpServices.entrySet().iterator();
                while (v2.hasNext()) {
                    com.adobe.creativesdk.foundation.internal.utils.logging.Level v0_4 = ((java.util.Map$Entry) v2.next());
                    String v1_1 = ((com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpService) v0_4.getValue());
                    v0_4.getKey();
                    if (v1_1 != null) {
                        if (this._disconnectionNotifier != null) {
                            if (!v1_1.isConnected()) {
                                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudServiceSession.getSimpleName(), new StringBuilder().append("Ongoing timer.  Attempting to reconnect ").append(this.getClass().getSimpleName()).toString());
                                v1_1.reconnect();
                            }
                        } else {
                            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudServiceSession.getSimpleName(), new StringBuilder().append("Disconnect notification not set up for ").append(this.getClass().getSimpleName()).append(" timer").toString());
                        }
                    } else {
                        com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudServiceSession.getSimpleName(), new StringBuilder().append("Network service not set up for ").append(this.getClass().getSimpleName()).append(" timer").toString());
                    }
                }
            }
        } else {
            this.stopOngoingConnectionTimer();
        }
        return;
    }

Method com.adobe.creativesdk.foundation.auth.AdobeUXAuthManager.isAuthenticated():


    public boolean isAuthenticated()
    {
        return this.authManagerRestricted.isAuthenticated();
    }

Method com.adobe.creativesdk.foundation.adobeinternal.auth.AdobeUXAuthManagerRestricted.isAuthenticated():


    public boolean isAuthenticated()
    {
        return this._authManagerImpl.isAuthenticated();
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.isAuthenticated():


    public boolean isAuthenticated()
    {
        int v0 = 0;
        if (this.isInitialized()) {
            String v1_2 = com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance().getAdobeID();
            if (((this.hasValidAccessToken()) || (this.canRefreshAccessToken())) && (v1_2 != null)) {
                v0 = 1;
            }
        }
        return v0;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getFoundationAuthAESKey():


    public byte[] getFoundationAuthAESKey()
    {
        IllegalArgumentException v0_7;
        if (this._foundationAuth_AES_key == null) {
            this._foundationAuth_AES_key = this.getFoundation_AESKey_fromPreference();
            if (this._foundationAuth_AES_key == null) {
                this._foundationAuth_AES_key = com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common();
                if (this._foundationAuth_AES_key == null) {
                    throw new IllegalArgumentException("CSDK Foundation Auth AES Key is null.");
                } else {
                    this.storeFoundatationAuth_AESKey_InPreference(this._foundationAuth_AES_key);
                }
            }
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        } else {
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        }
        return v0_7;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common():


    public static byte[] generateNewAESKey_Common()
    {
        try {
            IllegalArgumentException v0_4 = javax.crypto.KeyGenerator.getInstance("AES");
            v0_4.init(128);
            return v0_4.generateKey().getEncoded();
        } catch (IllegalArgumentException v0_1) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.TAG, v0_1.getMessage(), v0_1);
            throw new IllegalArgumentException("Auth Foundation : Auth AESKeyMgr : Failed to generate an AES key");
        }
    }

Method javax.crypto.KeyGenerator.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/cloud/AdobeCloudServiceSession;', 'checkServiceConnection', '()V'), ('Lcom/adobe/creativesdk/foundation/auth/AdobeUXAuthManager;', 'isAuthenticated', '()Z'), ('Lcom/adobe/creativesdk/foundation/adobeinternal/auth/AdobeUXAuthManagerRestricted;', 'isAuthenticated', '()Z'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'isAuthenticated', '()Z'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'setCipherKey', '([B)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', 'createInstance', '([B)Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', '<init>', '([B)V'), ('Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudServiceSession.checkServiceConnection():


    private void checkServiceConnection()
    {
        if (com.adobe.creativesdk.foundation.auth.AdobeUXAuthManager.getSharedAuthManager().isAuthenticated()) {
            if (!this._useOngoingTimer) {
                java.util.Iterator v1 = this._httpServices.entrySet().iterator();
                while (v1.hasNext()) {
                    int v0_9 = ((com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpService) ((java.util.Map$Entry) v1.next()).getValue());
                    if (v0_9 != 0) {
                        if (this._disconnectionNotifier != null) {
                            if (!v0_9.isConnected()) {
                                if (this._triedReconnecting) {
                                    com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.DEBUG, com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudServiceSession.getSimpleName(), new StringBuilder().append("Failed to reconnect ").append(this.getClass().getSimpleName()).append(". Sending ").append(this._disconnectionNotifier).toString());
                                    com.adobe.creativesdk.foundation.internal.notification.AdobeLocalNotificationCenter.getDefaultNotificationCenter().postNotification(new com.adobe.creativesdk.foundation.internal.notification.AdobeNotification(this._disconnectionNotifier, 0));
                                    v0_9.reconnect();
                                    if (this._connectionTimer != null) {
                                        this._connectionTimer.cancel();
                                        this._connectionTimer = 0;
                                    }
                                    this._triedReconnecting = 0;
                                } else {
                                    com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.DEBUG, com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudServiceSession.getSimpleName(), new StringBuilder().append("Attempting to reconnect ").append(this.getClass().getSimpleName()).toString());
                                    v0_9.reconnect();
                                    this._triedReconnecting = 1;
                                }
                            } else {
                                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.DEBUG, com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudServiceSession.getSimpleName(), new StringBuilder().append(this.getClass().getSimpleName()).append(" isConnected is true.  Cancel timer.").toString());
                                this._connectionTimer.cancel();
                                this._connectionTimer = 0;
                            }
                        } else {
                            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudServiceSession.getSimpleName(), new StringBuilder().append("Disconnect notifier not set up for ").append(this.getClass().getSimpleName()).append(" timer").toString());
                        }
                    } else {
                        com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudServiceSession.getSimpleName(), new StringBuilder().append("Network service not set up for ").append(this.getClass().getSimpleName()).append(" timer").toString());
                    }
                }
            }
        } else {
            this.stopConnectionTimer();
        }
        return;
    }

Method com.adobe.creativesdk.foundation.auth.AdobeUXAuthManager.isAuthenticated():


    public boolean isAuthenticated()
    {
        return this.authManagerRestricted.isAuthenticated();
    }

Method com.adobe.creativesdk.foundation.adobeinternal.auth.AdobeUXAuthManagerRestricted.isAuthenticated():


    public boolean isAuthenticated()
    {
        return this._authManagerImpl.isAuthenticated();
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.isAuthenticated():


    public boolean isAuthenticated()
    {
        int v0 = 0;
        if (this.isInitialized()) {
            String v1_2 = com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance().getAdobeID();
            if (((this.hasValidAccessToken()) || (this.canRefreshAccessToken())) && (v1_2 != null)) {
                v0 = 1;
            }
        }
        return v0;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.setCipherKey():


    public void setCipherKey(byte[] p5)
    {
        if (p5 != null) {
            IllegalArgumentException v0_3 = new byte[p5.length];
            System.arraycopy(p5, 0, v0_3, 0, p5.length);
            try {
                this.cipher = com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance(v0_3);
            } catch (IllegalArgumentException v0_5) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, this.getClass().getSimpleName(), v0_5.getMessage(), v0_5);
                throw new IllegalArgumentException("CSDK Foundation Auth : Cannot create Cipher Instance !");
            }
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance():


    static com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher createInstance(byte[] p1)
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance == null) {
            com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance = new com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher(p1);
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.<init>():


    public AdobeCommonCipher(byte[] p4)
    {
        javax.crypto.spec.SecretKeySpec v0_1 = new javax.crypto.spec.SecretKeySpec(p4, "AES");
        this.encryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.encryptionCipher.init(1, v0_1);
        this.decryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.decryptionCipher.init(2, v0_1);
        return;
    }

Method javax.crypto.Cipher.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/cloud/AdobeCloudServiceSession;', 'checkServiceConnection', '()V'), ('Lcom/adobe/creativesdk/foundation/auth/AdobeUXAuthManager;', 'isAuthenticated', '()Z'), ('Lcom/adobe/creativesdk/foundation/adobeinternal/auth/AdobeUXAuthManagerRestricted;', 'isAuthenticated', '()Z'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'isAuthenticated', '()Z'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'getFoundationAuthAESKey', '()[B'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'generateNewAESKey_Common', '()[B'), ('Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudServiceSession.checkServiceConnection():


    private void checkServiceConnection()
    {
        if (com.adobe.creativesdk.foundation.auth.AdobeUXAuthManager.getSharedAuthManager().isAuthenticated()) {
            if (!this._useOngoingTimer) {
                java.util.Iterator v1 = this._httpServices.entrySet().iterator();
                while (v1.hasNext()) {
                    int v0_9 = ((com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpService) ((java.util.Map$Entry) v1.next()).getValue());
                    if (v0_9 != 0) {
                        if (this._disconnectionNotifier != null) {
                            if (!v0_9.isConnected()) {
                                if (this._triedReconnecting) {
                                    com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.DEBUG, com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudServiceSession.getSimpleName(), new StringBuilder().append("Failed to reconnect ").append(this.getClass().getSimpleName()).append(". Sending ").append(this._disconnectionNotifier).toString());
                                    com.adobe.creativesdk.foundation.internal.notification.AdobeLocalNotificationCenter.getDefaultNotificationCenter().postNotification(new com.adobe.creativesdk.foundation.internal.notification.AdobeNotification(this._disconnectionNotifier, 0));
                                    v0_9.reconnect();
                                    if (this._connectionTimer != null) {
                                        this._connectionTimer.cancel();
                                        this._connectionTimer = 0;
                                    }
                                    this._triedReconnecting = 0;
                                } else {
                                    com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.DEBUG, com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudServiceSession.getSimpleName(), new StringBuilder().append("Attempting to reconnect ").append(this.getClass().getSimpleName()).toString());
                                    v0_9.reconnect();
                                    this._triedReconnecting = 1;
                                }
                            } else {
                                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.DEBUG, com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudServiceSession.getSimpleName(), new StringBuilder().append(this.getClass().getSimpleName()).append(" isConnected is true.  Cancel timer.").toString());
                                this._connectionTimer.cancel();
                                this._connectionTimer = 0;
                            }
                        } else {
                            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudServiceSession.getSimpleName(), new StringBuilder().append("Disconnect notifier not set up for ").append(this.getClass().getSimpleName()).append(" timer").toString());
                        }
                    } else {
                        com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudServiceSession.getSimpleName(), new StringBuilder().append("Network service not set up for ").append(this.getClass().getSimpleName()).append(" timer").toString());
                    }
                }
            }
        } else {
            this.stopConnectionTimer();
        }
        return;
    }

Method com.adobe.creativesdk.foundation.auth.AdobeUXAuthManager.isAuthenticated():


    public boolean isAuthenticated()
    {
        return this.authManagerRestricted.isAuthenticated();
    }

Method com.adobe.creativesdk.foundation.adobeinternal.auth.AdobeUXAuthManagerRestricted.isAuthenticated():


    public boolean isAuthenticated()
    {
        return this._authManagerImpl.isAuthenticated();
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.isAuthenticated():


    public boolean isAuthenticated()
    {
        int v0 = 0;
        if (this.isInitialized()) {
            String v1_2 = com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance().getAdobeID();
            if (((this.hasValidAccessToken()) || (this.canRefreshAccessToken())) && (v1_2 != null)) {
                v0 = 1;
            }
        }
        return v0;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getFoundationAuthAESKey():


    public byte[] getFoundationAuthAESKey()
    {
        IllegalArgumentException v0_7;
        if (this._foundationAuth_AES_key == null) {
            this._foundationAuth_AES_key = this.getFoundation_AESKey_fromPreference();
            if (this._foundationAuth_AES_key == null) {
                this._foundationAuth_AES_key = com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common();
                if (this._foundationAuth_AES_key == null) {
                    throw new IllegalArgumentException("CSDK Foundation Auth AES Key is null.");
                } else {
                    this.storeFoundatationAuth_AESKey_InPreference(this._foundationAuth_AES_key);
                }
            }
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        } else {
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        }
        return v0_7;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common():


    public static byte[] generateNewAESKey_Common()
    {
        try {
            IllegalArgumentException v0_4 = javax.crypto.KeyGenerator.getInstance("AES");
            v0_4.init(128);
            return v0_4.generateKey().getEncoded();
        } catch (IllegalArgumentException v0_1) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.TAG, v0_1.getMessage(), v0_1);
            throw new IllegalArgumentException("Auth Foundation : Auth AESKeyMgr : Failed to generate an AES key");
        }
    }

Method javax.crypto.KeyGenerator.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/cloud/AdobeCloudServiceSession;', 'ongoingCheckServiceConnection', '()V'), ('Lcom/adobe/creativesdk/foundation/auth/AdobeUXAuthManager;', 'isAuthenticated', '()Z'), ('Lcom/adobe/creativesdk/foundation/adobeinternal/auth/AdobeUXAuthManagerRestricted;', 'isAuthenticated', '()Z'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'isAuthenticated', '()Z'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'setCipherKey', '([B)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', 'createInstance', '([B)Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', '<init>', '([B)V'), ('Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudServiceSession.ongoingCheckServiceConnection():


    private void ongoingCheckServiceConnection()
    {
        if ((!this._checkIsAuthenticated) || (com.adobe.creativesdk.foundation.auth.AdobeUXAuthManager.getSharedAuthManager().isAuthenticated())) {
            if (this._useOngoingTimer) {
                java.util.Iterator v2 = this._httpServices.entrySet().iterator();
                while (v2.hasNext()) {
                    com.adobe.creativesdk.foundation.internal.utils.logging.Level v0_4 = ((java.util.Map$Entry) v2.next());
                    String v1_1 = ((com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpService) v0_4.getValue());
                    v0_4.getKey();
                    if (v1_1 != null) {
                        if (this._disconnectionNotifier != null) {
                            if (!v1_1.isConnected()) {
                                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudServiceSession.getSimpleName(), new StringBuilder().append("Ongoing timer.  Attempting to reconnect ").append(this.getClass().getSimpleName()).toString());
                                v1_1.reconnect();
                            }
                        } else {
                            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudServiceSession.getSimpleName(), new StringBuilder().append("Disconnect notification not set up for ").append(this.getClass().getSimpleName()).append(" timer").toString());
                        }
                    } else {
                        com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudServiceSession.getSimpleName(), new StringBuilder().append("Network service not set up for ").append(this.getClass().getSimpleName()).append(" timer").toString());
                    }
                }
            }
        } else {
            this.stopOngoingConnectionTimer();
        }
        return;
    }

Method com.adobe.creativesdk.foundation.auth.AdobeUXAuthManager.isAuthenticated():


    public boolean isAuthenticated()
    {
        return this.authManagerRestricted.isAuthenticated();
    }

Method com.adobe.creativesdk.foundation.adobeinternal.auth.AdobeUXAuthManagerRestricted.isAuthenticated():


    public boolean isAuthenticated()
    {
        return this._authManagerImpl.isAuthenticated();
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.isAuthenticated():


    public boolean isAuthenticated()
    {
        int v0 = 0;
        if (this.isInitialized()) {
            String v1_2 = com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance().getAdobeID();
            if (((this.hasValidAccessToken()) || (this.canRefreshAccessToken())) && (v1_2 != null)) {
                v0 = 1;
            }
        }
        return v0;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.setCipherKey():


    public void setCipherKey(byte[] p5)
    {
        if (p5 != null) {
            IllegalArgumentException v0_3 = new byte[p5.length];
            System.arraycopy(p5, 0, v0_3, 0, p5.length);
            try {
                this.cipher = com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance(v0_3);
            } catch (IllegalArgumentException v0_5) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, this.getClass().getSimpleName(), v0_5.getMessage(), v0_5);
                throw new IllegalArgumentException("CSDK Foundation Auth : Cannot create Cipher Instance !");
            }
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance():


    static com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher createInstance(byte[] p1)
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance == null) {
            com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance = new com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher(p1);
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.<init>():


    public AdobeCommonCipher(byte[] p4)
    {
        javax.crypto.spec.SecretKeySpec v0_1 = new javax.crypto.spec.SecretKeySpec(p4, "AES");
        this.encryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.encryptionCipher.init(1, v0_1);
        this.decryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.decryptionCipher.init(2, v0_1);
        return;
    }

Method javax.crypto.Cipher.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/cloud/AdobeCloudServiceSession;', 'ongoingCheckServiceConnection', '()V'), ('Lcom/adobe/creativesdk/foundation/auth/AdobeUXAuthManager;', 'isAuthenticated', '()Z'), ('Lcom/adobe/creativesdk/foundation/adobeinternal/auth/AdobeUXAuthManagerRestricted;', 'isAuthenticated', '()Z'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'isAuthenticated', '()Z'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'getFoundationAuthAESKey', '()[B'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'generateNewAESKey_Common', '()[B'), ('Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudServiceSession.ongoingCheckServiceConnection():


    private void ongoingCheckServiceConnection()
    {
        if ((!this._checkIsAuthenticated) || (com.adobe.creativesdk.foundation.auth.AdobeUXAuthManager.getSharedAuthManager().isAuthenticated())) {
            if (this._useOngoingTimer) {
                java.util.Iterator v2 = this._httpServices.entrySet().iterator();
                while (v2.hasNext()) {
                    com.adobe.creativesdk.foundation.internal.utils.logging.Level v0_4 = ((java.util.Map$Entry) v2.next());
                    String v1_1 = ((com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpService) v0_4.getValue());
                    v0_4.getKey();
                    if (v1_1 != null) {
                        if (this._disconnectionNotifier != null) {
                            if (!v1_1.isConnected()) {
                                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudServiceSession.getSimpleName(), new StringBuilder().append("Ongoing timer.  Attempting to reconnect ").append(this.getClass().getSimpleName()).toString());
                                v1_1.reconnect();
                            }
                        } else {
                            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudServiceSession.getSimpleName(), new StringBuilder().append("Disconnect notification not set up for ").append(this.getClass().getSimpleName()).append(" timer").toString());
                        }
                    } else {
                        com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudServiceSession.getSimpleName(), new StringBuilder().append("Network service not set up for ").append(this.getClass().getSimpleName()).append(" timer").toString());
                    }
                }
            }
        } else {
            this.stopOngoingConnectionTimer();
        }
        return;
    }

Method com.adobe.creativesdk.foundation.auth.AdobeUXAuthManager.isAuthenticated():


    public boolean isAuthenticated()
    {
        return this.authManagerRestricted.isAuthenticated();
    }

Method com.adobe.creativesdk.foundation.adobeinternal.auth.AdobeUXAuthManagerRestricted.isAuthenticated():


    public boolean isAuthenticated()
    {
        return this._authManagerImpl.isAuthenticated();
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.isAuthenticated():


    public boolean isAuthenticated()
    {
        int v0 = 0;
        if (this.isInitialized()) {
            String v1_2 = com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance().getAdobeID();
            if (((this.hasValidAccessToken()) || (this.canRefreshAccessToken())) && (v1_2 != null)) {
                v0 = 1;
            }
        }
        return v0;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getFoundationAuthAESKey():


    public byte[] getFoundationAuthAESKey()
    {
        IllegalArgumentException v0_7;
        if (this._foundationAuth_AES_key == null) {
            this._foundationAuth_AES_key = this.getFoundation_AESKey_fromPreference();
            if (this._foundationAuth_AES_key == null) {
                this._foundationAuth_AES_key = com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common();
                if (this._foundationAuth_AES_key == null) {
                    throw new IllegalArgumentException("CSDK Foundation Auth AES Key is null.");
                } else {
                    this.storeFoundatationAuth_AESKey_InPreference(this._foundationAuth_AES_key);
                }
            }
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        } else {
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        }
        return v0_7;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common():


    public static byte[] generateNewAESKey_Common()
    {
        try {
            IllegalArgumentException v0_4 = javax.crypto.KeyGenerator.getInstance("AES");
            v0_4.init(128);
            return v0_4.generateKey().getEncoded();
        } catch (IllegalArgumentException v0_1) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.TAG, v0_1.getMessage(), v0_1);
            throw new IllegalArgumentException("Auth Foundation : Auth AESKeyMgr : Failed to generate an AES key");
        }
    }

Method javax.crypto.KeyGenerator.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/cloud/AdobeCloudServiceSession;', 'refreshAccessTokenForService', '(Lcom/adobe/creativesdk/foundation/internal/net/AdobeNetworkHttpService;)Z'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'reAuthenticate', '()Z'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'getIMSService', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'getFoundationAuthAESKey', '()[B'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'generateNewAESKey_Common', '()[B'), ('Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudServiceSession.refreshAccessTokenForService():


    private boolean refreshAccessTokenForService(com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpService p3)
    {
        boolean v0_1 = com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.sharedAuthManager().reAuthenticate();
        if (v0_1) {
            p3.setAccessToken(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance().getAccessToken());
            p3.setSuspended(0);
        }
        return v0_1;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.reAuthenticate():


    public boolean reAuthenticate()
    {
        InterruptedException v0_0 = 0;
        if (this.isInitialized()) {
            if (android.os.Looper.myLooper() != android.os.Looper.getMainLooper()) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.DEBUG, "Authentication", "reAuthenticate() called");
                java.util.concurrent.locks.ReentrantLock v1_1 = new java.util.concurrent.locks.ReentrantLock();
                java.util.concurrent.locks.Condition v2_1 = v1_1.newCondition();
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager$1Output v3_2 = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager$1Output(this);
                com.adobe.creativesdk.foundation.internal.utils.logging.Level v4_1 = this.getIMSService().getAccessTokenExpirationTime();
                if ((v4_1 != null) && ((v4_1.getTime() - new java.util.Date().getTime()) > 0)) {
                    com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.DEBUG, "Authentication", "Access token required reauthentication sooner than expected.");
                }
                com.adobe.creativesdk.foundation.internal.utils.logging.Level v4_7 = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager$1LoginObserver(this, v1_1, v3_2, v2_1);
                com.adobe.creativesdk.foundation.internal.notification.AdobeLocalNotificationCenter.getDefaultNotificationCenter().addObserver(com.adobe.creativesdk.foundation.internal.notification.AdobeInternalNotificationID.AdobeAuthLoginNotification, v4_7);
                this.loginInternal(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthInteraction.AdobeAuthInteractionHeadless, 0);
                v1_1.lock();
                while (!v3_2.finished) {
                    try {
                        v2_1.await();
                    } catch (InterruptedException v0_2) {
                        com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.WARN, "Authentication", "Reauthenticate: Can not acquire permit.", v0_2);
                    }
                }
                v1_1.unlock();
                v0_0 = v4_7._result;
            } else {
                throw new RuntimeException("ReAuthenticate called on Main Thread!");
            }
        }
        return v0_0;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.getIMSService():


    private com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getIMSService()
    {
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance();
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getFoundationAuthAESKey():


    public byte[] getFoundationAuthAESKey()
    {
        IllegalArgumentException v0_7;
        if (this._foundationAuth_AES_key == null) {
            this._foundationAuth_AES_key = this.getFoundation_AESKey_fromPreference();
            if (this._foundationAuth_AES_key == null) {
                this._foundationAuth_AES_key = com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common();
                if (this._foundationAuth_AES_key == null) {
                    throw new IllegalArgumentException("CSDK Foundation Auth AES Key is null.");
                } else {
                    this.storeFoundatationAuth_AESKey_InPreference(this._foundationAuth_AES_key);
                }
            }
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        } else {
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        }
        return v0_7;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common():


    public static byte[] generateNewAESKey_Common()
    {
        try {
            IllegalArgumentException v0_4 = javax.crypto.KeyGenerator.getInstance("AES");
            v0_4.init(128);
            return v0_4.generateKey().getEncoded();
        } catch (IllegalArgumentException v0_1) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.TAG, v0_1.getMessage(), v0_1);
            throw new IllegalArgumentException("Auth Foundation : Auth AESKeyMgr : Failed to generate an AES key");
        }
    }

Method javax.crypto.KeyGenerator.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/cloud/AdobeCloudServiceSession;', 'refreshAccessTokenForService', '(Lcom/adobe/creativesdk/foundation/internal/net/AdobeNetworkHttpService;)Z'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'reAuthenticate', '()Z'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'getIMSService', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'setCipherKey', '([B)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', 'createInstance', '([B)Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', '<init>', '([B)V'), ('Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudServiceSession.refreshAccessTokenForService():


    private boolean refreshAccessTokenForService(com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpService p3)
    {
        boolean v0_1 = com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.sharedAuthManager().reAuthenticate();
        if (v0_1) {
            p3.setAccessToken(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance().getAccessToken());
            p3.setSuspended(0);
        }
        return v0_1;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.reAuthenticate():


    public boolean reAuthenticate()
    {
        InterruptedException v0_0 = 0;
        if (this.isInitialized()) {
            if (android.os.Looper.myLooper() != android.os.Looper.getMainLooper()) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.DEBUG, "Authentication", "reAuthenticate() called");
                java.util.concurrent.locks.ReentrantLock v1_1 = new java.util.concurrent.locks.ReentrantLock();
                java.util.concurrent.locks.Condition v2_1 = v1_1.newCondition();
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager$1Output v3_2 = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager$1Output(this);
                com.adobe.creativesdk.foundation.internal.utils.logging.Level v4_1 = this.getIMSService().getAccessTokenExpirationTime();
                if ((v4_1 != null) && ((v4_1.getTime() - new java.util.Date().getTime()) > 0)) {
                    com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.DEBUG, "Authentication", "Access token required reauthentication sooner than expected.");
                }
                com.adobe.creativesdk.foundation.internal.utils.logging.Level v4_7 = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager$1LoginObserver(this, v1_1, v3_2, v2_1);
                com.adobe.creativesdk.foundation.internal.notification.AdobeLocalNotificationCenter.getDefaultNotificationCenter().addObserver(com.adobe.creativesdk.foundation.internal.notification.AdobeInternalNotificationID.AdobeAuthLoginNotification, v4_7);
                this.loginInternal(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthInteraction.AdobeAuthInteractionHeadless, 0);
                v1_1.lock();
                while (!v3_2.finished) {
                    try {
                        v2_1.await();
                    } catch (InterruptedException v0_2) {
                        com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.WARN, "Authentication", "Reauthenticate: Can not acquire permit.", v0_2);
                    }
                }
                v1_1.unlock();
                v0_0 = v4_7._result;
            } else {
                throw new RuntimeException("ReAuthenticate called on Main Thread!");
            }
        }
        return v0_0;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.getIMSService():


    private com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getIMSService()
    {
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance();
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.setCipherKey():


    public void setCipherKey(byte[] p5)
    {
        if (p5 != null) {
            IllegalArgumentException v0_3 = new byte[p5.length];
            System.arraycopy(p5, 0, v0_3, 0, p5.length);
            try {
                this.cipher = com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance(v0_3);
            } catch (IllegalArgumentException v0_5) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, this.getClass().getSimpleName(), v0_5.getMessage(), v0_5);
                throw new IllegalArgumentException("CSDK Foundation Auth : Cannot create Cipher Instance !");
            }
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance():


    static com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher createInstance(byte[] p1)
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance == null) {
            com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance = new com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher(p1);
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.<init>():


    public AdobeCommonCipher(byte[] p4)
    {
        javax.crypto.spec.SecretKeySpec v0_1 = new javax.crypto.spec.SecretKeySpec(p4, "AES");
        this.encryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.encryptionCipher.init(1, v0_1);
        this.decryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.decryptionCipher.init(2, v0_1);
        return;
    }

Method javax.crypto.Cipher.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/cloud/AdobeCloudServiceSession;', 'HTTPServiceAuthenticationDidFail', '(Lcom/adobe/creativesdk/foundation/internal/net/AdobeNetworkHttpService;)Z'), ('Lcom/adobe/creativesdk/foundation/adobeinternal/cloud/AdobeCloudServiceSession;', 'refreshAccessTokenForService', '(Lcom/adobe/creativesdk/foundation/internal/net/AdobeNetworkHttpService;)Z'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'reAuthenticate', '()Z'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'getIMSService', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'getFoundationAuthAESKey', '()[B'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'generateNewAESKey_Common', '()[B'), ('Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudServiceSession.HTTPServiceAuthenticationDidFail():


    public boolean HTTPServiceAuthenticationDidFail(com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpService p2)
    {
        return this.refreshAccessTokenForService(p2);
    }

Method com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudServiceSession.refreshAccessTokenForService():


    private boolean refreshAccessTokenForService(com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpService p3)
    {
        boolean v0_1 = com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.sharedAuthManager().reAuthenticate();
        if (v0_1) {
            p3.setAccessToken(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance().getAccessToken());
            p3.setSuspended(0);
        }
        return v0_1;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.reAuthenticate():


    public boolean reAuthenticate()
    {
        InterruptedException v0_0 = 0;
        if (this.isInitialized()) {
            if (android.os.Looper.myLooper() != android.os.Looper.getMainLooper()) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.DEBUG, "Authentication", "reAuthenticate() called");
                java.util.concurrent.locks.ReentrantLock v1_1 = new java.util.concurrent.locks.ReentrantLock();
                java.util.concurrent.locks.Condition v2_1 = v1_1.newCondition();
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager$1Output v3_2 = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager$1Output(this);
                com.adobe.creativesdk.foundation.internal.utils.logging.Level v4_1 = this.getIMSService().getAccessTokenExpirationTime();
                if ((v4_1 != null) && ((v4_1.getTime() - new java.util.Date().getTime()) > 0)) {
                    com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.DEBUG, "Authentication", "Access token required reauthentication sooner than expected.");
                }
                com.adobe.creativesdk.foundation.internal.utils.logging.Level v4_7 = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager$1LoginObserver(this, v1_1, v3_2, v2_1);
                com.adobe.creativesdk.foundation.internal.notification.AdobeLocalNotificationCenter.getDefaultNotificationCenter().addObserver(com.adobe.creativesdk.foundation.internal.notification.AdobeInternalNotificationID.AdobeAuthLoginNotification, v4_7);
                this.loginInternal(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthInteraction.AdobeAuthInteractionHeadless, 0);
                v1_1.lock();
                while (!v3_2.finished) {
                    try {
                        v2_1.await();
                    } catch (InterruptedException v0_2) {
                        com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.WARN, "Authentication", "Reauthenticate: Can not acquire permit.", v0_2);
                    }
                }
                v1_1.unlock();
                v0_0 = v4_7._result;
            } else {
                throw new RuntimeException("ReAuthenticate called on Main Thread!");
            }
        }
        return v0_0;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.getIMSService():


    private com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getIMSService()
    {
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance();
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getFoundationAuthAESKey():


    public byte[] getFoundationAuthAESKey()
    {
        IllegalArgumentException v0_7;
        if (this._foundationAuth_AES_key == null) {
            this._foundationAuth_AES_key = this.getFoundation_AESKey_fromPreference();
            if (this._foundationAuth_AES_key == null) {
                this._foundationAuth_AES_key = com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common();
                if (this._foundationAuth_AES_key == null) {
                    throw new IllegalArgumentException("CSDK Foundation Auth AES Key is null.");
                } else {
                    this.storeFoundatationAuth_AESKey_InPreference(this._foundationAuth_AES_key);
                }
            }
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        } else {
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        }
        return v0_7;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common():


    public static byte[] generateNewAESKey_Common()
    {
        try {
            IllegalArgumentException v0_4 = javax.crypto.KeyGenerator.getInstance("AES");
            v0_4.init(128);
            return v0_4.generateKey().getEncoded();
        } catch (IllegalArgumentException v0_1) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.TAG, v0_1.getMessage(), v0_1);
            throw new IllegalArgumentException("Auth Foundation : Auth AESKeyMgr : Failed to generate an AES key");
        }
    }

Method javax.crypto.KeyGenerator.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/cloud/AdobeCloudServiceSession;', 'HTTPServiceAuthenticationDidFail', '(Lcom/adobe/creativesdk/foundation/internal/net/AdobeNetworkHttpService;)Z'), ('Lcom/adobe/creativesdk/foundation/adobeinternal/cloud/AdobeCloudServiceSession;', 'refreshAccessTokenForService', '(Lcom/adobe/creativesdk/foundation/internal/net/AdobeNetworkHttpService;)Z'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'reAuthenticate', '()Z'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'getIMSService', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'setCipherKey', '([B)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', 'createInstance', '([B)Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', '<init>', '([B)V'), ('Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudServiceSession.HTTPServiceAuthenticationDidFail():


    public boolean HTTPServiceAuthenticationDidFail(com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpService p2)
    {
        return this.refreshAccessTokenForService(p2);
    }

Method com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudServiceSession.refreshAccessTokenForService():


    private boolean refreshAccessTokenForService(com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpService p3)
    {
        boolean v0_1 = com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.sharedAuthManager().reAuthenticate();
        if (v0_1) {
            p3.setAccessToken(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance().getAccessToken());
            p3.setSuspended(0);
        }
        return v0_1;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.reAuthenticate():


    public boolean reAuthenticate()
    {
        InterruptedException v0_0 = 0;
        if (this.isInitialized()) {
            if (android.os.Looper.myLooper() != android.os.Looper.getMainLooper()) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.DEBUG, "Authentication", "reAuthenticate() called");
                java.util.concurrent.locks.ReentrantLock v1_1 = new java.util.concurrent.locks.ReentrantLock();
                java.util.concurrent.locks.Condition v2_1 = v1_1.newCondition();
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager$1Output v3_2 = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager$1Output(this);
                com.adobe.creativesdk.foundation.internal.utils.logging.Level v4_1 = this.getIMSService().getAccessTokenExpirationTime();
                if ((v4_1 != null) && ((v4_1.getTime() - new java.util.Date().getTime()) > 0)) {
                    com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.DEBUG, "Authentication", "Access token required reauthentication sooner than expected.");
                }
                com.adobe.creativesdk.foundation.internal.utils.logging.Level v4_7 = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager$1LoginObserver(this, v1_1, v3_2, v2_1);
                com.adobe.creativesdk.foundation.internal.notification.AdobeLocalNotificationCenter.getDefaultNotificationCenter().addObserver(com.adobe.creativesdk.foundation.internal.notification.AdobeInternalNotificationID.AdobeAuthLoginNotification, v4_7);
                this.loginInternal(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthInteraction.AdobeAuthInteractionHeadless, 0);
                v1_1.lock();
                while (!v3_2.finished) {
                    try {
                        v2_1.await();
                    } catch (InterruptedException v0_2) {
                        com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.WARN, "Authentication", "Reauthenticate: Can not acquire permit.", v0_2);
                    }
                }
                v1_1.unlock();
                v0_0 = v4_7._result;
            } else {
                throw new RuntimeException("ReAuthenticate called on Main Thread!");
            }
        }
        return v0_0;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.getIMSService():


    private com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getIMSService()
    {
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance();
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.setCipherKey():


    public void setCipherKey(byte[] p5)
    {
        if (p5 != null) {
            IllegalArgumentException v0_3 = new byte[p5.length];
            System.arraycopy(p5, 0, v0_3, 0, p5.length);
            try {
                this.cipher = com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance(v0_3);
            } catch (IllegalArgumentException v0_5) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, this.getClass().getSimpleName(), v0_5.getMessage(), v0_5);
                throw new IllegalArgumentException("CSDK Foundation Auth : Cannot create Cipher Instance !");
            }
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance():


    static com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher createInstance(byte[] p1)
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance == null) {
            com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance = new com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher(p1);
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.<init>():


    public AdobeCommonCipher(byte[] p4)
    {
        javax.crypto.spec.SecretKeySpec v0_1 = new javax.crypto.spec.SecretKeySpec(p4, "AES");
        this.encryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.encryptionCipher.init(1, v0_1);
        this.decryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.decryptionCipher.init(2, v0_1);
        return;
    }

Method javax.crypto.Cipher.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/cloud/AdobeCloudServiceSession;', 'configureEndpoint', '(Lcom/adobe/creativesdk/foundation/adobeinternal/cloud/AdobeCloudEndpoint;)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'getFoundationAuthAESKey', '()[B'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'generateNewAESKey_Common', '()[B'), ('Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudServiceSession.configureEndpoint():


    protected void configureEndpoint(com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudEndpoint p9)
    {
        if (p9 != null) {
            com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService v2 = com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance();
            String v3 = v2.getAccessToken();
            java.util.HashMap v4_1 = new java.util.HashMap();
            java.util.HashMap v1_11 = new Object[2];
            v1_11[0] = "CreativeSDK";
            v1_11[1] = com.adobe.creativesdk.foundation.AdobeCSDKFoundation.getVersion();
            Object v0_0 = String.format("%s%s", v1_11);
            if ((com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudServiceSession.$assertionsDisabled) || (v2.getClientID() != null)) {
                v4_1.put("x-api-key", v2.getClientID());
                v4_1.put("x-creativesdk-versions", v0_0);
                if ((com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudServiceSession.$assertionsDisabled) || (p9.getServiceURLs() != null)) {
                    java.util.Iterator v5_3 = p9.getServiceURLs().entrySet().iterator();
                    while (v5_3.hasNext()) {
                        Object v0_7 = ((java.util.Map$Entry) v5_3.next());
                        com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpService v6_3 = new com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpService(((java.net.URL) v0_7.getValue()).toString(), v2.getClientID(), v4_1);
                        v6_3.setAccessToken(v3);
                        v6_3.setHttpServiceDelegate(this);
                        this._httpServices.put(v0_7.getKey(), v6_3);
                    }
                    this._endpoint = p9;
                } else {
                    throw new AssertionError("Service endpoint URLs cannot be nil.");
                }
            } else {
                throw new AssertionError("clientID not initialized by the authentication module.");
            }
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getFoundationAuthAESKey():


    public byte[] getFoundationAuthAESKey()
    {
        IllegalArgumentException v0_7;
        if (this._foundationAuth_AES_key == null) {
            this._foundationAuth_AES_key = this.getFoundation_AESKey_fromPreference();
            if (this._foundationAuth_AES_key == null) {
                this._foundationAuth_AES_key = com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common();
                if (this._foundationAuth_AES_key == null) {
                    throw new IllegalArgumentException("CSDK Foundation Auth AES Key is null.");
                } else {
                    this.storeFoundatationAuth_AESKey_InPreference(this._foundationAuth_AES_key);
                }
            }
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        } else {
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        }
        return v0_7;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common():


    public static byte[] generateNewAESKey_Common()
    {
        try {
            IllegalArgumentException v0_4 = javax.crypto.KeyGenerator.getInstance("AES");
            v0_4.init(128);
            return v0_4.generateKey().getEncoded();
        } catch (IllegalArgumentException v0_1) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.TAG, v0_1.getMessage(), v0_1);
            throw new IllegalArgumentException("Auth Foundation : Auth AESKeyMgr : Failed to generate an AES key");
        }
    }

Method javax.crypto.KeyGenerator.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/cloud/AdobeCloudServiceSession;', 'configureEndpoint', '(Lcom/adobe/creativesdk/foundation/adobeinternal/cloud/AdobeCloudEndpoint;)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'setCipherKey', '([B)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', 'createInstance', '([B)Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', '<init>', '([B)V'), ('Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudServiceSession.configureEndpoint():


    protected void configureEndpoint(com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudEndpoint p9)
    {
        if (p9 != null) {
            com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService v2 = com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance();
            String v3 = v2.getAccessToken();
            java.util.HashMap v4_1 = new java.util.HashMap();
            java.util.HashMap v1_11 = new Object[2];
            v1_11[0] = "CreativeSDK";
            v1_11[1] = com.adobe.creativesdk.foundation.AdobeCSDKFoundation.getVersion();
            Object v0_0 = String.format("%s%s", v1_11);
            if ((com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudServiceSession.$assertionsDisabled) || (v2.getClientID() != null)) {
                v4_1.put("x-api-key", v2.getClientID());
                v4_1.put("x-creativesdk-versions", v0_0);
                if ((com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudServiceSession.$assertionsDisabled) || (p9.getServiceURLs() != null)) {
                    java.util.Iterator v5_3 = p9.getServiceURLs().entrySet().iterator();
                    while (v5_3.hasNext()) {
                        Object v0_7 = ((java.util.Map$Entry) v5_3.next());
                        com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpService v6_3 = new com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpService(((java.net.URL) v0_7.getValue()).toString(), v2.getClientID(), v4_1);
                        v6_3.setAccessToken(v3);
                        v6_3.setHttpServiceDelegate(this);
                        this._httpServices.put(v0_7.getKey(), v6_3);
                    }
                    this._endpoint = p9;
                } else {
                    throw new AssertionError("Service endpoint URLs cannot be nil.");
                }
            } else {
                throw new AssertionError("clientID not initialized by the authentication module.");
            }
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.setCipherKey():


    public void setCipherKey(byte[] p5)
    {
        if (p5 != null) {
            IllegalArgumentException v0_3 = new byte[p5.length];
            System.arraycopy(p5, 0, v0_3, 0, p5.length);
            try {
                this.cipher = com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance(v0_3);
            } catch (IllegalArgumentException v0_5) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, this.getClass().getSimpleName(), v0_5.getMessage(), v0_5);
                throw new IllegalArgumentException("CSDK Foundation Auth : Cannot create Cipher Instance !");
            }
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance():


    static com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher createInstance(byte[] p1)
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance == null) {
            com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance = new com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher(p1);
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.<init>():


    public AdobeCommonCipher(byte[] p4)
    {
        javax.crypto.spec.SecretKeySpec v0_1 = new javax.crypto.spec.SecretKeySpec(p4, "AES");
        this.encryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.encryptionCipher.init(1, v0_1);
        this.decryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.decryptionCipher.init(2, v0_1);
        return;
    }

Method javax.crypto.Cipher.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/cloud/AdobeCloudServiceSession;', 'update', '(Ljava/util/Observable; Ljava/lang/Object;)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'setCipherKey', '([B)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', 'createInstance', '([B)Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', '<init>', '([B)V'), ('Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudServiceSession.update():


    public void update(java.util.Observable p9, Object p10)
    {
        if ((((com.adobe.creativesdk.foundation.internal.notification.AdobeNotification) p10).getId() != com.adobe.creativesdk.foundation.internal.notification.AdobeInternalNotificationID.AdobeAuthLogoutNotification) || (((com.adobe.creativesdk.foundation.internal.notification.AdobeNotification) p10).getInfo() != null)) {
            if ((((com.adobe.creativesdk.foundation.internal.notification.AdobeNotification) p10).getId() == com.adobe.creativesdk.foundation.internal.notification.AdobeInternalNotificationID.AdobeAuthLoginNotification) || (((com.adobe.creativesdk.foundation.internal.notification.AdobeNotification) p10).getId() == com.adobe.creativesdk.foundation.internal.notification.AdobeInternalNotificationID.AdobeAuthLoginExternalNotification)) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService v5 = com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance();
                java.util.Iterator v6 = this._httpServices.entrySet().iterator();
                while (v6.hasNext()) {
                    java.net.URL v0_17 = ((java.util.Map$Entry) v6.next());
                    String v1_5 = ((com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpService) v0_17.getValue());
                    String v2_1 = ((String) v0_17.getKey());
                    v1_5.setAccessToken(v5.getAccessToken());
                    v1_5.setSuspended(0);
                    if (this._endpoint != null) {
                        if ((com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudServiceSession.$assertionsDisabled) || (this._endpoint.getServiceURLs() != null)) {
                            java.util.Map$Entry v3_8;
                            if (this._endpoint.getServiceURLs() == null) {
                                v3_8 = 0;
                            } else {
                                v3_8 = ((java.net.URL) this._endpoint.getServiceURLs().get(v2_1));
                            }
                            if (v3_8 == null) {
                                if ((this._endpoint.getServiceURLs() != null) && (this._endpoint.getServiceURLs().size() > 0)) {
                                    if (!v2_1.equals("default")) {
                                        v1_5.setBaseURL(0);
                                    } else {
                                        java.util.Map$Entry v3_22 = this._endpoint.getServiceURLs().entrySet().iterator();
                                        if (v6.hasNext()) {
                                            v3_22.next();
                                            v0_17.getKey();
                                        }
                                        v1_5.setBaseURL(((java.net.URL) this._endpoint.getServiceURLs().get(v2_1)));
                                    }
                                }
                            } else {
                                v1_5.setBaseURL(v3_8);
                            }
                        } else {
                            throw new AssertionError("Service endpoint URLs cannot be nil.");
                        }
                    }
                }
                this.setUpService();
            }
        } else {
            this.tearDownService();
            this.stopConnectionTimer();
            this.stopOngoingConnectionTimer();
            String v1_2 = this._httpServices.entrySet().iterator();
            while (v1_2.hasNext()) {
                ((com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpService) ((java.util.Map$Entry) v1_2.next()).getValue()).clearQueuedRequests();
            }
            this._httpServices.clear();
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.setCipherKey():


    public void setCipherKey(byte[] p5)
    {
        if (p5 != null) {
            IllegalArgumentException v0_3 = new byte[p5.length];
            System.arraycopy(p5, 0, v0_3, 0, p5.length);
            try {
                this.cipher = com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance(v0_3);
            } catch (IllegalArgumentException v0_5) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, this.getClass().getSimpleName(), v0_5.getMessage(), v0_5);
                throw new IllegalArgumentException("CSDK Foundation Auth : Cannot create Cipher Instance !");
            }
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance():


    static com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher createInstance(byte[] p1)
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance == null) {
            com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance = new com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher(p1);
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.<init>():


    public AdobeCommonCipher(byte[] p4)
    {
        javax.crypto.spec.SecretKeySpec v0_1 = new javax.crypto.spec.SecretKeySpec(p4, "AES");
        this.encryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.encryptionCipher.init(1, v0_1);
        this.decryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.decryptionCipher.init(2, v0_1);
        return;
    }

Method javax.crypto.Cipher.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/cloud/AdobeCloudServiceSession;', 'update', '(Ljava/util/Observable; Ljava/lang/Object;)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'getFoundationAuthAESKey', '()[B'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'generateNewAESKey_Common', '()[B'), ('Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudServiceSession.update():


    public void update(java.util.Observable p9, Object p10)
    {
        if ((((com.adobe.creativesdk.foundation.internal.notification.AdobeNotification) p10).getId() != com.adobe.creativesdk.foundation.internal.notification.AdobeInternalNotificationID.AdobeAuthLogoutNotification) || (((com.adobe.creativesdk.foundation.internal.notification.AdobeNotification) p10).getInfo() != null)) {
            if ((((com.adobe.creativesdk.foundation.internal.notification.AdobeNotification) p10).getId() == com.adobe.creativesdk.foundation.internal.notification.AdobeInternalNotificationID.AdobeAuthLoginNotification) || (((com.adobe.creativesdk.foundation.internal.notification.AdobeNotification) p10).getId() == com.adobe.creativesdk.foundation.internal.notification.AdobeInternalNotificationID.AdobeAuthLoginExternalNotification)) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService v5 = com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance();
                java.util.Iterator v6 = this._httpServices.entrySet().iterator();
                while (v6.hasNext()) {
                    java.net.URL v0_17 = ((java.util.Map$Entry) v6.next());
                    String v1_5 = ((com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpService) v0_17.getValue());
                    String v2_1 = ((String) v0_17.getKey());
                    v1_5.setAccessToken(v5.getAccessToken());
                    v1_5.setSuspended(0);
                    if (this._endpoint != null) {
                        if ((com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudServiceSession.$assertionsDisabled) || (this._endpoint.getServiceURLs() != null)) {
                            java.util.Map$Entry v3_8;
                            if (this._endpoint.getServiceURLs() == null) {
                                v3_8 = 0;
                            } else {
                                v3_8 = ((java.net.URL) this._endpoint.getServiceURLs().get(v2_1));
                            }
                            if (v3_8 == null) {
                                if ((this._endpoint.getServiceURLs() != null) && (this._endpoint.getServiceURLs().size() > 0)) {
                                    if (!v2_1.equals("default")) {
                                        v1_5.setBaseURL(0);
                                    } else {
                                        java.util.Map$Entry v3_22 = this._endpoint.getServiceURLs().entrySet().iterator();
                                        if (v6.hasNext()) {
                                            v3_22.next();
                                            v0_17.getKey();
                                        }
                                        v1_5.setBaseURL(((java.net.URL) this._endpoint.getServiceURLs().get(v2_1)));
                                    }
                                }
                            } else {
                                v1_5.setBaseURL(v3_8);
                            }
                        } else {
                            throw new AssertionError("Service endpoint URLs cannot be nil.");
                        }
                    }
                }
                this.setUpService();
            }
        } else {
            this.tearDownService();
            this.stopConnectionTimer();
            this.stopOngoingConnectionTimer();
            String v1_2 = this._httpServices.entrySet().iterator();
            while (v1_2.hasNext()) {
                ((com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpService) ((java.util.Map$Entry) v1_2.next()).getValue()).clearQueuedRequests();
            }
            this._httpServices.clear();
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getFoundationAuthAESKey():


    public byte[] getFoundationAuthAESKey()
    {
        IllegalArgumentException v0_7;
        if (this._foundationAuth_AES_key == null) {
            this._foundationAuth_AES_key = this.getFoundation_AESKey_fromPreference();
            if (this._foundationAuth_AES_key == null) {
                this._foundationAuth_AES_key = com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common();
                if (this._foundationAuth_AES_key == null) {
                    throw new IllegalArgumentException("CSDK Foundation Auth AES Key is null.");
                } else {
                    this.storeFoundatationAuth_AESKey_InPreference(this._foundationAuth_AES_key);
                }
            }
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        } else {
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        }
        return v0_7;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common():


    public static byte[] generateNewAESKey_Common()
    {
        try {
            IllegalArgumentException v0_4 = javax.crypto.KeyGenerator.getInstance("AES");
            v0_4.init(128);
            return v0_4.generateKey().getEncoded();
        } catch (IllegalArgumentException v0_1) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.TAG, v0_1.getMessage(), v0_1);
            throw new IllegalArgumentException("Auth Foundation : Auth AESKeyMgr : Failed to generate an AES key");
        }
    }

Method javax.crypto.KeyGenerator.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/entitlement/AdobeEntitlementSession$4;', 'onSuccess', '(Lcom/adobe/creativesdk/foundation/internal/net/AdobeNetworkHttpResponse;)V'), ('Lcom/adobe/creativesdk/foundation/internal/entitlement/AdobeEntitlementUtils;', 'fallbackServicesData', '()Lorg/json/JSONObject;'), ('Lcom/adobe/creativesdk/foundation/internal/entitlement/AdobeEntitlementUtils;', 'fallbackEndpointsData', '()Lorg/json/JSONObject;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'getFoundationAuthAESKey', '()[B'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'generateNewAESKey_Common', '()[B'), ('Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.entitlement.AdobeEntitlementSession$4.onSuccess():


    public void onSuccess(com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpResponse p8)
    {
        if (p8.getStatusCode() == 200) {
            try {
                int v6 = com.adobe.creativesdk.foundation.internal.entitlement.AdobeEntitlementUtils.JSONObjectWithData(p8.getDataString());
                com.adobe.creativesdk.foundation.internal.utils.AdobeCSDKException v0_0 = 0;
            } catch (com.adobe.creativesdk.foundation.internal.utils.AdobeCSDKException v0_0) {
                v6 = 0;
            }
            if (v0_0 != null) {
                if (!this.val$finalUseFallbackDataOnFailure) {
                    this.this$0.postResposeToErrorBlock(this.this$0.errorFromResponse(p8, 0, 0), this.val$errorBlock, this.val$handler);
                } else {
                    com.adobe.creativesdk.foundation.internal.utils.AdobeCSDKException v0_5 = com.adobe.creativesdk.foundation.internal.entitlement.AdobeEntitlementUtils.fallbackServicesData();
                    try {
                        v0_5.putOpt("userId", com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance().getAdobeID());
                        com.adobe.creativesdk.foundation.adobeinternal.entitlement.AdobeEntitlementSession v1_2 = this.this$0;
                        v1_2.postResponseToSuccessBlock(v0_5, this.val$accessToken, this.val$successBlock, this.val$handler);
                    } catch (com.adobe.creativesdk.foundation.internal.utils.AdobeCSDKException v0_6) {
                        com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, "getUserProfileForToken - JSON Exception", v0_6.getMessage());
                        this.this$0.postResposeToErrorBlock(this.this$0.errorFromResponse(p8, v1_2, v1_2), this.val$errorBlock, this.val$handler);
                    }
                }
            } else {
                com.adobe.creativesdk.foundation.IAdobeGenericErrorCallback v2_6 = com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getAdobeID();
                if ((v2_6 != null) && (v6 != 0)) {
                    com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCache.getSharedInstance().addObject(v6.toString(), v2_6, "profile", java.util.EnumSet.of(com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheOptions.AdobeCommonCacheKeepInMemoryCache, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheOptions.AdobeCommonCacheKeepOnDiskCache), "com.adobe.cc.entitlements");
                    com.adobe.creativesdk.foundation.internal.utils.AdobeCSDKException v0_16 = com.adobe.creativesdk.foundation.adobeinternal.entitlement.AdobeEntitlementSession.access$000(this.this$0).edit();
                    v0_16.putString("profile", v6.toString());
                    v0_16.commit();
                }
                this.this$0.postResponseToSuccessBlock(v6, this.val$accessToken, this.val$successBlock, this.val$handler);
            }
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.entitlement.AdobeEntitlementUtils.fallbackServicesData():


    public static org.json.JSONObject fallbackServicesData()
    {
        org.json.JSONObject v1_1 = new org.json.JSONObject();
        try {
            v1_1.put("endpoints", com.adobe.creativesdk.foundation.internal.entitlement.AdobeEntitlementUtils.fallbackEndpointsData().optJSONArray("endpoints"));
            v1_1.put("services", new org.json.JSONObject("\t\t\t{\nBehance: {\n                \"allow_private_endpoint\": true,\nentitled: true\n            },\nccv: {\n                \"allow_private_endpoint\": true,\nentitled: true\n            },\ncollaboration: {\n                \"allow_private_endpoint\": true,\nentitled: true\n            },\ncolor: {\n                \"allow_private_endpoint\": true,\nentitled: true\n            },\ndesign_assets: {\n                \"allow_private_endpoint\": true,\nentitled: true\n            },\nedge_inspect: {\n                \"allow_private_endpoint\": true,\nentitled: true\n            },\nextract: {\n                \"allow_private_endpoint\": true,\nentitled: true\n            },\nfile_sync: {\n                \"allow_private_endpoint\": true,\nentitled: true\n            },\nimage: {\n                \"allow_private_endpoint\": true,\nentitled: true\n            },\nlibraries: {\n                \"allow_private_endpoint\": true,\nentitled: true\n            },\nlightroom: {\n                \"allow_private_endpoint\": true,\nentitled: true\n            },\nphonegap_build: {\n                \"allow_private_endpoint\": true,\nentitled: true\n            },\npreview: {\n                \"allow_private_endpoint\": true,\nentitled: true\n            },\nstorage: {\n                \"allow_private_endpoint\": true,\nentitled: true\n            },\nstory: {\n                \"allow_private_endpoint\": true,\nentitled: true\n            },\nsync_metadata: {\n                \"allow_private_endpoint\": true,\nentitled: true\n            },\nsync_settings: {\n                \"allow_private_endpoint\": true,\nentitled: true\n            },\ntypekit: {\n                \"allow_private_endpoint\": true,\nentitled: true\n            }\nstock: {\n                \"allow_private_endpoint\": true,\nentitled: true,\nservice_level: free_basic\n            }\n        }"));
        } catch (org.json.JSONException v0_1) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.entitlement.AdobeEntitlementUtils.getSimpleName(), v0_1.getMessage(), v0_1);
        }
        return v1_1;
    }

Method com.adobe.creativesdk.foundation.internal.entitlement.AdobeEntitlementUtils.fallbackEndpointsData():


    public static org.json.JSONObject fallbackEndpointsData()
    {
        org.json.JSONException v0_1;
        org.json.JSONException v0_8 = com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance().getEnvironment();
        if (v0_8 != com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIMSEnvironment.AdobeAuthIMSEnvironmentTestUS) {
            if (v0_8 != com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIMSEnvironment.AdobeAuthIMSEnvironmentStageUS) {
                if (v0_8 == com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIMSEnvironment.AdobeAuthIMSEnvironmentProductionUS) {
                    try {
                        v0_1 = new org.json.JSONObject("{\nendpoints:\n\t[\n\t{\"features\" : {\n\t\t\"files\" : {\"storage\" : {\"uri\" : \"https://cc-api-storage.adobe.io\"}, \"archive\" :{ \"uri\" : \"https://cc-api-storage.adobe.io\"} },\n\t\t\"assets\" : {\"storage\" : {\"uri\" : \"https://cc-api-storage.adobe.io\"}},\n\t\t\"libraries\" : {\"storage\" : {\"uri\" : \"https://cc-api-storage.adobe.io\"}},\n\t\t\"imageservices\" : {\"service\" : {\"uri\" : \"https://cc-api-image.adobe.io\"}},\n\t\t\"clipboard\" : {\"service\" : {\"uri\" : \"https://cc-api-storage.adobe.io\"}}\n\t},\n\t\t\"id\" : \"00000000-0000-0000-0000-000000000000\",\n\t\t\"name\" : \"Adobe Creative Cloud\",\n\t\t\"private\" : false,\n\t\t\"status\" : \"ONLINE\"},\n\t]\n};");
                    } catch (org.json.JSONException v0_2) {
                        com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.entitlement.AdobeEntitlementUtils.getSimpleName(), v0_2.getMessage(), v0_2);
                    }
                    return v0_1;
                }
                v0_1 = 0;
            } else {
                try {
                    v0_1 = new org.json.JSONObject("{\nendpoints:\n\t[\n\t{\"features\" : {\n\t\t\"files\" : {\"storage\" : {\"uri\" : \"https://cc-api-storage-stage.adobe.io\"},\"archive\" :{ \"uri\" : \"https://cc-api-storage-stage.adobe.io\"}},\n\t\t\"assets\" : {\"storage\" : {\"uri\" : \"https://cc-api-storage-stage.adobe.io\"}},\n\t\t\"libraries\" : {\"storage\" : {\"uri\" : \"https://cc-api-storage-stage.adobe.io\"}},\n\t\t\"imageservices\" : {\"service\" : {\"uri\" : \"https://cc-api-image-stage.adobe.io\"}},\n\t\t\"clipboard\" : {\"service\" : {\"uri\" : \"https://cc-api-storage-stage.adobe.io\"}}\n\t},\n\t\t\"id\" : \"00000000-0000-0000-0000-000000000000\",\n\t\t\"name\" : \"Adobe Creative Cloud [Stage] (static)\",\n\t\t\"private\" : false,\n\t\t\"status\" : \"ONLINE\"},\n\t]\n};");
                } catch (org.json.JSONException v0_5) {
                    com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.entitlement.AdobeEntitlementUtils.getSimpleName(), v0_5.getMessage(), v0_5);
                    v0_1 = 0;
                }
            }
        } else {
            try {
                v0_1 = new org.json.JSONObject("{\nendpoints:\n\t[\n\t{\"features\" : {\"photos\" : {\"service\" : {\"uri\" : \"https://api.oznext.com\"}}},\n\t\t\"id\" : \"00000000-0000-0000-0000-000000000000\",\n\t\t\"name\" : \"Adobe Creative Cloud [QA1]\",\n\t\t\"private\" : false,\n\t\t\"status\" : \"ONLINE\"}\n\t]\n};");
            } catch (org.json.JSONException v0_7) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.entitlement.AdobeEntitlementUtils.getSimpleName(), v0_7.getMessage(), v0_7);
                v0_1 = 0;
            }
        }
        return v0_1;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getFoundationAuthAESKey():


    public byte[] getFoundationAuthAESKey()
    {
        IllegalArgumentException v0_7;
        if (this._foundationAuth_AES_key == null) {
            this._foundationAuth_AES_key = this.getFoundation_AESKey_fromPreference();
            if (this._foundationAuth_AES_key == null) {
                this._foundationAuth_AES_key = com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common();
                if (this._foundationAuth_AES_key == null) {
                    throw new IllegalArgumentException("CSDK Foundation Auth AES Key is null.");
                } else {
                    this.storeFoundatationAuth_AESKey_InPreference(this._foundationAuth_AES_key);
                }
            }
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        } else {
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        }
        return v0_7;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common():


    public static byte[] generateNewAESKey_Common()
    {
        try {
            IllegalArgumentException v0_4 = javax.crypto.KeyGenerator.getInstance("AES");
            v0_4.init(128);
            return v0_4.generateKey().getEncoded();
        } catch (IllegalArgumentException v0_1) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.TAG, v0_1.getMessage(), v0_1);
            throw new IllegalArgumentException("Auth Foundation : Auth AESKeyMgr : Failed to generate an AES key");
        }
    }

Method javax.crypto.KeyGenerator.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/entitlement/AdobeEntitlementSession$4;', 'onSuccess', '(Lcom/adobe/creativesdk/foundation/internal/net/AdobeNetworkHttpResponse;)V'), ('Lcom/adobe/creativesdk/foundation/internal/entitlement/AdobeEntitlementUtils;', 'fallbackServicesData', '()Lorg/json/JSONObject;'), ('Lcom/adobe/creativesdk/foundation/internal/entitlement/AdobeEntitlementUtils;', 'fallbackEndpointsData', '()Lorg/json/JSONObject;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'setCipherKey', '([B)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', 'createInstance', '([B)Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', '<init>', '([B)V'), ('Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.entitlement.AdobeEntitlementSession$4.onSuccess():


    public void onSuccess(com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpResponse p8)
    {
        if (p8.getStatusCode() == 200) {
            try {
                int v6 = com.adobe.creativesdk.foundation.internal.entitlement.AdobeEntitlementUtils.JSONObjectWithData(p8.getDataString());
                com.adobe.creativesdk.foundation.internal.utils.AdobeCSDKException v0_0 = 0;
            } catch (com.adobe.creativesdk.foundation.internal.utils.AdobeCSDKException v0_0) {
                v6 = 0;
            }
            if (v0_0 != null) {
                if (!this.val$finalUseFallbackDataOnFailure) {
                    this.this$0.postResposeToErrorBlock(this.this$0.errorFromResponse(p8, 0, 0), this.val$errorBlock, this.val$handler);
                } else {
                    com.adobe.creativesdk.foundation.internal.utils.AdobeCSDKException v0_5 = com.adobe.creativesdk.foundation.internal.entitlement.AdobeEntitlementUtils.fallbackServicesData();
                    try {
                        v0_5.putOpt("userId", com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance().getAdobeID());
                        com.adobe.creativesdk.foundation.adobeinternal.entitlement.AdobeEntitlementSession v1_2 = this.this$0;
                        v1_2.postResponseToSuccessBlock(v0_5, this.val$accessToken, this.val$successBlock, this.val$handler);
                    } catch (com.adobe.creativesdk.foundation.internal.utils.AdobeCSDKException v0_6) {
                        com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, "getUserProfileForToken - JSON Exception", v0_6.getMessage());
                        this.this$0.postResposeToErrorBlock(this.this$0.errorFromResponse(p8, v1_2, v1_2), this.val$errorBlock, this.val$handler);
                    }
                }
            } else {
                com.adobe.creativesdk.foundation.IAdobeGenericErrorCallback v2_6 = com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getAdobeID();
                if ((v2_6 != null) && (v6 != 0)) {
                    com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCache.getSharedInstance().addObject(v6.toString(), v2_6, "profile", java.util.EnumSet.of(com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheOptions.AdobeCommonCacheKeepInMemoryCache, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheOptions.AdobeCommonCacheKeepOnDiskCache), "com.adobe.cc.entitlements");
                    com.adobe.creativesdk.foundation.internal.utils.AdobeCSDKException v0_16 = com.adobe.creativesdk.foundation.adobeinternal.entitlement.AdobeEntitlementSession.access$000(this.this$0).edit();
                    v0_16.putString("profile", v6.toString());
                    v0_16.commit();
                }
                this.this$0.postResponseToSuccessBlock(v6, this.val$accessToken, this.val$successBlock, this.val$handler);
            }
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.entitlement.AdobeEntitlementUtils.fallbackServicesData():


    public static org.json.JSONObject fallbackServicesData()
    {
        org.json.JSONObject v1_1 = new org.json.JSONObject();
        try {
            v1_1.put("endpoints", com.adobe.creativesdk.foundation.internal.entitlement.AdobeEntitlementUtils.fallbackEndpointsData().optJSONArray("endpoints"));
            v1_1.put("services", new org.json.JSONObject("\t\t\t{\nBehance: {\n                \"allow_private_endpoint\": true,\nentitled: true\n            },\nccv: {\n                \"allow_private_endpoint\": true,\nentitled: true\n            },\ncollaboration: {\n                \"allow_private_endpoint\": true,\nentitled: true\n            },\ncolor: {\n                \"allow_private_endpoint\": true,\nentitled: true\n            },\ndesign_assets: {\n                \"allow_private_endpoint\": true,\nentitled: true\n            },\nedge_inspect: {\n                \"allow_private_endpoint\": true,\nentitled: true\n            },\nextract: {\n                \"allow_private_endpoint\": true,\nentitled: true\n            },\nfile_sync: {\n                \"allow_private_endpoint\": true,\nentitled: true\n            },\nimage: {\n                \"allow_private_endpoint\": true,\nentitled: true\n            },\nlibraries: {\n                \"allow_private_endpoint\": true,\nentitled: true\n            },\nlightroom: {\n                \"allow_private_endpoint\": true,\nentitled: true\n            },\nphonegap_build: {\n                \"allow_private_endpoint\": true,\nentitled: true\n            },\npreview: {\n                \"allow_private_endpoint\": true,\nentitled: true\n            },\nstorage: {\n                \"allow_private_endpoint\": true,\nentitled: true\n            },\nstory: {\n                \"allow_private_endpoint\": true,\nentitled: true\n            },\nsync_metadata: {\n                \"allow_private_endpoint\": true,\nentitled: true\n            },\nsync_settings: {\n                \"allow_private_endpoint\": true,\nentitled: true\n            },\ntypekit: {\n                \"allow_private_endpoint\": true,\nentitled: true\n            }\nstock: {\n                \"allow_private_endpoint\": true,\nentitled: true,\nservice_level: free_basic\n            }\n        }"));
        } catch (org.json.JSONException v0_1) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.entitlement.AdobeEntitlementUtils.getSimpleName(), v0_1.getMessage(), v0_1);
        }
        return v1_1;
    }

Method com.adobe.creativesdk.foundation.internal.entitlement.AdobeEntitlementUtils.fallbackEndpointsData():


    public static org.json.JSONObject fallbackEndpointsData()
    {
        org.json.JSONException v0_1;
        org.json.JSONException v0_8 = com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance().getEnvironment();
        if (v0_8 != com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIMSEnvironment.AdobeAuthIMSEnvironmentTestUS) {
            if (v0_8 != com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIMSEnvironment.AdobeAuthIMSEnvironmentStageUS) {
                if (v0_8 == com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIMSEnvironment.AdobeAuthIMSEnvironmentProductionUS) {
                    try {
                        v0_1 = new org.json.JSONObject("{\nendpoints:\n\t[\n\t{\"features\" : {\n\t\t\"files\" : {\"storage\" : {\"uri\" : \"https://cc-api-storage.adobe.io\"}, \"archive\" :{ \"uri\" : \"https://cc-api-storage.adobe.io\"} },\n\t\t\"assets\" : {\"storage\" : {\"uri\" : \"https://cc-api-storage.adobe.io\"}},\n\t\t\"libraries\" : {\"storage\" : {\"uri\" : \"https://cc-api-storage.adobe.io\"}},\n\t\t\"imageservices\" : {\"service\" : {\"uri\" : \"https://cc-api-image.adobe.io\"}},\n\t\t\"clipboard\" : {\"service\" : {\"uri\" : \"https://cc-api-storage.adobe.io\"}}\n\t},\n\t\t\"id\" : \"00000000-0000-0000-0000-000000000000\",\n\t\t\"name\" : \"Adobe Creative Cloud\",\n\t\t\"private\" : false,\n\t\t\"status\" : \"ONLINE\"},\n\t]\n};");
                    } catch (org.json.JSONException v0_2) {
                        com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.entitlement.AdobeEntitlementUtils.getSimpleName(), v0_2.getMessage(), v0_2);
                    }
                    return v0_1;
                }
                v0_1 = 0;
            } else {
                try {
                    v0_1 = new org.json.JSONObject("{\nendpoints:\n\t[\n\t{\"features\" : {\n\t\t\"files\" : {\"storage\" : {\"uri\" : \"https://cc-api-storage-stage.adobe.io\"},\"archive\" :{ \"uri\" : \"https://cc-api-storage-stage.adobe.io\"}},\n\t\t\"assets\" : {\"storage\" : {\"uri\" : \"https://cc-api-storage-stage.adobe.io\"}},\n\t\t\"libraries\" : {\"storage\" : {\"uri\" : \"https://cc-api-storage-stage.adobe.io\"}},\n\t\t\"imageservices\" : {\"service\" : {\"uri\" : \"https://cc-api-image-stage.adobe.io\"}},\n\t\t\"clipboard\" : {\"service\" : {\"uri\" : \"https://cc-api-storage-stage.adobe.io\"}}\n\t},\n\t\t\"id\" : \"00000000-0000-0000-0000-000000000000\",\n\t\t\"name\" : \"Adobe Creative Cloud [Stage] (static)\",\n\t\t\"private\" : false,\n\t\t\"status\" : \"ONLINE\"},\n\t]\n};");
                } catch (org.json.JSONException v0_5) {
                    com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.entitlement.AdobeEntitlementUtils.getSimpleName(), v0_5.getMessage(), v0_5);
                    v0_1 = 0;
                }
            }
        } else {
            try {
                v0_1 = new org.json.JSONObject("{\nendpoints:\n\t[\n\t{\"features\" : {\"photos\" : {\"service\" : {\"uri\" : \"https://api.oznext.com\"}}},\n\t\t\"id\" : \"00000000-0000-0000-0000-000000000000\",\n\t\t\"name\" : \"Adobe Creative Cloud [QA1]\",\n\t\t\"private\" : false,\n\t\t\"status\" : \"ONLINE\"}\n\t]\n};");
            } catch (org.json.JSONException v0_7) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.entitlement.AdobeEntitlementUtils.getSimpleName(), v0_7.getMessage(), v0_7);
                v0_1 = 0;
            }
        }
        return v0_1;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.setCipherKey():


    public void setCipherKey(byte[] p5)
    {
        if (p5 != null) {
            IllegalArgumentException v0_3 = new byte[p5.length];
            System.arraycopy(p5, 0, v0_3, 0, p5.length);
            try {
                this.cipher = com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance(v0_3);
            } catch (IllegalArgumentException v0_5) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, this.getClass().getSimpleName(), v0_5.getMessage(), v0_5);
                throw new IllegalArgumentException("CSDK Foundation Auth : Cannot create Cipher Instance !");
            }
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance():


    static com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher createInstance(byte[] p1)
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance == null) {
            com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance = new com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher(p1);
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.<init>():


    public AdobeCommonCipher(byte[] p4)
    {
        javax.crypto.spec.SecretKeySpec v0_1 = new javax.crypto.spec.SecretKeySpec(p4, "AES");
        this.encryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.encryptionCipher.init(1, v0_1);
        this.decryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.decryptionCipher.init(2, v0_1);
        return;
    }

Method javax.crypto.Cipher.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/entitlement/AdobeEntitlementSession;', '<init>', '(Lcom/adobe/creativesdk/foundation/adobeinternal/cloud/AdobeCloudEndpoint;)V'), ('Lcom/adobe/creativesdk/foundation/adobeinternal/cloud/AdobeCloudServiceSession;', '<init>', '(Lcom/adobe/creativesdk/foundation/adobeinternal/cloud/AdobeCloudEndpoint;)V'), ('Lcom/adobe/creativesdk/foundation/adobeinternal/cloud/AdobeCloudServiceSession;', 'configureEndpoint', '(Lcom/adobe/creativesdk/foundation/adobeinternal/cloud/AdobeCloudEndpoint;)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'getFoundationAuthAESKey', '()[B'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'generateNewAESKey_Common', '()[B'), ('Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.entitlement.AdobeEntitlementSession.<init>():


    public AdobeEntitlementSession(com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudEndpoint p4)
    {
        super(p4);
        super.setUpService();
        super.setDisconnectionNotifier(com.adobe.creativesdk.foundation.internal.notification.AdobeInternalNotificationID.AdobeEntitlementServiceDisconnectedNotification);
        super.setupOngoingConnectionTimer(15, 0);
        super._cacheConfigured = 0;
        super._sharedPrefs = com.adobe.creativesdk.foundation.internal.common.AdobeCommonApplicationContextHolder.getSharedApplicationContextHolder().getApplicationContext().getSharedPreferences("com.adobe.cc.entitlements", 0);
        return;
    }

Method com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudServiceSession.<init>():


    protected AdobeCloudServiceSession(com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudEndpoint p1)
    {
        this.configureEndpoint(p1);
        return;
    }

Method com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudServiceSession.configureEndpoint():


    protected void configureEndpoint(com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudEndpoint p9)
    {
        if (p9 != null) {
            com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService v2 = com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance();
            String v3 = v2.getAccessToken();
            java.util.HashMap v4_1 = new java.util.HashMap();
            java.util.HashMap v1_11 = new Object[2];
            v1_11[0] = "CreativeSDK";
            v1_11[1] = com.adobe.creativesdk.foundation.AdobeCSDKFoundation.getVersion();
            Object v0_0 = String.format("%s%s", v1_11);
            if ((com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudServiceSession.$assertionsDisabled) || (v2.getClientID() != null)) {
                v4_1.put("x-api-key", v2.getClientID());
                v4_1.put("x-creativesdk-versions", v0_0);
                if ((com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudServiceSession.$assertionsDisabled) || (p9.getServiceURLs() != null)) {
                    java.util.Iterator v5_3 = p9.getServiceURLs().entrySet().iterator();
                    while (v5_3.hasNext()) {
                        Object v0_7 = ((java.util.Map$Entry) v5_3.next());
                        com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpService v6_3 = new com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpService(((java.net.URL) v0_7.getValue()).toString(), v2.getClientID(), v4_1);
                        v6_3.setAccessToken(v3);
                        v6_3.setHttpServiceDelegate(this);
                        this._httpServices.put(v0_7.getKey(), v6_3);
                    }
                    this._endpoint = p9;
                } else {
                    throw new AssertionError("Service endpoint URLs cannot be nil.");
                }
            } else {
                throw new AssertionError("clientID not initialized by the authentication module.");
            }
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getFoundationAuthAESKey():


    public byte[] getFoundationAuthAESKey()
    {
        IllegalArgumentException v0_7;
        if (this._foundationAuth_AES_key == null) {
            this._foundationAuth_AES_key = this.getFoundation_AESKey_fromPreference();
            if (this._foundationAuth_AES_key == null) {
                this._foundationAuth_AES_key = com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common();
                if (this._foundationAuth_AES_key == null) {
                    throw new IllegalArgumentException("CSDK Foundation Auth AES Key is null.");
                } else {
                    this.storeFoundatationAuth_AESKey_InPreference(this._foundationAuth_AES_key);
                }
            }
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        } else {
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        }
        return v0_7;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common():


    public static byte[] generateNewAESKey_Common()
    {
        try {
            IllegalArgumentException v0_4 = javax.crypto.KeyGenerator.getInstance("AES");
            v0_4.init(128);
            return v0_4.generateKey().getEncoded();
        } catch (IllegalArgumentException v0_1) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.TAG, v0_1.getMessage(), v0_1);
            throw new IllegalArgumentException("Auth Foundation : Auth AESKeyMgr : Failed to generate an AES key");
        }
    }

Method javax.crypto.KeyGenerator.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/entitlement/AdobeEntitlementSession;', '<init>', '(Lcom/adobe/creativesdk/foundation/adobeinternal/cloud/AdobeCloudEndpoint;)V'), ('Lcom/adobe/creativesdk/foundation/adobeinternal/cloud/AdobeCloudServiceSession;', '<init>', '(Lcom/adobe/creativesdk/foundation/adobeinternal/cloud/AdobeCloudEndpoint;)V'), ('Lcom/adobe/creativesdk/foundation/adobeinternal/cloud/AdobeCloudServiceSession;', 'configureEndpoint', '(Lcom/adobe/creativesdk/foundation/adobeinternal/cloud/AdobeCloudEndpoint;)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'setCipherKey', '([B)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', 'createInstance', '([B)Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', '<init>', '([B)V'), ('Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.entitlement.AdobeEntitlementSession.<init>():


    public AdobeEntitlementSession(com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudEndpoint p4)
    {
        super(p4);
        super.setUpService();
        super.setDisconnectionNotifier(com.adobe.creativesdk.foundation.internal.notification.AdobeInternalNotificationID.AdobeEntitlementServiceDisconnectedNotification);
        super.setupOngoingConnectionTimer(15, 0);
        super._cacheConfigured = 0;
        super._sharedPrefs = com.adobe.creativesdk.foundation.internal.common.AdobeCommonApplicationContextHolder.getSharedApplicationContextHolder().getApplicationContext().getSharedPreferences("com.adobe.cc.entitlements", 0);
        return;
    }

Method com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudServiceSession.<init>():


    protected AdobeCloudServiceSession(com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudEndpoint p1)
    {
        this.configureEndpoint(p1);
        return;
    }

Method com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudServiceSession.configureEndpoint():


    protected void configureEndpoint(com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudEndpoint p9)
    {
        if (p9 != null) {
            com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService v2 = com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance();
            String v3 = v2.getAccessToken();
            java.util.HashMap v4_1 = new java.util.HashMap();
            java.util.HashMap v1_11 = new Object[2];
            v1_11[0] = "CreativeSDK";
            v1_11[1] = com.adobe.creativesdk.foundation.AdobeCSDKFoundation.getVersion();
            Object v0_0 = String.format("%s%s", v1_11);
            if ((com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudServiceSession.$assertionsDisabled) || (v2.getClientID() != null)) {
                v4_1.put("x-api-key", v2.getClientID());
                v4_1.put("x-creativesdk-versions", v0_0);
                if ((com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudServiceSession.$assertionsDisabled) || (p9.getServiceURLs() != null)) {
                    java.util.Iterator v5_3 = p9.getServiceURLs().entrySet().iterator();
                    while (v5_3.hasNext()) {
                        Object v0_7 = ((java.util.Map$Entry) v5_3.next());
                        com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpService v6_3 = new com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpService(((java.net.URL) v0_7.getValue()).toString(), v2.getClientID(), v4_1);
                        v6_3.setAccessToken(v3);
                        v6_3.setHttpServiceDelegate(this);
                        this._httpServices.put(v0_7.getKey(), v6_3);
                    }
                    this._endpoint = p9;
                } else {
                    throw new AssertionError("Service endpoint URLs cannot be nil.");
                }
            } else {
                throw new AssertionError("clientID not initialized by the authentication module.");
            }
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.setCipherKey():


    public void setCipherKey(byte[] p5)
    {
        if (p5 != null) {
            IllegalArgumentException v0_3 = new byte[p5.length];
            System.arraycopy(p5, 0, v0_3, 0, p5.length);
            try {
                this.cipher = com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance(v0_3);
            } catch (IllegalArgumentException v0_5) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, this.getClass().getSimpleName(), v0_5.getMessage(), v0_5);
                throw new IllegalArgumentException("CSDK Foundation Auth : Cannot create Cipher Instance !");
            }
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance():


    static com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher createInstance(byte[] p1)
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance == null) {
            com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance = new com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher(p1);
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.<init>():


    public AdobeCommonCipher(byte[] p4)
    {
        javax.crypto.spec.SecretKeySpec v0_1 = new javax.crypto.spec.SecretKeySpec(p4, "AES");
        this.encryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.encryptionCipher.init(1, v0_1);
        this.decryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.decryptionCipher.init(2, v0_1);
        return;
    }

Method javax.crypto.Cipher.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/entitlement/AdobeEntitlementSession;', 'getServiceEndpoint', '()Lcom/adobe/creativesdk/foundation/adobeinternal/cloud/AdobeCloudEndpoint;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'setCipherKey', '([B)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', 'createInstance', '([B)Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', '<init>', '([B)V'), ('Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.entitlement.AdobeEntitlementSession.getServiceEndpoint():


    private static com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudEndpoint getServiceEndpoint()
    {
        int v0_0;
        int v2 = 0;
        switch (com.adobe.creativesdk.foundation.adobeinternal.entitlement.AdobeEntitlementSession$8.$SwitchMap$com$adobe$creativesdk$foundation$internal$auth$AdobeAuthIMSEnvironment[com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance().getEnvironment().ordinal()]) {
            case 1:
                v0_0 = "https://entitlements.adobe.io";
                try {
                    int v0_2 = new com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudEndpoint(0, new java.net.URL(v0_0), com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudServiceType.AdobeCloudServiceTypeEntitlement);
                } catch (int v0) {
                    v0_2 = 0;
                }
                v2 = v0_2;
                break;
            case 2:
            case 3:
                v0_0 = "https://entitlements-stage.adobe.io";
                break;
            default:
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.adobeinternal.entitlement.AdobeEntitlementSession.getSimpleName(), "An undefined authentication endpoint has been specified.");
        }
        return v2;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.setCipherKey():


    public void setCipherKey(byte[] p5)
    {
        if (p5 != null) {
            IllegalArgumentException v0_3 = new byte[p5.length];
            System.arraycopy(p5, 0, v0_3, 0, p5.length);
            try {
                this.cipher = com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance(v0_3);
            } catch (IllegalArgumentException v0_5) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, this.getClass().getSimpleName(), v0_5.getMessage(), v0_5);
                throw new IllegalArgumentException("CSDK Foundation Auth : Cannot create Cipher Instance !");
            }
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance():


    static com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher createInstance(byte[] p1)
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance == null) {
            com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance = new com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher(p1);
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.<init>():


    public AdobeCommonCipher(byte[] p4)
    {
        javax.crypto.spec.SecretKeySpec v0_1 = new javax.crypto.spec.SecretKeySpec(p4, "AES");
        this.encryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.encryptionCipher.init(1, v0_1);
        this.decryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.decryptionCipher.init(2, v0_1);
        return;
    }

Method javax.crypto.Cipher.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/entitlement/AdobeEntitlementSession;', 'getServiceEndpoint', '()Lcom/adobe/creativesdk/foundation/adobeinternal/cloud/AdobeCloudEndpoint;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'getFoundationAuthAESKey', '()[B'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'generateNewAESKey_Common', '()[B'), ('Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.entitlement.AdobeEntitlementSession.getServiceEndpoint():


    private static com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudEndpoint getServiceEndpoint()
    {
        int v0_0;
        int v2 = 0;
        switch (com.adobe.creativesdk.foundation.adobeinternal.entitlement.AdobeEntitlementSession$8.$SwitchMap$com$adobe$creativesdk$foundation$internal$auth$AdobeAuthIMSEnvironment[com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance().getEnvironment().ordinal()]) {
            case 1:
                v0_0 = "https://entitlements.adobe.io";
                try {
                    int v0_2 = new com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudEndpoint(0, new java.net.URL(v0_0), com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudServiceType.AdobeCloudServiceTypeEntitlement);
                } catch (int v0) {
                    v0_2 = 0;
                }
                v2 = v0_2;
                break;
            case 2:
            case 3:
                v0_0 = "https://entitlements-stage.adobe.io";
                break;
            default:
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.adobeinternal.entitlement.AdobeEntitlementSession.getSimpleName(), "An undefined authentication endpoint has been specified.");
        }
        return v2;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getFoundationAuthAESKey():


    public byte[] getFoundationAuthAESKey()
    {
        IllegalArgumentException v0_7;
        if (this._foundationAuth_AES_key == null) {
            this._foundationAuth_AES_key = this.getFoundation_AESKey_fromPreference();
            if (this._foundationAuth_AES_key == null) {
                this._foundationAuth_AES_key = com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common();
                if (this._foundationAuth_AES_key == null) {
                    throw new IllegalArgumentException("CSDK Foundation Auth AES Key is null.");
                } else {
                    this.storeFoundatationAuth_AESKey_InPreference(this._foundationAuth_AES_key);
                }
            }
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        } else {
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        }
        return v0_7;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common():


    public static byte[] generateNewAESKey_Common()
    {
        try {
            IllegalArgumentException v0_4 = javax.crypto.KeyGenerator.getInstance("AES");
            v0_4.init(128);
            return v0_4.generateKey().getEncoded();
        } catch (IllegalArgumentException v0_1) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.TAG, v0_1.getMessage(), v0_1);
            throw new IllegalArgumentException("Auth Foundation : Auth AESKeyMgr : Failed to generate an AES key");
        }
    }

Method javax.crypto.KeyGenerator.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/entitlement/AdobeEntitlementSession;', 'getSessionForCloudEndpoint', '(Lcom/adobe/creativesdk/foundation/adobeinternal/cloud/AdobeCloudEndpoint;)Lcom/adobe/creativesdk/foundation/adobeinternal/entitlement/AdobeEntitlementSession;'), ('Lcom/adobe/creativesdk/foundation/adobeinternal/entitlement/AdobeEntitlementSession;', '<init>', '(Lcom/adobe/creativesdk/foundation/adobeinternal/cloud/AdobeCloudEndpoint;)V'), ('Lcom/adobe/creativesdk/foundation/adobeinternal/cloud/AdobeCloudServiceSession;', '<init>', '(Lcom/adobe/creativesdk/foundation/adobeinternal/cloud/AdobeCloudEndpoint;)V'), ('Lcom/adobe/creativesdk/foundation/adobeinternal/cloud/AdobeCloudServiceSession;', 'configureEndpoint', '(Lcom/adobe/creativesdk/foundation/adobeinternal/cloud/AdobeCloudEndpoint;)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'setCipherKey', '([B)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', 'createInstance', '([B)Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', '<init>', '([B)V'), ('Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.entitlement.AdobeEntitlementSession.getSessionForCloudEndpoint():


    public static com.adobe.creativesdk.foundation.adobeinternal.entitlement.AdobeEntitlementSession getSessionForCloudEndpoint(com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudEndpoint p1)
    {
        if (p1 == null) {
            p1 = com.adobe.creativesdk.foundation.adobeinternal.entitlement.AdobeEntitlementSession.getServiceEndpoint();
        }
        return new com.adobe.creativesdk.foundation.adobeinternal.entitlement.AdobeEntitlementSession(p1);
    }

Method com.adobe.creativesdk.foundation.adobeinternal.entitlement.AdobeEntitlementSession.<init>():


    public AdobeEntitlementSession(com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudEndpoint p4)
    {
        super(p4);
        super.setUpService();
        super.setDisconnectionNotifier(com.adobe.creativesdk.foundation.internal.notification.AdobeInternalNotificationID.AdobeEntitlementServiceDisconnectedNotification);
        super.setupOngoingConnectionTimer(15, 0);
        super._cacheConfigured = 0;
        super._sharedPrefs = com.adobe.creativesdk.foundation.internal.common.AdobeCommonApplicationContextHolder.getSharedApplicationContextHolder().getApplicationContext().getSharedPreferences("com.adobe.cc.entitlements", 0);
        return;
    }

Method com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudServiceSession.<init>():


    protected AdobeCloudServiceSession(com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudEndpoint p1)
    {
        this.configureEndpoint(p1);
        return;
    }

Method com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudServiceSession.configureEndpoint():


    protected void configureEndpoint(com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudEndpoint p9)
    {
        if (p9 != null) {
            com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService v2 = com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance();
            String v3 = v2.getAccessToken();
            java.util.HashMap v4_1 = new java.util.HashMap();
            java.util.HashMap v1_11 = new Object[2];
            v1_11[0] = "CreativeSDK";
            v1_11[1] = com.adobe.creativesdk.foundation.AdobeCSDKFoundation.getVersion();
            Object v0_0 = String.format("%s%s", v1_11);
            if ((com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudServiceSession.$assertionsDisabled) || (v2.getClientID() != null)) {
                v4_1.put("x-api-key", v2.getClientID());
                v4_1.put("x-creativesdk-versions", v0_0);
                if ((com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudServiceSession.$assertionsDisabled) || (p9.getServiceURLs() != null)) {
                    java.util.Iterator v5_3 = p9.getServiceURLs().entrySet().iterator();
                    while (v5_3.hasNext()) {
                        Object v0_7 = ((java.util.Map$Entry) v5_3.next());
                        com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpService v6_3 = new com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpService(((java.net.URL) v0_7.getValue()).toString(), v2.getClientID(), v4_1);
                        v6_3.setAccessToken(v3);
                        v6_3.setHttpServiceDelegate(this);
                        this._httpServices.put(v0_7.getKey(), v6_3);
                    }
                    this._endpoint = p9;
                } else {
                    throw new AssertionError("Service endpoint URLs cannot be nil.");
                }
            } else {
                throw new AssertionError("clientID not initialized by the authentication module.");
            }
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.setCipherKey():


    public void setCipherKey(byte[] p5)
    {
        if (p5 != null) {
            IllegalArgumentException v0_3 = new byte[p5.length];
            System.arraycopy(p5, 0, v0_3, 0, p5.length);
            try {
                this.cipher = com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance(v0_3);
            } catch (IllegalArgumentException v0_5) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, this.getClass().getSimpleName(), v0_5.getMessage(), v0_5);
                throw new IllegalArgumentException("CSDK Foundation Auth : Cannot create Cipher Instance !");
            }
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance():


    static com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher createInstance(byte[] p1)
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance == null) {
            com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance = new com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher(p1);
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.<init>():


    public AdobeCommonCipher(byte[] p4)
    {
        javax.crypto.spec.SecretKeySpec v0_1 = new javax.crypto.spec.SecretKeySpec(p4, "AES");
        this.encryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.encryptionCipher.init(1, v0_1);
        this.decryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.decryptionCipher.init(2, v0_1);
        return;
    }

Method javax.crypto.Cipher.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/entitlement/AdobeEntitlementSession;', 'getSessionForCloudEndpoint', '(Lcom/adobe/creativesdk/foundation/adobeinternal/cloud/AdobeCloudEndpoint;)Lcom/adobe/creativesdk/foundation/adobeinternal/entitlement/AdobeEntitlementSession;'), ('Lcom/adobe/creativesdk/foundation/adobeinternal/entitlement/AdobeEntitlementSession;', '<init>', '(Lcom/adobe/creativesdk/foundation/adobeinternal/cloud/AdobeCloudEndpoint;)V'), ('Lcom/adobe/creativesdk/foundation/adobeinternal/cloud/AdobeCloudServiceSession;', '<init>', '(Lcom/adobe/creativesdk/foundation/adobeinternal/cloud/AdobeCloudEndpoint;)V'), ('Lcom/adobe/creativesdk/foundation/adobeinternal/cloud/AdobeCloudServiceSession;', 'configureEndpoint', '(Lcom/adobe/creativesdk/foundation/adobeinternal/cloud/AdobeCloudEndpoint;)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'getFoundationAuthAESKey', '()[B'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'generateNewAESKey_Common', '()[B'), ('Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.entitlement.AdobeEntitlementSession.getSessionForCloudEndpoint():


    public static com.adobe.creativesdk.foundation.adobeinternal.entitlement.AdobeEntitlementSession getSessionForCloudEndpoint(com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudEndpoint p1)
    {
        if (p1 == null) {
            p1 = com.adobe.creativesdk.foundation.adobeinternal.entitlement.AdobeEntitlementSession.getServiceEndpoint();
        }
        return new com.adobe.creativesdk.foundation.adobeinternal.entitlement.AdobeEntitlementSession(p1);
    }

Method com.adobe.creativesdk.foundation.adobeinternal.entitlement.AdobeEntitlementSession.<init>():


    public AdobeEntitlementSession(com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudEndpoint p4)
    {
        super(p4);
        super.setUpService();
        super.setDisconnectionNotifier(com.adobe.creativesdk.foundation.internal.notification.AdobeInternalNotificationID.AdobeEntitlementServiceDisconnectedNotification);
        super.setupOngoingConnectionTimer(15, 0);
        super._cacheConfigured = 0;
        super._sharedPrefs = com.adobe.creativesdk.foundation.internal.common.AdobeCommonApplicationContextHolder.getSharedApplicationContextHolder().getApplicationContext().getSharedPreferences("com.adobe.cc.entitlements", 0);
        return;
    }

Method com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudServiceSession.<init>():


    protected AdobeCloudServiceSession(com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudEndpoint p1)
    {
        this.configureEndpoint(p1);
        return;
    }

Method com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudServiceSession.configureEndpoint():


    protected void configureEndpoint(com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudEndpoint p9)
    {
        if (p9 != null) {
            com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService v2 = com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance();
            String v3 = v2.getAccessToken();
            java.util.HashMap v4_1 = new java.util.HashMap();
            java.util.HashMap v1_11 = new Object[2];
            v1_11[0] = "CreativeSDK";
            v1_11[1] = com.adobe.creativesdk.foundation.AdobeCSDKFoundation.getVersion();
            Object v0_0 = String.format("%s%s", v1_11);
            if ((com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudServiceSession.$assertionsDisabled) || (v2.getClientID() != null)) {
                v4_1.put("x-api-key", v2.getClientID());
                v4_1.put("x-creativesdk-versions", v0_0);
                if ((com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudServiceSession.$assertionsDisabled) || (p9.getServiceURLs() != null)) {
                    java.util.Iterator v5_3 = p9.getServiceURLs().entrySet().iterator();
                    while (v5_3.hasNext()) {
                        Object v0_7 = ((java.util.Map$Entry) v5_3.next());
                        com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpService v6_3 = new com.adobe.creativesdk.foundation.internal.net.AdobeNetworkHttpService(((java.net.URL) v0_7.getValue()).toString(), v2.getClientID(), v4_1);
                        v6_3.setAccessToken(v3);
                        v6_3.setHttpServiceDelegate(this);
                        this._httpServices.put(v0_7.getKey(), v6_3);
                    }
                    this._endpoint = p9;
                } else {
                    throw new AssertionError("Service endpoint URLs cannot be nil.");
                }
            } else {
                throw new AssertionError("clientID not initialized by the authentication module.");
            }
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getFoundationAuthAESKey():


    public byte[] getFoundationAuthAESKey()
    {
        IllegalArgumentException v0_7;
        if (this._foundationAuth_AES_key == null) {
            this._foundationAuth_AES_key = this.getFoundation_AESKey_fromPreference();
            if (this._foundationAuth_AES_key == null) {
                this._foundationAuth_AES_key = com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common();
                if (this._foundationAuth_AES_key == null) {
                    throw new IllegalArgumentException("CSDK Foundation Auth AES Key is null.");
                } else {
                    this.storeFoundatationAuth_AESKey_InPreference(this._foundationAuth_AES_key);
                }
            }
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        } else {
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        }
        return v0_7;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common():


    public static byte[] generateNewAESKey_Common()
    {
        try {
            IllegalArgumentException v0_4 = javax.crypto.KeyGenerator.getInstance("AES");
            v0_4.init(128);
            return v0_4.generateKey().getEncoded();
        } catch (IllegalArgumentException v0_1) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.TAG, v0_1.getMessage(), v0_1);
            throw new IllegalArgumentException("Auth Foundation : Auth AESKeyMgr : Failed to generate an AES key");
        }
    }

Method javax.crypto.KeyGenerator.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/entitlement/AdobeEntitlementSession;', 'getSharedSession', '()Lcom/adobe/creativesdk/foundation/adobeinternal/entitlement/AdobeEntitlementSession;'), ('Lcom/adobe/creativesdk/foundation/adobeinternal/entitlement/AdobeEntitlementSession;', 'getServiceEndpoint', '()Lcom/adobe/creativesdk/foundation/adobeinternal/cloud/AdobeCloudEndpoint;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'getFoundationAuthAESKey', '()[B'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'generateNewAESKey_Common', '()[B'), ('Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.entitlement.AdobeEntitlementSession.getSharedSession():


    public static com.adobe.creativesdk.foundation.adobeinternal.entitlement.AdobeEntitlementSession getSharedSession()
    {
        if (com.adobe.creativesdk.foundation.adobeinternal.entitlement.AdobeEntitlementSession._sharedSession == null) {
            com.adobe.creativesdk.foundation.adobeinternal.entitlement.AdobeEntitlementSession._sharedSession = com.adobe.creativesdk.foundation.adobeinternal.entitlement.AdobeEntitlementSession.getSessionForCloudEndpoint(com.adobe.creativesdk.foundation.adobeinternal.entitlement.AdobeEntitlementSession.getServiceEndpoint());
        }
        return com.adobe.creativesdk.foundation.adobeinternal.entitlement.AdobeEntitlementSession._sharedSession;
    }

Method com.adobe.creativesdk.foundation.adobeinternal.entitlement.AdobeEntitlementSession.getServiceEndpoint():


    private static com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudEndpoint getServiceEndpoint()
    {
        int v0_0;
        int v2 = 0;
        switch (com.adobe.creativesdk.foundation.adobeinternal.entitlement.AdobeEntitlementSession$8.$SwitchMap$com$adobe$creativesdk$foundation$internal$auth$AdobeAuthIMSEnvironment[com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance().getEnvironment().ordinal()]) {
            case 1:
                v0_0 = "https://entitlements.adobe.io";
                try {
                    int v0_2 = new com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudEndpoint(0, new java.net.URL(v0_0), com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudServiceType.AdobeCloudServiceTypeEntitlement);
                } catch (int v0) {
                    v0_2 = 0;
                }
                v2 = v0_2;
                break;
            case 2:
            case 3:
                v0_0 = "https://entitlements-stage.adobe.io";
                break;
            default:
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.adobeinternal.entitlement.AdobeEntitlementSession.getSimpleName(), "An undefined authentication endpoint has been specified.");
        }
        return v2;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getFoundationAuthAESKey():


    public byte[] getFoundationAuthAESKey()
    {
        IllegalArgumentException v0_7;
        if (this._foundationAuth_AES_key == null) {
            this._foundationAuth_AES_key = this.getFoundation_AESKey_fromPreference();
            if (this._foundationAuth_AES_key == null) {
                this._foundationAuth_AES_key = com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common();
                if (this._foundationAuth_AES_key == null) {
                    throw new IllegalArgumentException("CSDK Foundation Auth AES Key is null.");
                } else {
                    this.storeFoundatationAuth_AESKey_InPreference(this._foundationAuth_AES_key);
                }
            }
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        } else {
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        }
        return v0_7;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common():


    public static byte[] generateNewAESKey_Common()
    {
        try {
            IllegalArgumentException v0_4 = javax.crypto.KeyGenerator.getInstance("AES");
            v0_4.init(128);
            return v0_4.generateKey().getEncoded();
        } catch (IllegalArgumentException v0_1) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.TAG, v0_1.getMessage(), v0_1);
            throw new IllegalArgumentException("Auth Foundation : Auth AESKeyMgr : Failed to generate an AES key");
        }
    }

Method javax.crypto.KeyGenerator.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/entitlement/AdobeEntitlementSession;', 'getSharedSession', '()Lcom/adobe/creativesdk/foundation/adobeinternal/entitlement/AdobeEntitlementSession;'), ('Lcom/adobe/creativesdk/foundation/adobeinternal/entitlement/AdobeEntitlementSession;', 'getServiceEndpoint', '()Lcom/adobe/creativesdk/foundation/adobeinternal/cloud/AdobeCloudEndpoint;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'setCipherKey', '([B)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', 'createInstance', '([B)Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', '<init>', '([B)V'), ('Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.entitlement.AdobeEntitlementSession.getSharedSession():


    public static com.adobe.creativesdk.foundation.adobeinternal.entitlement.AdobeEntitlementSession getSharedSession()
    {
        if (com.adobe.creativesdk.foundation.adobeinternal.entitlement.AdobeEntitlementSession._sharedSession == null) {
            com.adobe.creativesdk.foundation.adobeinternal.entitlement.AdobeEntitlementSession._sharedSession = com.adobe.creativesdk.foundation.adobeinternal.entitlement.AdobeEntitlementSession.getSessionForCloudEndpoint(com.adobe.creativesdk.foundation.adobeinternal.entitlement.AdobeEntitlementSession.getServiceEndpoint());
        }
        return com.adobe.creativesdk.foundation.adobeinternal.entitlement.AdobeEntitlementSession._sharedSession;
    }

Method com.adobe.creativesdk.foundation.adobeinternal.entitlement.AdobeEntitlementSession.getServiceEndpoint():


    private static com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudEndpoint getServiceEndpoint()
    {
        int v0_0;
        int v2 = 0;
        switch (com.adobe.creativesdk.foundation.adobeinternal.entitlement.AdobeEntitlementSession$8.$SwitchMap$com$adobe$creativesdk$foundation$internal$auth$AdobeAuthIMSEnvironment[com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance().getEnvironment().ordinal()]) {
            case 1:
                v0_0 = "https://entitlements.adobe.io";
                try {
                    int v0_2 = new com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudEndpoint(0, new java.net.URL(v0_0), com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudServiceType.AdobeCloudServiceTypeEntitlement);
                } catch (int v0) {
                    v0_2 = 0;
                }
                v2 = v0_2;
                break;
            case 2:
            case 3:
                v0_0 = "https://entitlements-stage.adobe.io";
                break;
            default:
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.adobeinternal.entitlement.AdobeEntitlementSession.getSimpleName(), "An undefined authentication endpoint has been specified.");
        }
        return v2;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.setCipherKey():


    public void setCipherKey(byte[] p5)
    {
        if (p5 != null) {
            IllegalArgumentException v0_3 = new byte[p5.length];
            System.arraycopy(p5, 0, v0_3, 0, p5.length);
            try {
                this.cipher = com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance(v0_3);
            } catch (IllegalArgumentException v0_5) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, this.getClass().getSimpleName(), v0_5.getMessage(), v0_5);
                throw new IllegalArgumentException("CSDK Foundation Auth : Cannot create Cipher Instance !");
            }
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance():


    static com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher createInstance(byte[] p1)
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance == null) {
            com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance = new com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher(p1);
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.<init>():


    public AdobeCommonCipher(byte[] p4)
    {
        javax.crypto.spec.SecretKeySpec v0_1 = new javax.crypto.spec.SecretKeySpec(p4, "AES");
        this.encryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.encryptionCipher.init(1, v0_1);
        this.decryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.decryptionCipher.init(2, v0_1);
        return;
    }

Method javax.crypto.Cipher.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/entitlement/AdobeEntitlementSession;', 'refreshUserProfile', '()V'), ('Lcom/adobe/creativesdk/foundation/auth/AdobeUXAuthManager;', 'isAuthenticated', '()Z'), ('Lcom/adobe/creativesdk/foundation/adobeinternal/auth/AdobeUXAuthManagerRestricted;', 'isAuthenticated', '()Z'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'isAuthenticated', '()Z'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'getFoundationAuthAESKey', '()[B'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'generateNewAESKey_Common', '()[B'), ('Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.entitlement.AdobeEntitlementSession.refreshUserProfile():


    private void refreshUserProfile()
    {
        if ((com.adobe.creativesdk.foundation.auth.AdobeUXAuthManager.getSharedAuthManager().isAuthenticated()) && (com.adobe.creativesdk.foundation.adobeinternal.net.AdobeNetworkReachabilityUtil.isOnline())) {
            this.getUserProfileForToken(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance().getAccessToken(), 0, 0, 0);
        }
        return;
    }

Method com.adobe.creativesdk.foundation.auth.AdobeUXAuthManager.isAuthenticated():


    public boolean isAuthenticated()
    {
        return this.authManagerRestricted.isAuthenticated();
    }

Method com.adobe.creativesdk.foundation.adobeinternal.auth.AdobeUXAuthManagerRestricted.isAuthenticated():


    public boolean isAuthenticated()
    {
        return this._authManagerImpl.isAuthenticated();
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.isAuthenticated():


    public boolean isAuthenticated()
    {
        int v0 = 0;
        if (this.isInitialized()) {
            String v1_2 = com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance().getAdobeID();
            if (((this.hasValidAccessToken()) || (this.canRefreshAccessToken())) && (v1_2 != null)) {
                v0 = 1;
            }
        }
        return v0;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getFoundationAuthAESKey():


    public byte[] getFoundationAuthAESKey()
    {
        IllegalArgumentException v0_7;
        if (this._foundationAuth_AES_key == null) {
            this._foundationAuth_AES_key = this.getFoundation_AESKey_fromPreference();
            if (this._foundationAuth_AES_key == null) {
                this._foundationAuth_AES_key = com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common();
                if (this._foundationAuth_AES_key == null) {
                    throw new IllegalArgumentException("CSDK Foundation Auth AES Key is null.");
                } else {
                    this.storeFoundatationAuth_AESKey_InPreference(this._foundationAuth_AES_key);
                }
            }
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        } else {
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        }
        return v0_7;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common():


    public static byte[] generateNewAESKey_Common()
    {
        try {
            IllegalArgumentException v0_4 = javax.crypto.KeyGenerator.getInstance("AES");
            v0_4.init(128);
            return v0_4.generateKey().getEncoded();
        } catch (IllegalArgumentException v0_1) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.TAG, v0_1.getMessage(), v0_1);
            throw new IllegalArgumentException("Auth Foundation : Auth AESKeyMgr : Failed to generate an AES key");
        }
    }

Method javax.crypto.KeyGenerator.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/entitlement/AdobeEntitlementSession;', 'refreshUserProfile', '()V'), ('Lcom/adobe/creativesdk/foundation/auth/AdobeUXAuthManager;', 'isAuthenticated', '()Z'), ('Lcom/adobe/creativesdk/foundation/adobeinternal/auth/AdobeUXAuthManagerRestricted;', 'isAuthenticated', '()Z'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'isAuthenticated', '()Z'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'setCipherKey', '([B)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', 'createInstance', '([B)Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', '<init>', '([B)V'), ('Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.entitlement.AdobeEntitlementSession.refreshUserProfile():


    private void refreshUserProfile()
    {
        if ((com.adobe.creativesdk.foundation.auth.AdobeUXAuthManager.getSharedAuthManager().isAuthenticated()) && (com.adobe.creativesdk.foundation.adobeinternal.net.AdobeNetworkReachabilityUtil.isOnline())) {
            this.getUserProfileForToken(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance().getAccessToken(), 0, 0, 0);
        }
        return;
    }

Method com.adobe.creativesdk.foundation.auth.AdobeUXAuthManager.isAuthenticated():


    public boolean isAuthenticated()
    {
        return this.authManagerRestricted.isAuthenticated();
    }

Method com.adobe.creativesdk.foundation.adobeinternal.auth.AdobeUXAuthManagerRestricted.isAuthenticated():


    public boolean isAuthenticated()
    {
        return this._authManagerImpl.isAuthenticated();
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.isAuthenticated():


    public boolean isAuthenticated()
    {
        int v0 = 0;
        if (this.isInitialized()) {
            String v1_2 = com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance().getAdobeID();
            if (((this.hasValidAccessToken()) || (this.canRefreshAccessToken())) && (v1_2 != null)) {
                v0 = 1;
            }
        }
        return v0;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.setCipherKey():


    public void setCipherKey(byte[] p5)
    {
        if (p5 != null) {
            IllegalArgumentException v0_3 = new byte[p5.length];
            System.arraycopy(p5, 0, v0_3, 0, p5.length);
            try {
                this.cipher = com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance(v0_3);
            } catch (IllegalArgumentException v0_5) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, this.getClass().getSimpleName(), v0_5.getMessage(), v0_5);
                throw new IllegalArgumentException("CSDK Foundation Auth : Cannot create Cipher Instance !");
            }
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance():


    static com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher createInstance(byte[] p1)
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance == null) {
            com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance = new com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher(p1);
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.<init>():


    public AdobeCommonCipher(byte[] p4)
    {
        javax.crypto.spec.SecretKeySpec v0_1 = new javax.crypto.spec.SecretKeySpec(p4, "AES");
        this.encryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.encryptionCipher.init(1, v0_1);
        this.decryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.decryptionCipher.init(2, v0_1);
        return;
    }

Method javax.crypto.Cipher.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/entitlement/AdobeEntitlementSession;', 'refreshEndpoint', '()V'), ('Lcom/adobe/creativesdk/foundation/adobeinternal/entitlement/AdobeEntitlementSession;', 'getServiceEndpoint', '()Lcom/adobe/creativesdk/foundation/adobeinternal/cloud/AdobeCloudEndpoint;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'getFoundationAuthAESKey', '()[B'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'generateNewAESKey_Common', '()[B'), ('Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.entitlement.AdobeEntitlementSession.refreshEndpoint():


    public void refreshEndpoint()
    {
        this.configureEndpoint(com.adobe.creativesdk.foundation.adobeinternal.entitlement.AdobeEntitlementSession.getServiceEndpoint());
        return;
    }

Method com.adobe.creativesdk.foundation.adobeinternal.entitlement.AdobeEntitlementSession.getServiceEndpoint():


    private static com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudEndpoint getServiceEndpoint()
    {
        int v0_0;
        int v2 = 0;
        switch (com.adobe.creativesdk.foundation.adobeinternal.entitlement.AdobeEntitlementSession$8.$SwitchMap$com$adobe$creativesdk$foundation$internal$auth$AdobeAuthIMSEnvironment[com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance().getEnvironment().ordinal()]) {
            case 1:
                v0_0 = "https://entitlements.adobe.io";
                try {
                    int v0_2 = new com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudEndpoint(0, new java.net.URL(v0_0), com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudServiceType.AdobeCloudServiceTypeEntitlement);
                } catch (int v0) {
                    v0_2 = 0;
                }
                v2 = v0_2;
                break;
            case 2:
            case 3:
                v0_0 = "https://entitlements-stage.adobe.io";
                break;
            default:
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.adobeinternal.entitlement.AdobeEntitlementSession.getSimpleName(), "An undefined authentication endpoint has been specified.");
        }
        return v2;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getFoundationAuthAESKey():


    public byte[] getFoundationAuthAESKey()
    {
        IllegalArgumentException v0_7;
        if (this._foundationAuth_AES_key == null) {
            this._foundationAuth_AES_key = this.getFoundation_AESKey_fromPreference();
            if (this._foundationAuth_AES_key == null) {
                this._foundationAuth_AES_key = com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common();
                if (this._foundationAuth_AES_key == null) {
                    throw new IllegalArgumentException("CSDK Foundation Auth AES Key is null.");
                } else {
                    this.storeFoundatationAuth_AESKey_InPreference(this._foundationAuth_AES_key);
                }
            }
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        } else {
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        }
        return v0_7;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common():


    public static byte[] generateNewAESKey_Common()
    {
        try {
            IllegalArgumentException v0_4 = javax.crypto.KeyGenerator.getInstance("AES");
            v0_4.init(128);
            return v0_4.generateKey().getEncoded();
        } catch (IllegalArgumentException v0_1) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.TAG, v0_1.getMessage(), v0_1);
            throw new IllegalArgumentException("Auth Foundation : Auth AESKeyMgr : Failed to generate an AES key");
        }
    }

Method javax.crypto.KeyGenerator.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/entitlement/AdobeEntitlementSession;', 'refreshEndpoint', '()V'), ('Lcom/adobe/creativesdk/foundation/adobeinternal/entitlement/AdobeEntitlementSession;', 'getServiceEndpoint', '()Lcom/adobe/creativesdk/foundation/adobeinternal/cloud/AdobeCloudEndpoint;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'setCipherKey', '([B)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', 'createInstance', '([B)Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', '<init>', '([B)V'), ('Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.entitlement.AdobeEntitlementSession.refreshEndpoint():


    public void refreshEndpoint()
    {
        this.configureEndpoint(com.adobe.creativesdk.foundation.adobeinternal.entitlement.AdobeEntitlementSession.getServiceEndpoint());
        return;
    }

Method com.adobe.creativesdk.foundation.adobeinternal.entitlement.AdobeEntitlementSession.getServiceEndpoint():


    private static com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudEndpoint getServiceEndpoint()
    {
        int v0_0;
        int v2 = 0;
        switch (com.adobe.creativesdk.foundation.adobeinternal.entitlement.AdobeEntitlementSession$8.$SwitchMap$com$adobe$creativesdk$foundation$internal$auth$AdobeAuthIMSEnvironment[com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance().getEnvironment().ordinal()]) {
            case 1:
                v0_0 = "https://entitlements.adobe.io";
                try {
                    int v0_2 = new com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudEndpoint(0, new java.net.URL(v0_0), com.adobe.creativesdk.foundation.adobeinternal.cloud.AdobeCloudServiceType.AdobeCloudServiceTypeEntitlement);
                } catch (int v0) {
                    v0_2 = 0;
                }
                v2 = v0_2;
                break;
            case 2:
            case 3:
                v0_0 = "https://entitlements-stage.adobe.io";
                break;
            default:
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.adobeinternal.entitlement.AdobeEntitlementSession.getSimpleName(), "An undefined authentication endpoint has been specified.");
        }
        return v2;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.setCipherKey():


    public void setCipherKey(byte[] p5)
    {
        if (p5 != null) {
            IllegalArgumentException v0_3 = new byte[p5.length];
            System.arraycopy(p5, 0, v0_3, 0, p5.length);
            try {
                this.cipher = com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance(v0_3);
            } catch (IllegalArgumentException v0_5) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, this.getClass().getSimpleName(), v0_5.getMessage(), v0_5);
                throw new IllegalArgumentException("CSDK Foundation Auth : Cannot create Cipher Instance !");
            }
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance():


    static com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher createInstance(byte[] p1)
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance == null) {
            com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance = new com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher(p1);
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.<init>():


    public AdobeCommonCipher(byte[] p4)
    {
        javax.crypto.spec.SecretKeySpec v0_1 = new javax.crypto.spec.SecretKeySpec(p4, "AES");
        this.encryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.encryptionCipher.init(1, v0_1);
        this.decryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.decryptionCipher.init(2, v0_1);
        return;
    }

Method javax.crypto.Cipher.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/entitlement/AdobeEntitlementSession;', 'setUpService', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/cache/AdobeCommonCache;', 'configureCache', '(Ljava/lang/String; I D Ljava/util/EnumSet;)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'getFoundationAuthAESKey', '()[B'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'generateNewAESKey_Common', '()[B'), ('Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.entitlement.AdobeEntitlementSession.setUpService():


    public void setUpService()
    {
        int v0_6 = com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getAdobeID();
        if ((!this.isCacheConfigured()) && ((v0_6 != 0) && (v0_6.length() > 0))) {
            try {
                com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCache.getSharedInstance().configureCache("com.adobe.cc.entitlements", 100, 134217728.0, java.util.EnumSet.of(com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCachePolicies.AdobeCommonCacheEvictionLRU));
                int v0_3 = 0;
            } catch (int v0_3) {
            }
            if (v0_3 != 0) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.adobeinternal.entitlement.AdobeEntitlementSession.getSimpleName(), 0, v0_3);
            } else {
                this._cacheConfigured = 1;
            }
        }
        this.setupRefreshTimer(43200000);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCache.configureCache():


    public void configureCache(String p14, int p15, double p16, java.util.EnumSet p18)
    {
        if ((p14 != null) && (!p14.isEmpty())) {
            if ((!p18.contains(com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCachePolicies.AdobeCommonCachePolicyUnset)) || (p18.size() != 1)) {
                String v5_1;
                com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCachePolicies v10 = this.getEvictionPolicy(p18);
                boolean v11 = this.getAvailabilityMode(p18);
                if (v11) {
                    v5_1 = "000000000000000000000000@AdobeID";
                } else {
                    v5_1 = com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance().getAdobeID();
                    if ((v5_1 == null) || (v5_1.isEmpty())) {
                        throw new com.adobe.creativesdk.foundation.internal.cache.AdobeInvalidCacheSettingsException("Cannot configure cache before logging in");
                    }
                }
                if (p15 >= 0) {
                    int v7;
                    if (p15 <= 200) {
                        v7 = p15;
                    } else {
                        com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.WARN, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCache.getName(), new StringBuilder().append("memCacheSize: %").append((p15 / 1048576)).append(" MB exceeds maximum value.  Setting to ").append(0).append(" MB.").toString());
                        v7 = 200;
                    }
                    if (p16 >= 0) {
                        double v8_0;
                        if (p16 <= 268435456.0) {
                            v8_0 = p16;
                        } else {
                            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.WARN, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCache.getName(), new StringBuilder().append("diskCacheSize: ").append((p16 / 1048576.0)).append("MB exceeds maximum value.  Setting to ").append(256.0).append("MB.").toString());
                            v8_0 = 268435456.0;
                        }
                        String v3_1;
                        String v2_30 = ((com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance) this.cacheInstances.get(p14));
                        if (v2_30 != null) {
                            if (v5_1.equals(v2_30.getCacheAdobeId())) {
                                v3_1 = v2_30;
                            } else {
                                throw new com.adobe.creativesdk.foundation.internal.cache.AdobeInvalidCacheSettingsException(new StringBuilder().append("Attempt to reconfigure cache ").append(p14).append(" with different AdobeID: ").append(v5_1).append(" vs ").append(v2_30.getCacheAdobeId()).toString());
                            }
                        } else {
                            v3_1 = new com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance(this.executorService);
                            this.cacheInstances.put(p14, v3_1);
                        }
                        v3_1.configureCache(p14, v5_1, this.rootCacheDir, v7, v8_0, v10, v11);
                        return;
                    } else {
                        throw new com.adobe.creativesdk.foundation.internal.cache.AdobeInvalidCacheSettingsException(new StringBuilder().append("Illegal diskCacheSize value: ").append(((long) p16)).toString());
                    }
                } else {
                    throw new com.adobe.creativesdk.foundation.internal.cache.AdobeInvalidCacheSettingsException(new StringBuilder().append("Illegal memCacheSize value ").append(p15).toString());
                }
            } else {
                throw new com.adobe.creativesdk.foundation.internal.cache.AdobeInvalidCacheSettingsException("Invalid cache policy.");
            }
        } else {
            throw new com.adobe.creativesdk.foundation.internal.cache.AdobeInvalidCacheSettingsException("Invalid cache name.");
        }
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getFoundationAuthAESKey():


    public byte[] getFoundationAuthAESKey()
    {
        IllegalArgumentException v0_7;
        if (this._foundationAuth_AES_key == null) {
            this._foundationAuth_AES_key = this.getFoundation_AESKey_fromPreference();
            if (this._foundationAuth_AES_key == null) {
                this._foundationAuth_AES_key = com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common();
                if (this._foundationAuth_AES_key == null) {
                    throw new IllegalArgumentException("CSDK Foundation Auth AES Key is null.");
                } else {
                    this.storeFoundatationAuth_AESKey_InPreference(this._foundationAuth_AES_key);
                }
            }
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        } else {
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        }
        return v0_7;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common():


    public static byte[] generateNewAESKey_Common()
    {
        try {
            IllegalArgumentException v0_4 = javax.crypto.KeyGenerator.getInstance("AES");
            v0_4.init(128);
            return v0_4.generateKey().getEncoded();
        } catch (IllegalArgumentException v0_1) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.TAG, v0_1.getMessage(), v0_1);
            throw new IllegalArgumentException("Auth Foundation : Auth AESKeyMgr : Failed to generate an AES key");
        }
    }

Method javax.crypto.KeyGenerator.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/adobeinternal/entitlement/AdobeEntitlementSession;', 'setUpService', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/cache/AdobeCommonCache;', 'configureCache', '(Ljava/lang/String; I D Ljava/util/EnumSet;)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'setCipherKey', '([B)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', 'createInstance', '([B)Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', '<init>', '([B)V'), ('Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.adobeinternal.entitlement.AdobeEntitlementSession.setUpService():


    public void setUpService()
    {
        int v0_6 = com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getAdobeID();
        if ((!this.isCacheConfigured()) && ((v0_6 != 0) && (v0_6.length() > 0))) {
            try {
                com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCache.getSharedInstance().configureCache("com.adobe.cc.entitlements", 100, 134217728.0, java.util.EnumSet.of(com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCachePolicies.AdobeCommonCacheEvictionLRU));
                int v0_3 = 0;
            } catch (int v0_3) {
            }
            if (v0_3 != 0) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.adobeinternal.entitlement.AdobeEntitlementSession.getSimpleName(), 0, v0_3);
            } else {
                this._cacheConfigured = 1;
            }
        }
        this.setupRefreshTimer(43200000);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCache.configureCache():


    public void configureCache(String p14, int p15, double p16, java.util.EnumSet p18)
    {
        if ((p14 != null) && (!p14.isEmpty())) {
            if ((!p18.contains(com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCachePolicies.AdobeCommonCachePolicyUnset)) || (p18.size() != 1)) {
                String v5_1;
                com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCachePolicies v10 = this.getEvictionPolicy(p18);
                boolean v11 = this.getAvailabilityMode(p18);
                if (v11) {
                    v5_1 = "000000000000000000000000@AdobeID";
                } else {
                    v5_1 = com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance().getAdobeID();
                    if ((v5_1 == null) || (v5_1.isEmpty())) {
                        throw new com.adobe.creativesdk.foundation.internal.cache.AdobeInvalidCacheSettingsException("Cannot configure cache before logging in");
                    }
                }
                if (p15 >= 0) {
                    int v7;
                    if (p15 <= 200) {
                        v7 = p15;
                    } else {
                        com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.WARN, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCache.getName(), new StringBuilder().append("memCacheSize: %").append((p15 / 1048576)).append(" MB exceeds maximum value.  Setting to ").append(0).append(" MB.").toString());
                        v7 = 200;
                    }
                    if (p16 >= 0) {
                        double v8_0;
                        if (p16 <= 268435456.0) {
                            v8_0 = p16;
                        } else {
                            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.WARN, com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCache.getName(), new StringBuilder().append("diskCacheSize: ").append((p16 / 1048576.0)).append("MB exceeds maximum value.  Setting to ").append(256.0).append("MB.").toString());
                            v8_0 = 268435456.0;
                        }
                        String v3_1;
                        String v2_30 = ((com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance) this.cacheInstances.get(p14));
                        if (v2_30 != null) {
                            if (v5_1.equals(v2_30.getCacheAdobeId())) {
                                v3_1 = v2_30;
                            } else {
                                throw new com.adobe.creativesdk.foundation.internal.cache.AdobeInvalidCacheSettingsException(new StringBuilder().append("Attempt to reconfigure cache ").append(p14).append(" with different AdobeID: ").append(v5_1).append(" vs ").append(v2_30.getCacheAdobeId()).toString());
                            }
                        } else {
                            v3_1 = new com.adobe.creativesdk.foundation.internal.cache.AdobeCommonCacheInstance(this.executorService);
                            this.cacheInstances.put(p14, v3_1);
                        }
                        v3_1.configureCache(p14, v5_1, this.rootCacheDir, v7, v8_0, v10, v11);
                        return;
                    } else {
                        throw new com.adobe.creativesdk.foundation.internal.cache.AdobeInvalidCacheSettingsException(new StringBuilder().append("Illegal diskCacheSize value: ").append(((long) p16)).toString());
                    }
                } else {
                    throw new com.adobe.creativesdk.foundation.internal.cache.AdobeInvalidCacheSettingsException(new StringBuilder().append("Illegal memCacheSize value ").append(p15).toString());
                }
            } else {
                throw new com.adobe.creativesdk.foundation.internal.cache.AdobeInvalidCacheSettingsException("Invalid cache policy.");
            }
        } else {
            throw new com.adobe.creativesdk.foundation.internal.cache.AdobeInvalidCacheSettingsException("Invalid cache name.");
        }
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.setCipherKey():


    public void setCipherKey(byte[] p5)
    {
        if (p5 != null) {
            IllegalArgumentException v0_3 = new byte[p5.length];
            System.arraycopy(p5, 0, v0_3, 0, p5.length);
            try {
                this.cipher = com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance(v0_3);
            } catch (IllegalArgumentException v0_5) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, this.getClass().getSimpleName(), v0_5.getMessage(), v0_5);
                throw new IllegalArgumentException("CSDK Foundation Auth : Cannot create Cipher Instance !");
            }
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance():


    static com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher createInstance(byte[] p1)
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance == null) {
            com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance = new com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher(p1);
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.<init>():


    public AdobeCommonCipher(byte[] p4)
    {
        javax.crypto.spec.SecretKeySpec v0_1 = new javax.crypto.spec.SecretKeySpec(p4, "AES");
        this.encryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.encryptionCipher.init(1, v0_1);
        this.decryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.decryptionCipher.init(2, v0_1);
        return;
    }

Method javax.crypto.Cipher.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/auth/AdobeUXAuthManager;', 'isAuthenticated', '()Z'), ('Lcom/adobe/creativesdk/foundation/adobeinternal/auth/AdobeUXAuthManagerRestricted;', 'isAuthenticated', '()Z'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'isAuthenticated', '()Z'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'setCipherKey', '([B)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', 'createInstance', '([B)Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', '<init>', '([B)V'), ('Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.auth.AdobeUXAuthManager.isAuthenticated():


    public boolean isAuthenticated()
    {
        return this.authManagerRestricted.isAuthenticated();
    }

Method com.adobe.creativesdk.foundation.adobeinternal.auth.AdobeUXAuthManagerRestricted.isAuthenticated():


    public boolean isAuthenticated()
    {
        return this._authManagerImpl.isAuthenticated();
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.isAuthenticated():


    public boolean isAuthenticated()
    {
        int v0 = 0;
        if (this.isInitialized()) {
            String v1_2 = com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance().getAdobeID();
            if (((this.hasValidAccessToken()) || (this.canRefreshAccessToken())) && (v1_2 != null)) {
                v0 = 1;
            }
        }
        return v0;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.setCipherKey():


    public void setCipherKey(byte[] p5)
    {
        if (p5 != null) {
            IllegalArgumentException v0_3 = new byte[p5.length];
            System.arraycopy(p5, 0, v0_3, 0, p5.length);
            try {
                this.cipher = com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance(v0_3);
            } catch (IllegalArgumentException v0_5) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, this.getClass().getSimpleName(), v0_5.getMessage(), v0_5);
                throw new IllegalArgumentException("CSDK Foundation Auth : Cannot create Cipher Instance !");
            }
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.createInstance():


    static com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher createInstance(byte[] p1)
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance == null) {
            com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance = new com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher(p1);
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.instance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.<init>():


    public AdobeCommonCipher(byte[] p4)
    {
        javax.crypto.spec.SecretKeySpec v0_1 = new javax.crypto.spec.SecretKeySpec(p4, "AES");
        this.encryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.encryptionCipher.init(1, v0_1);
        this.decryptionCipher = javax.crypto.Cipher.getInstance("AES");
        this.decryptionCipher.init(2, v0_1);
        return;
    }

Method javax.crypto.Cipher.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/auth/AdobeUXAuthManager;', 'isAuthenticated', '()Z'), ('Lcom/adobe/creativesdk/foundation/adobeinternal/auth/AdobeUXAuthManagerRestricted;', 'isAuthenticated', '()Z'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'isAuthenticated', '()Z'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'getFoundationAuthAESKey', '()[B'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'generateNewAESKey_Common', '()[B'), ('Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.auth.AdobeUXAuthManager.isAuthenticated():


    public boolean isAuthenticated()
    {
        return this.authManagerRestricted.isAuthenticated();
    }

Method com.adobe.creativesdk.foundation.adobeinternal.auth.AdobeUXAuthManagerRestricted.isAuthenticated():


    public boolean isAuthenticated()
    {
        return this._authManagerImpl.isAuthenticated();
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.isAuthenticated():


    public boolean isAuthenticated()
    {
        int v0 = 0;
        if (this.isInitialized()) {
            String v1_2 = com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance().getAdobeID();
            if (((this.hasValidAccessToken()) || (this.canRefreshAccessToken())) && (v1_2 != null)) {
                v0 = 1;
            }
        }
        return v0;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getFoundationAuthAESKey():


    public byte[] getFoundationAuthAESKey()
    {
        IllegalArgumentException v0_7;
        if (this._foundationAuth_AES_key == null) {
            this._foundationAuth_AES_key = this.getFoundation_AESKey_fromPreference();
            if (this._foundationAuth_AES_key == null) {
                this._foundationAuth_AES_key = com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common();
                if (this._foundationAuth_AES_key == null) {
                    throw new IllegalArgumentException("CSDK Foundation Auth AES Key is null.");
                } else {
                    this.storeFoundatationAuth_AESKey_InPreference(this._foundationAuth_AES_key);
                }
            }
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        } else {
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        }
        return v0_7;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common():


    public static byte[] generateNewAESKey_Common()
    {
        try {
            IllegalArgumentException v0_4 = javax.crypto.KeyGenerator.getInstance("AES");
            v0_4.init(128);
            return v0_4.generateKey().getEncoded();
        } catch (IllegalArgumentException v0_1) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.TAG, v0_1.getMessage(), v0_1);
            throw new IllegalArgumentException("Auth Foundation : Auth AESKeyMgr : Failed to generate an AES key");
        }
    }

Method javax.crypto.KeyGenerator.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/auth/AdobeUXAuthManager;', 'logout', '()V'), ('Lcom/adobe/creativesdk/foundation/adobeinternal/auth/AdobeUXAuthManagerRestricted;', 'logout', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'logout', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'getUserProfile', '()Lcom/adobe/creativesdk/foundation/auth/AdobeAuthUserProfile;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'isAuthenticated', '()Z'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'getFoundationAuthAESKey', '()[B'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCSDKAuthAESKeyMgr;', 'generateNewAESKey_Common', '()[B'), ('Ljavax/crypto/KeyGenerator;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.auth.AdobeUXAuthManager.logout():


    public void logout()
    {
        this.authManagerRestricted.logout();
        return;
    }

Method com.adobe.creativesdk.foundation.adobeinternal.auth.AdobeUXAuthManagerRestricted.logout():


    public void logout()
    {
        this._authManagerImpl.logout();
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.logout():


    public void logout()
    {
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager$3 v1_0 = this.getUserProfile();
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService v0_0 = 0;
        com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.DEBUG, "Authentication", "logout() called");
        String v2_0 = new com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSAuthEvent(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Type.AdobeEventTypeAppLogout.getValue());
        v2_0.trackService(this.getIMSService().getImsHost(), this.getIMSService().getLogoutAPI(), this.getIMSService().getLogoutAPIVersion());
        if (this.emergencyLogout) {
            v2_0.addEventParams(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Core.AdobeEventPropertySubType.getValue(), "token_deleted");
            this.emergencyLogout = 0;
        }
        if (v1_0 != null) {
            com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsSDKReporter.trackAuthStep("Logout Attempt", v1_0.getAdobeID());
            v0_0 = v1_0.getAdobeID();
        }
        if (this.getApplicationContext() != null) {
            com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager$3 v1_3 = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager$3(this, v0_0, v2_0);
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.DEBUG, "Authentication", "Calling getImSService-Signout");
            this.getIMSService().signOut(v1_3);
        } else {
            com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService v0_5 = new java.util.HashMap();
            v0_5.put("Error", new com.adobe.creativesdk.foundation.auth.AdobeAuthException(com.adobe.creativesdk.foundation.auth.AdobeAuthErrorCode.ADOBE_AUTH_ERROR_AUTH_MODULE_NOT_INITIALIZED));
            com.adobe.creativesdk.foundation.internal.notification.AdobeLocalNotificationCenter.getDefaultNotificationCenter().postNotification(new com.adobe.creativesdk.foundation.internal.notification.AdobeNotification(com.adobe.creativesdk.foundation.internal.notification.AdobeInternalNotificationID.AdobeAuthLogoutNotification, v0_5));
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.getUserProfile():


    public com.adobe.creativesdk.foundation.auth.AdobeAuthUserProfile getUserProfile()
    {
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthUserProfileImpl v0_17;
        int v1_0 = 1;
        if ((this.isInitialized()) && (this.isAuthenticated())) {
            this.mUserProfile = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthUserProfileImpl();
            String v3_0 = com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance();
            com.adobe.creativesdk.foundation.internal.auth.AdobeAuthUserProfileImpl v0_1 = this.getIMSService().getAdobeID();
            if (v0_1 != null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthUserProfileImpl v0_11;
                this.mUserProfile.setAdobeID(v0_1);
                this.mUserProfile.setDisplayName(v3_0.getDisplayName());
                this.mUserProfile.setCountrycode(v3_0.getCountryCode());
                this.mUserProfile.setFirstName(v3_0.getFirstName());
                this.mUserProfile.setLastName(v3_0.getLastName());
                this.mUserProfile.setEmail(v3_0.getEmailAddress());
                if ((v3_0.getEmailVerified() == null) || (!v3_0.getEmailVerified().equals("true"))) {
                    v0_11 = 0;
                } else {
                    v0_11 = 1;
                }
                this.mUserProfile.setEmailVerified(v0_11);
                if ((v3_0.getIsEnterPrise() == null) || (!v3_0.getIsEnterPrise().equals("true"))) {
                    v1_0 = 0;
                }
                this.mUserProfile.setEnterprise(v1_0);
                v0_17 = this.mUserProfile;
            } else {
                throw new RuntimeException("User profile not available. But user Authenticated");
            }
        } else {
            v0_17 = 0;
        }
        return v0_17;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.isAuthenticated():


    public boolean isAuthenticated()
    {
        int v0 = 0;
        if (this.isInitialized()) {
            String v1_2 = com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance().getAdobeID();
            if (((this.hasValidAccessToken()) || (this.canRefreshAccessToken())) && (v1_2 != null)) {
                v0 = 1;
            }
        }
        return v0;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance():


    public static com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService getSharedInstance()
    {
        if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
            if (com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance == null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService();
            }
        }
        return com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.sharedInstance;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.<init>():


    private AdobeAuthIdentityManagementService()
    {
        this.testTOU = 0;
        this.redirectURI = 0;
        this.setCipherKey(com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getInstance().getFoundationAuthAESKey());
        this.authKeychain = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain(this);
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.setSharedKeychain(this.authKeychain);
        this.setEnvironment(com.adobe.creativesdk.foundation.internal.auth.AdobeAuthKeychain.getSharedKeychain().getLastEnvironment());
        this.setAdditionalClientScopes(0);
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.getFoundationAuthAESKey():


    public byte[] getFoundationAuthAESKey()
    {
        IllegalArgumentException v0_7;
        if (this._foundationAuth_AES_key == null) {
            this._foundationAuth_AES_key = this.getFoundation_AESKey_fromPreference();
            if (this._foundationAuth_AES_key == null) {
                this._foundationAuth_AES_key = com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common();
                if (this._foundationAuth_AES_key == null) {
                    throw new IllegalArgumentException("CSDK Foundation Auth AES Key is null.");
                } else {
                    this.storeFoundatationAuth_AESKey_InPreference(this._foundationAuth_AES_key);
                }
            }
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        } else {
            v0_7 = ((byte[]) this._foundationAuth_AES_key.clone());
        }
        return v0_7;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common():


    public static byte[] generateNewAESKey_Common()
    {
        try {
            IllegalArgumentException v0_4 = javax.crypto.KeyGenerator.getInstance("AES");
            v0_4.init(128);
            return v0_4.generateKey().getEncoded();
        } catch (IllegalArgumentException v0_1) {
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.TAG, v0_1.getMessage(), v0_1);
            throw new IllegalArgumentException("Auth Foundation : Auth AESKeyMgr : Failed to generate an AES key");
        }
    }

Method javax.crypto.KeyGenerator.getInstance() not found.

[TAINT] String 'AES' ==>>> Sink '['Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;', '0', 'CRYPTO_SINK']' [[('Lcom/adobe/creativesdk/foundation/auth/AdobeUXAuthManager;', 'logout', '()V'), ('Lcom/adobe/creativesdk/foundation/adobeinternal/auth/AdobeUXAuthManagerRestricted;', 'logout', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'logout', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'getUserProfile', '()Lcom/adobe/creativesdk/foundation/auth/AdobeAuthUserProfile;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthManager;', 'isAuthenticated', '()Z'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'getSharedInstance', '()Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', '<init>', '()V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeAuthIdentityManagementService;', 'setCipherKey', '([B)V'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', 'createInstance', '([B)Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;'), ('Lcom/adobe/creativesdk/foundation/internal/auth/AdobeCommonCipher;', '<init>', '([B)V'), ('Ljavax/crypto/Cipher;', 'getInstance', '(Ljava/lang/String;)Ljavax/crypto/Cipher;')]]

The insecure algorithm AES is used.

Method com.adobe.creativesdk.foundation.auth.AdobeUXAuthManager.logout():


    public void logout()
    {
        this.authManagerRestricted.logout();
        return;
    }

Method com.adobe.creativesdk.foundation.adobeinternal.auth.AdobeUXAuthManagerRestricted.logout():


    public void logout()
    {
        this._authManagerImpl.logout();
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.logout():


    public void logout()
    {
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager$3 v1_0 = this.getUserProfile();
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService v0_0 = 0;
        com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.DEBUG, "Authentication", "logout() called");
        String v2_0 = new com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsETSAuthEvent(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Type.AdobeEventTypeAppLogout.getValue());
        v2_0.trackService(this.getIMSService().getImsHost(), this.getIMSService().getLogoutAPI(), this.getIMSService().getLogoutAPIVersion());
        if (this.emergencyLogout) {
            v2_0.addEventParams(com.adobe.creativesdk.foundation.adobeinternal.analytics.AdobeAnalyticsEventParams$Core.AdobeEventPropertySubType.getValue(), "token_deleted");
            this.emergencyLogout = 0;
        }
        if (v1_0 != null) {
            com.adobe.creativesdk.foundation.internal.analytics.AdobeAnalyticsSDKReporter.trackAuthStep("Logout Attempt", v1_0.getAdobeID());
            v0_0 = v1_0.getAdobeID();
        }
        if (this.getApplicationContext() != null) {
            com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager$3 v1_3 = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager$3(this, v0_0, v2_0);
            com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.DEBUG, "Authentication", "Calling getImSService-Signout");
            this.getIMSService().signOut(v1_3);
        } else {
            com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService v0_5 = new java.util.HashMap();
            v0_5.put("Error", new com.adobe.creativesdk.foundation.auth.AdobeAuthException(com.adobe.creativesdk.foundation.auth.AdobeAuthErrorCode.ADOBE_AUTH_ERROR_AUTH_MODULE_NOT_INITIALIZED));
            com.adobe.creativesdk.foundation.internal.notification.AdobeLocalNotificationCenter.getDefaultNotificationCenter().postNotification(new com.adobe.creativesdk.foundation.internal.notification.AdobeNotification(com.adobe.creativesdk.foundation.internal.notification.AdobeInternalNotificationID.AdobeAuthLogoutNotification, v0_5));
        }
        return;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeAuthManager.getUserProfile():


    public com.adobe.creativesdk.foundation.auth.AdobeAuthUserProfile getUserProfile()
    {
        com.adobe.creativesdk.foundation.internal.auth.AdobeAuthUserProfileImpl v0_17;
        int v1_0 = 1;
        if ((this.isInitialized()) && (this.isAuthenticated())) {
            this.mUserProfile = new com.adobe.creativesdk.foundation.internal.auth.AdobeAuthUserProfileImpl();
            String v3_0 = com.adobe.creativesdk.foundation.internal.auth.AdobeAuthIdentityManagementService.getSharedInstance();
            com.adobe.creativesdk.foundation.internal.auth.AdobeAuthUserProfileImpl v0_1 = this.getIMSService().getAdobeID();
            if (v0_1 != null) {
                com.adobe.creativesdk.foundation.internal.auth.AdobeAuthUserProfileImpl v0_11;
                this.mUserProfile.setAdobeID(v0_1);