package org.bouncycastle.cms.jcajce;

/* JADX INFO: loaded from: E:\ios\vf_dex\classes4.dex */
public class EnvelopedDataHelper {
    protected static final org.bouncycastle.operator.SecretKeySizeProvider a = org.bouncycastle.operator.DefaultSecretKeySizeProvider.a;
    private static final byte[] b = org.bouncycastle.util.Strings.f("The Cryptographic Message Syntax");
    private static final java.util.Set c;
    protected static final java.util.Map d;
    protected static final java.util.Map e;
    protected static final java.util.Map f;
    private static final java.util.Map g;
    private static final short[] h;
    private static final short[] i;

    /* JADX INFO: renamed from: org.bouncycastle.cms.jcajce.EnvelopedDataHelper$1, reason: invalid class name */
    class AnonymousClass1 implements org.bouncycastle.cms.jcajce.EnvelopedDataHelper.JCECallback {
    }

    /* JADX INFO: renamed from: org.bouncycastle.cms.jcajce.EnvelopedDataHelper$2, reason: invalid class name */
    class AnonymousClass2 implements org.bouncycastle.cms.jcajce.EnvelopedDataHelper.JCECallback {
    }

    interface JCECallback {
    }

    static {
        java.util.HashSet hashSet = new java.util.HashSet();
        c = hashSet;
        java.util.HashMap map = new java.util.HashMap();
        d = map;
        java.util.HashMap map2 = new java.util.HashMap();
        e = map2;
        java.util.HashMap map3 = new java.util.HashMap();
        f = map3;
        java.util.HashMap map4 = new java.util.HashMap();
        g = map4;
        org.bouncycastle.asn1.ASN1ObjectIdentifier aSN1ObjectIdentifier = org.bouncycastle.cms.CMSAlgorithm.a;
        map.put(aSN1ObjectIdentifier, "DES");
        org.bouncycastle.asn1.ASN1ObjectIdentifier aSN1ObjectIdentifier2 = org.bouncycastle.cms.CMSAlgorithm.b;
        map.put(aSN1ObjectIdentifier2, "DESEDE");
        org.bouncycastle.asn1.ASN1ObjectIdentifier aSN1ObjectIdentifier3 = org.bouncycastle.cms.CMSAlgorithm.f;
        map.put(aSN1ObjectIdentifier3, "AES");
        org.bouncycastle.asn1.ASN1ObjectIdentifier aSN1ObjectIdentifier4 = org.bouncycastle.cms.CMSAlgorithm.g;
        map.put(aSN1ObjectIdentifier4, "AES");
        org.bouncycastle.asn1.ASN1ObjectIdentifier aSN1ObjectIdentifier5 = org.bouncycastle.cms.CMSAlgorithm.h;
        map.put(aSN1ObjectIdentifier5, "AES");
        org.bouncycastle.asn1.ASN1ObjectIdentifier aSN1ObjectIdentifier6 = org.bouncycastle.cms.CMSAlgorithm.c;
        map.put(aSN1ObjectIdentifier6, "RC2");
        org.bouncycastle.asn1.ASN1ObjectIdentifier aSN1ObjectIdentifier7 = org.bouncycastle.cms.CMSAlgorithm.e;
        map.put(aSN1ObjectIdentifier7, "CAST5");
        org.bouncycastle.asn1.ASN1ObjectIdentifier aSN1ObjectIdentifier8 = org.bouncycastle.cms.CMSAlgorithm.o;
        map.put(aSN1ObjectIdentifier8, "Camellia");
        org.bouncycastle.asn1.ASN1ObjectIdentifier aSN1ObjectIdentifier9 = org.bouncycastle.cms.CMSAlgorithm.p;
        map.put(aSN1ObjectIdentifier9, "Camellia");
        org.bouncycastle.asn1.ASN1ObjectIdentifier aSN1ObjectIdentifier10 = org.bouncycastle.cms.CMSAlgorithm.q;
        map.put(aSN1ObjectIdentifier10, "Camellia");
        org.bouncycastle.asn1.ASN1ObjectIdentifier aSN1ObjectIdentifier11 = org.bouncycastle.cms.CMSAlgorithm.s;
        map.put(aSN1ObjectIdentifier11, "SEED");
        org.bouncycastle.asn1.ASN1ObjectIdentifier aSN1ObjectIdentifier12 = org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers.E1;
        map.put(aSN1ObjectIdentifier12, "RC4");
        map.put(org.bouncycastle.asn1.cryptopro.CryptoProObjectIdentifiers.f, "GOST28147");
        map2.put(aSN1ObjectIdentifier, "DES/CBC/PKCS5Padding");
        map2.put(aSN1ObjectIdentifier6, "RC2/CBC/PKCS5Padding");
        map2.put(aSN1ObjectIdentifier2, "DESEDE/CBC/PKCS5Padding");
        map2.put(aSN1ObjectIdentifier3, "AES/CBC/PKCS5Padding");
        map2.put(aSN1ObjectIdentifier4, "AES/CBC/PKCS5Padding");
        map2.put(aSN1ObjectIdentifier5, "AES/CBC/PKCS5Padding");
        map2.put(org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers.X0, "RSA/ECB/PKCS1Padding");
        map2.put(aSN1ObjectIdentifier7, "CAST5/CBC/PKCS5Padding");
        map2.put(aSN1ObjectIdentifier8, "Camellia/CBC/PKCS5Padding");
        map2.put(aSN1ObjectIdentifier9, "Camellia/CBC/PKCS5Padding");
        map2.put(aSN1ObjectIdentifier10, "Camellia/CBC/PKCS5Padding");
        map2.put(aSN1ObjectIdentifier11, "SEED/CBC/PKCS5Padding");
        map2.put(aSN1ObjectIdentifier12, "RC4");
        map3.put(aSN1ObjectIdentifier2, "DESEDEMac");
        map3.put(aSN1ObjectIdentifier3, "AESMac");
        map3.put(aSN1ObjectIdentifier4, "AESMac");
        map3.put(aSN1ObjectIdentifier5, "AESMac");
        map3.put(aSN1ObjectIdentifier6, "RC2Mac");
        map4.put(org.bouncycastle.cms.PasswordRecipient.PRF.c.a(), "PBKDF2WITHHMACSHA1");
        map4.put(org.bouncycastle.cms.PasswordRecipient.PRF.d.a(), "PBKDF2WITHHMACSHA224");
        map4.put(org.bouncycastle.cms.PasswordRecipient.PRF.e.a(), "PBKDF2WITHHMACSHA256");
        map4.put(org.bouncycastle.cms.PasswordRecipient.PRF.f.a(), "PBKDF2WITHHMACSHA384");
        map4.put(org.bouncycastle.cms.PasswordRecipient.PRF.g.a(), "PBKDF2WITHHMACSHA512");
        hashSet.add(org.bouncycastle.asn1.nist.NISTObjectIdentifiers.E);
        hashSet.add(org.bouncycastle.asn1.nist.NISTObjectIdentifiers.N);
        hashSet.add(org.bouncycastle.asn1.nist.NISTObjectIdentifiers.W);
        hashSet.add(org.bouncycastle.asn1.nist.NISTObjectIdentifiers.F);
        hashSet.add(org.bouncycastle.asn1.nist.NISTObjectIdentifiers.O);
        hashSet.add(org.bouncycastle.asn1.nist.NISTObjectIdentifiers.X);
        h = new short[]{189, 86, 234, 242, 162, 241, 172, 42, 176, 147, 209, 156, 27, 51, 253, 208, 48, 4, 182, 220, 125, 223, 50, 75, 247, 203, 69, 155, 49, 187, 33, 90, 65, 159, 225, 217, 74, 77, 158, 218, 160, 104, 44, 195, 39, 95, 128, 54, 62, 238, 251, 149, 26, 254, 206, 168, 52, 169, 19, 240, 166, 63, 216, 12, 120, 36, 175, 35, 82, 193, 103, 23, 245, 102, 144, 231, 232, 7, 184, 96, 72, 230, 30, 83, 243, 146, 164, 114, 140, 8, 21, 110, 134, 0, 132, 250, 244, 127, 138, 66, 25, 246, 219, 205, 20, 141, 80, 18, 186, 60, 6, 78, 236, 179, 53, 17, 161, 136, 142, 43, 148, 153, 183, 113, 116, 211, 228, 191, 58, 222, 150, 14, 188, 10, 237, 119, 252, 55, 107, 3, 121, 137, 98, 198, 215, 192, 210, 124, 106, 139, 34, 163, 91, 5, 93, 2, 117, 213, 97, 227, 24, 143, 85, 81, 173, 31, 11, 94, 133, 229, 194, 87, 99, 202, 61, 108, 180, 197, 204, 112, 178, 145, 89, 13, 71, 32, 200, 79, 88, 224, 1, 226, 22, 56, 196, 111, 59, 15, 101, 70, 190, 126, 45, 123, 130, 249, 64, 181, 29, 115, 248, 235, 38, 199, 135, 151, 37, 84, 177, 40, 170, 152, 157, 165, 100, 109, 122, 212, 16, 129, 68, 239, 73, 214, 174, 46, 221, 118, 92, 47, 167, 28, 201, 9, 105, 154, 131, 207, 41, 57, 185, 233, 76, 255, 67, 171};
        i = new short[]{93, 190, 155, 139, 17, 153, 110, 77, 89, 243, 133, 166, 63, 183, 131, 197, 228, 115, 107, 58, 104, 90, 192, 71, 160, 100, 52, 12, 241, 208, 82, 165, 185, 30, 150, 67, 65, 216, 212, 44, 219, 248, 7, 119, 42, 202, 235, 239, 16, 28, 22, 13, 56, 114, 47, 137, 193, 249, 128, 196, 109, 174, 48, 61, 206, 32, 99, 254, 230, 26, 199, 184, 80, 232, 36, 23, 252, 37, 111, 187, 106, 163, 68, 83, 217, 162, 1, 171, 188, 182, 31, 152, 238, 154, 167, 45, 79, 158, 142, 172, 224, 198, 73, 70, 41, 244, 148, 138, 175, 225, 91, 195, 179, 123, 87, 209, 124, 156, 237, 135, 64, 140, 226, 203, 147, 20, 201, 97, 46, 229, 204, 246, 94, 168, 92, 214, 117, 141, 98, 149, 88, 105, 118, 161, 74, 181, 85, 9, 120, 51, 130, 215, 221, 121, 245, 27, 11, 222, 38, 33, 40, 116, 4, 151, 86, 223, 60, 240, 55, 57, 220, 255, 6, 164, 234, 66, 8, 218, 180, 113, 176, 207, 18, 122, 78, 250, 108, 29, 132, 0, 200, 127, 145, 69, 170, 43, 194, 177, 143, 213, 186, 242, 173, 25, 178, 103, 54, 247, 15, 10, 146, 125, 227, 157, 233, 144, 62, 35, 39, 102, 19, 236, 129, 21, 189, 34, 191, 159, 126, 169, 81, 75, 76, 251, 2, 211, 112, 134, 49, 231, 59, 5, 3, 84, 96, 72, 101, 24, 210, 205, 95, 50, 136, 14, 53, 253};
    }
}
