Info Call to Crypto API

Description

List of all calls to cryptographic methods.

Recommendation

Do not use insecure or weak cryptographic algorithms. For example, the Data Encryption Standard (DES) encryption algorithm is considered highly insecure

Do not use Object.equals() to compare cryptographic keys

Cryptographic keys should never be serialized

Technical details

Method com.yandex.auth.ob.ar.b() calling method javax.crypto.Cipher.getInstance()


    public static String b(String p5)
    {
        try {
            Exception v0_8 = new javax.crypto.spec.SecretKeySpec(android.util.Base64.decode(com.yandex.auth.ob.ar.a(), 0), "AES");
            RuntimeException v1_0 = javax.crypto.Cipher.getInstance("AES/CFB/NoPadding");
            byte[] v4_1 = new byte[16];
            v1_0.init(2, v0_8, new javax.crypto.spec.IvParameterSpec(v4_1));
            return new String(v1_0.doFinal(android.util.Base64.decode(p5, 0)), "UTF-8").split("\\^")[0];
        } catch (Exception v0_7) {
            throw new RuntimeException("Configuration value can\'t be decrypted. Maybe you forgot to prepare clientId/clientSecret values with Am encryption utility.", v0_7);
        }
    }

Method com.yandex.auth.ob.ar.a() calling method javax.crypto.Cipher.getInstance()


    public static String a(String p5)
    {
        try {
            String v0_12 = new javax.crypto.spec.SecretKeySpec(android.util.Base64.decode(ark>com.yandex.auth.ob.arark>.a(), 0), "AES");
            int v1_0 = javax.crypto.Cipher.getInstance("AES/CFB/NoPadding");
            byte[] v4_1 = new byte[16];
            v1_0.init(1, v0_12, new javax.crypto.spec.IvParameterSpec(v4_1));
            String v0_3 = (16 - (p5.length() % 16));
        } catch (String v0_7) {
            throw new RuntimeException("Configuration value can\'t be encrypted. Maybe you forgot to prepare clientId/clientSecret values with Am encryption utility.", v0_7);
        }
        if (v0_3 != null) {
            p5 = new StringBuilder().append(p5).append(94).append(ark>com.yandex.auth.ob.arark>.a((v0_3 - 1))).toString();
        }
        return android.util.Base64.encodeToString(v1_0.doFinal(p5.getBytes("UTF-8")), 0);
    }

Method com.yandex.auth.ob.ap.a() calling method javax.crypto.Cipher.getInstance()


    private String a(byte[] p8)
    {
        try {
            int v0_1 = java.security.KeyFactory.getInstance("RSA").generatePublic(new java.security.spec.X509EncodedKeySpec(android.util.Base64.decode(this.b, 2)));
            int v1_2 = javax.crypto.Cipher.getInstance("RSA/ECB/PKCS1Padding");
            v1_2.init(1, v0_1);
            int v0_3 = new byte[11];
            v0_3 = {0, 20, 30, 101, 17, 23, 109, 15, 11, 65, 127};
            int v0_4 = javax.crypto.SecretKeyFactory.getInstance("PBKDF2WithHmacSHA1").generateSecret(new javax.crypto.spec.PBEKeySpec(this.c.toCharArray(), v0_3, 198, 128));
            javax.crypto.Cipher v2_5 = javax.crypto.Cipher.getInstance("AES/ECB/PKCS5Padding");
            v2_5.init(1, new javax.crypto.spec.SecretKeySpec(v0_4.getEncoded(), "AES"));
            int v0_9 = android.util.Base64.encodeToString(ark>com.yandex.auth.ob.apark>.a(v1_2, v2_5.doFinal(p8)), 2);
        } catch (int v0_10) {
            v0_10.getMessage();
            v0_9 = 0;
        }
        return v0_9;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.<init>() calling method javax.crypto.Cipher.getInstance()


    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 com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr$AESKeySecret_Encryptor.getRSACipher() calling method javax.crypto.Cipher.getInstance()


    private javax.crypto.Cipher getRSACipher()
    {
        try {
            return javax.crypto.Cipher.getInstance("RSA/ECB/PKCS1Padding", "AndroidOpenSSL");
        } catch (Exception v0_2) {
            throw new IllegalArgumentException("Auth Foundation : Auth AESKeyMgr : Failed to create Cipher", v0_2);
        }
    }

Method com.yandex.metrica.impl.utils.a.a() calling method javax.crypto.Cipher.doFinal()


    public byte[] a(byte[] p5)
    {
        byte[] v0_2 = new javax.crypto.spec.SecretKeySpec(this.b, "AES");
        javax.crypto.Cipher v1_2 = javax.crypto.Cipher.getInstance(this.a);
        v1_2.init(1, v0_2, new javax.crypto.spec.IvParameterSpec(this.c));
        return v1_2.doFinal(p5);
    }

Method com.yandex.metrica.impl.utils.b.a() calling method javax.crypto.Cipher.doFinal()


    byte[] a(byte[] p7, byte[] p8, byte[] p9, java.security.PublicKey p10)
    {
        Throwable v0_0 = 0;
        try {
            Throwable v1_6 = new java.io.ByteArrayOutputStream((p8.length + p9.length));
            v1_6.write(p8);
            v1_6.write(p9);
            Exception v2_6 = v1_6.toByteArray();
            v1_6.close();
            String v3_0 = javax.crypto.Cipher.getInstance(this.b);
            v3_0.init(1, p10);
            Throwable v1_4 = new java.io.ByteArrayOutputStream(p7.length);
            try {
                v1_4.write(v3_0.doFinal(v2_6));
                v1_4.write(new com.yandex.metrica.impl.utils.a(this.a, p8, p9).a(p7));
                v0_0 = v1_4.toByteArray();
                com.yandex.metrica.impl.bl.a(v1_4);
            } catch (Throwable v0_1) {
                com.yandex.metrica.impl.bl.a(v1_4);
                throw v0_1;
            } catch (Exception v2) {
                com.yandex.metrica.impl.bl.a(v1_4);
            }
            return v0_0;
        } catch (Throwable v1_5) {
            v1_4 = 0;
            v0_1 = v1_5;
        } catch (Throwable v1) {
            v1_4 = 0;
        }
    }

Method com.yandex.auth.ob.ar.b() calling method javax.crypto.Cipher.doFinal()


    public static String b(String p5)
    {
        try {
            Exception v0_8 = new javax.crypto.spec.SecretKeySpec(android.util.Base64.decode(com.yandex.auth.ob.ar.a(), 0), "AES");
            RuntimeException v1_0 = javax.crypto.Cipher.getInstance("AES/CFB/NoPadding");
            byte[] v4_1 = new byte[16];
            v1_0.init(2, v0_8, new javax.crypto.spec.IvParameterSpec(v4_1));
            return new String(v1_0.doFinal(android.util.Base64.decode(p5, 0)), "UTF-8").split("\\^")[0];
        } catch (Exception v0_7) {
            throw new RuntimeException("Configuration value can\'t be decrypted. Maybe you forgot to prepare clientId/clientSecret values with Am encryption utility.", v0_7);
        }
    }

Method com.yandex.auth.ob.ar.a() calling method javax.crypto.Cipher.doFinal()


    public static String a(String p5)
    {
        try {
            String v0_12 = new javax.crypto.spec.SecretKeySpec(android.util.Base64.decode(ark>com.yandex.auth.ob.arark>.a(), 0), "AES");
            int v1_0 = javax.crypto.Cipher.getInstance("AES/CFB/NoPadding");
            byte[] v4_1 = new byte[16];
            v1_0.init(1, v0_12, new javax.crypto.spec.IvParameterSpec(v4_1));
            String v0_3 = (16 - (p5.length() % 16));
        } catch (String v0_7) {
            throw new RuntimeException("Configuration value can\'t be encrypted. Maybe you forgot to prepare clientId/clientSecret values with Am encryption utility.", v0_7);
        }
        if (v0_3 != null) {
            p5 = new StringBuilder().append(p5).append(94).append(ark>com.yandex.auth.ob.arark>.a((v0_3 - 1))).toString();
        }
        return android.util.Base64.encodeToString(v1_0.doFinal(p5.getBytes("UTF-8")), 0);
    }

Method com.yandex.auth.ob.ap.a() calling method javax.crypto.Cipher.doFinal()


    private static byte[] a(javax.crypto.Cipher p5, byte[] p6)
    {
        java.io.ByteArrayOutputStream v3_1 = new java.io.ByteArrayOutputStream();
        int v0_0 = 0;
        while (v0_0 < p6.length) {
            byte[] v2_0;
            if (p6.length >= (v0_0 + 245)) {
                v2_0 = 245;
            } else {
                v2_0 = (p6.length - v0_0);
            }
            byte[] v2_2 = p5.doFinal(p6, v0_0, v2_0);
            v3_1.write(v2_2, 0, v2_2.length);
            v0_0 += 245;
        }
        return v3_1.toByteArray();
    }

Method com.yandex.auth.ob.ap.a() calling method javax.crypto.Cipher.doFinal()


    private String a(byte[] p8)
    {
        try {
            int v0_1 = java.security.KeyFactory.getInstance("RSA").generatePublic(new java.security.spec.X509EncodedKeySpec(android.util.Base64.decode(this.b, 2)));
            int v1_2 = javax.crypto.Cipher.getInstance("RSA/ECB/PKCS1Padding");
            v1_2.init(1, v0_1);
            int v0_3 = new byte[11];
            v0_3 = {0, 20, 30, 101, 17, 23, 109, 15, 11, 65, 127};
            int v0_4 = javax.crypto.SecretKeyFactory.getInstance("PBKDF2WithHmacSHA1").generateSecret(new javax.crypto.spec.PBEKeySpec(this.c.toCharArray(), v0_3, 198, 128));
            javax.crypto.Cipher v2_5 = javax.crypto.Cipher.getInstance("AES/ECB/PKCS5Padding");
            v2_5.init(1, new javax.crypto.spec.SecretKeySpec(v0_4.getEncoded(), "AES"));
            int v0_9 = android.util.Base64.encodeToString(ark>com.yandex.auth.ob.apark>.a(v1_2, v2_5.doFinal(p8)), 2);
        } catch (int v0_10) {
            v0_10.getMessage();
            v0_9 = 0;
        }
        return v0_9;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.encrypt() calling method javax.crypto.Cipher.doFinal()


    String encrypt(String p6)
    {
        Exception v0_0;
        if (p6 == null) {
            v0_0 = 0;
        } else {
            try {
                v0_0 = new String(android.util.Base64.encode(this.encryptionCipher.doFinal(p6.getBytes("UTF-8")), 2), "UTF-8");
            } catch (Exception v0_1) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, v0_1.getClass().getSimpleName(), "Encryption error", v0_1);
            }
        }
        return v0_0;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.decrypt() calling method javax.crypto.Cipher.doFinal()


    String decrypt(String p6)
    {
        Exception v0_1;
        if (p6 == null) {
            v0_1 = 0;
        } else {
            try {
                v0_1 = new String(this.decryptionCipher.doFinal(android.util.Base64.decode(p6.getBytes("UTF-8"), 2)), "UTF-8");
            } catch (Exception v0_2) {
                com.adobe.creativesdk.foundation.internal.utils.logging.AdobeLogger.log(com.adobe.creativesdk.foundation.internal.utils.logging.Level.ERROR, v0_2.getClass().getSimpleName(), "Decryption error", v0_2);
            }
        }
        return v0_1;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr$AESKeySecret_Encryptor.encryptUsingPublicKey() calling method javax.crypto.Cipher.doFinal()


    private byte[] encryptUsingPublicKey(byte[] p5)
    {
        Exception v0_0 = this.getRSACipher();
        try {
            v0_0.init(1, this._app_publicRSAKey);
            return v0_0.doFinal(p5);
        } catch (Exception 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.auth.AdobeCSDKAuthAESKeyMgr.access$000(), v0_2.getMessage(), v0_2);
            throw new IllegalArgumentException("Auth Foundation : Auth AESKeyMgr : Failed to encrypt using public key", v0_2);
        }
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr$AESKeySecret_Encryptor.deCryptUsingPrivateKey() calling method javax.crypto.Cipher.doFinal()


    private byte[] deCryptUsingPrivateKey(byte[] p5)
    {
        Exception v0_0 = this.getRSACipher();
        try {
            v0_0.init(2, this._app_privateRSAKey);
            return v0_0.doFinal(p5);
        } catch (Exception 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.auth.AdobeCSDKAuthAESKeyMgr.access$000(), v0_2.getMessage(), v0_2);
            throw new IllegalArgumentException("Auth Foundation : Auth AESKeyMgr : Failed to decyrpt using private key", v0_2);
        }
    }

Method com.yandex.metrica.impl.utils.a.a() calling method javax.crypto.spec.SecretKeySpec.<init>()


    public byte[] a(byte[] p5)
    {
        byte[] v0_2 = new javax.crypto.spec.SecretKeySpec(this.b, "AES");
        javax.crypto.Cipher v1_2 = javax.crypto.Cipher.getInstance(this.a);
        v1_2.init(1, v0_2, new javax.crypto.spec.IvParameterSpec(this.c));
        return v1_2.doFinal(p5);
    }

Method com.yandex.auth.ob.ar.b() calling method javax.crypto.spec.SecretKeySpec.<init>()


    public static String b(String p5)
    {
        try {
            Exception v0_8 = new javax.crypto.spec.SecretKeySpec(android.util.Base64.decode(com.yandex.auth.ob.ar.a(), 0), "AES");
            RuntimeException v1_0 = javax.crypto.Cipher.getInstance("AES/CFB/NoPadding");
            byte[] v4_1 = new byte[16];
            v1_0.init(2, v0_8, new javax.crypto.spec.IvParameterSpec(v4_1));
            return new String(v1_0.doFinal(android.util.Base64.decode(p5, 0)), "UTF-8").split("\\^")[0];
        } catch (Exception v0_7) {
            throw new RuntimeException("Configuration value can\'t be decrypted. Maybe you forgot to prepare clientId/clientSecret values with Am encryption utility.", v0_7);
        }
    }

Method com.yandex.auth.ob.ar.a() calling method javax.crypto.spec.SecretKeySpec.<init>()


    public static String a(String p5)
    {
        try {
            String v0_12 = new javax.crypto.spec.SecretKeySpec(android.util.Base64.decode(ark>com.yandex.auth.ob.arark>.a(), 0), "AES");
            int v1_0 = javax.crypto.Cipher.getInstance("AES/CFB/NoPadding");
            byte[] v4_1 = new byte[16];
            v1_0.init(1, v0_12, new javax.crypto.spec.IvParameterSpec(v4_1));
            String v0_3 = (16 - (p5.length() % 16));
        } catch (String v0_7) {
            throw new RuntimeException("Configuration value can\'t be encrypted. Maybe you forgot to prepare clientId/clientSecret values with Am encryption utility.", v0_7);
        }
        if (v0_3 != null) {
            p5 = new StringBuilder().append(p5).append(94).append(ark>com.yandex.auth.ob.arark>.a((v0_3 - 1))).toString();
        }
        return android.util.Base64.encodeToString(v1_0.doFinal(p5.getBytes("UTF-8")), 0);
    }

Method com.yandex.auth.ob.ap.a() calling method javax.crypto.spec.SecretKeySpec.<init>()


    private String a(byte[] p8)
    {
        try {
            int v0_1 = java.security.KeyFactory.getInstance("RSA").generatePublic(new java.security.spec.X509EncodedKeySpec(android.util.Base64.decode(this.b, 2)));
            int v1_2 = javax.crypto.Cipher.getInstance("RSA/ECB/PKCS1Padding");
            v1_2.init(1, v0_1);
            int v0_3 = new byte[11];
            v0_3 = {0, 20, 30, 101, 17, 23, 109, 15, 11, 65, 127};
            int v0_4 = javax.crypto.SecretKeyFactory.getInstance("PBKDF2WithHmacSHA1").generateSecret(new javax.crypto.spec.PBEKeySpec(this.c.toCharArray(), v0_3, 198, 128));
            javax.crypto.Cipher v2_5 = javax.crypto.Cipher.getInstance("AES/ECB/PKCS5Padding");
            v2_5.init(1, new javax.crypto.spec.SecretKeySpec(v0_4.getEncoded(), "AES"));
            int v0_9 = android.util.Base64.encodeToString(ark>com.yandex.auth.ob.apark>.a(v1_2, v2_5.doFinal(p8)), 2);
        } catch (int v0_10) {
            v0_10.getMessage();
            v0_9 = 0;
        }
        return v0_9;
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCommonCipher.<init>() calling method javax.crypto.spec.SecretKeySpec.<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 com.adobe.creativesdk.aviary.internal.utils.CryptoUtils.computeHmac() calling method javax.crypto.spec.SecretKeySpec.<init>()


    public static String computeHmac(String p4, String p5, com.adobe.creativesdk.aviary.internal.utils.CryptoUtils$CryptoAlgorithm p6)
    {
        String v0_3 = javax.crypto.Mac.getInstance(p6.name());
        v0_3.init(new javax.crypto.spec.SecretKeySpec(p5.getBytes(), v0_3.getAlgorithm()));
        return com.adobe.android.common.util.StringUtils.toHex(v0_3.doFinal(p4.getBytes()));
    }

Method com.yandex.metrica.impl.utils.a.a() calling method javax.crypto.spec.IvParameterSpec.<init>()


    public byte[] a(byte[] p5)
    {
        byte[] v0_2 = new javax.crypto.spec.SecretKeySpec(this.b, "AES");
        javax.crypto.Cipher v1_2 = javax.crypto.Cipher.getInstance(this.a);
        v1_2.init(1, v0_2, new javax.crypto.spec.IvParameterSpec(this.c));
        return v1_2.doFinal(p5);
    }

Method com.yandex.auth.ob.ar.b() calling method javax.crypto.spec.IvParameterSpec.<init>()


    public static String b(String p5)
    {
        try {
            Exception v0_8 = new javax.crypto.spec.SecretKeySpec(android.util.Base64.decode(com.yandex.auth.ob.ar.a(), 0), "AES");
            RuntimeException v1_0 = javax.crypto.Cipher.getInstance("AES/CFB/NoPadding");
            byte[] v4_1 = new byte[16];
            v1_0.init(2, v0_8, new javax.crypto.spec.IvParameterSpec(v4_1));
            return new String(v1_0.doFinal(android.util.Base64.decode(p5, 0)), "UTF-8").split("\\^")[0];
        } catch (Exception v0_7) {
            throw new RuntimeException("Configuration value can\'t be decrypted. Maybe you forgot to prepare clientId/clientSecret values with Am encryption utility.", v0_7);
        }
    }

Method com.yandex.auth.ob.ar.a() calling method javax.crypto.spec.IvParameterSpec.<init>()


    public static String a(String p5)
    {
        try {
            String v0_12 = new javax.crypto.spec.SecretKeySpec(android.util.Base64.decode(ark>com.yandex.auth.ob.arark>.a(), 0), "AES");
            int v1_0 = javax.crypto.Cipher.getInstance("AES/CFB/NoPadding");
            byte[] v4_1 = new byte[16];
            v1_0.init(1, v0_12, new javax.crypto.spec.IvParameterSpec(v4_1));
            String v0_3 = (16 - (p5.length() % 16));
        } catch (String v0_7) {
            throw new RuntimeException("Configuration value can\'t be encrypted. Maybe you forgot to prepare clientId/clientSecret values with Am encryption utility.", v0_7);
        }
        if (v0_3 != null) {
            p5 = new StringBuilder().append(p5).append(94).append(ark>com.yandex.auth.ob.arark>.a((v0_3 - 1))).toString();
        }
        return android.util.Base64.encodeToString(v1_0.doFinal(p5.getBytes("UTF-8")), 0);
    }

Method com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common() calling method javax.crypto.KeyGenerator.getInstance()


    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 com.adobe.creativesdk.foundation.internal.auth.AdobeCSDKAuthAESKeyMgr.generateNewAESKey_Common() calling method javax.crypto.KeyGenerator.generateKey()


    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 com.yandex.metrica.impl.utils.a.a() calling method javax.crypto.Cipher.getInstance()


    public byte[] a(byte[] p5)
    {
        byte[] v0_2 = new javax.crypto.spec.SecretKeySpec(this.b, "AES");
        javax.crypto.Cipher v1_2 = javax.crypto.Cipher.getInstance(this.a);
        v1_2.init(1, v0_2, new javax.crypto.spec.IvParameterSpec(this.c));
        return v1_2.doFinal(p5);
    }

Method com.yandex.metrica.impl.utils.b.a() calling method javax.crypto.Cipher.getInstance()


    byte[] a(byte[] p7, byte[] p8, byte[] p9, java.security.PublicKey p10)
    {
        Throwable v0_0 = 0;
        try {
            Throwable v1_6 = new java.io.ByteArrayOutputStream((p8.length + p9.length));
            v1_6.write(p8);
            v1_6.write(p9);
            Exception v2_6 = v1_6.toByteArray();
            v1_6.close();
            String v3_0 = javax.crypto.Cipher.getInstance(this.b);
            v3_0.init(1, p10);
            Throwable v1_4 = new java.io.ByteArrayOutputStream(p7.length);
            try {
                v1_4.write(v3_0.doFinal(v2_6));
                v1_4.write(new com.yandex.metrica.impl.utils.a(this.a, p8, p9).a(p7));
                v0_0 = v1_4.toByteArray();
                com.yandex.metrica.impl.bl.a(v1_4);
            } catch (Throwable v0_1) {
                com.yandex.metrica.impl.bl.a(v1_4);
                throw v0_1;
            } catch (Exception v2) {
                com.yandex.metrica.impl.bl.a(v1_4);
            }
            return v0_0;
        } catch (Throwable v1_5) {
            v1_4 = 0;
            v0_1 = v1_5;
        } catch (Throwable v1) {
            v1_4 = 0;
        }
    }