新浪彩票 v0.96.37版本的 MD5 值为:0c7ddce345383506e2959f5d75bdceab

以下内容为反编译后的 C1046.java 源代码,内容仅作参考


package Hs3z8m4Zk5vN3zlf3ycP.O6AgNJgW1GmSRcLCckPu.v4rqru3PdyhrqRZkuHAG.iVmc7zbJgCdT2CEpsQ9x;

import Hs3z8m4Zk5vN3zlf3ycP.O6AgNJgW1GmSRcLCckPu.v4rqru3PdyhrqRZkuHAG.AbstractC1215;
import Hs3z8m4Zk5vN3zlf3ycP.O6AgNJgW1GmSRcLCckPu.v4rqru3PdyhrqRZkuHAG.AbstractC1220;
import Hs3z8m4Zk5vN3zlf3ycP.O6AgNJgW1GmSRcLCckPu.v4rqru3PdyhrqRZkuHAG.AbstractC1232;
import Hs3z8m4Zk5vN3zlf3ycP.O6AgNJgW1GmSRcLCckPu.v4rqru3PdyhrqRZkuHAG.AbstractC1234;
import Hs3z8m4Zk5vN3zlf3ycP.O6AgNJgW1GmSRcLCckPu.v4rqru3PdyhrqRZkuHAG.AbstractC1238;
import Hs3z8m4Zk5vN3zlf3ycP.O6AgNJgW1GmSRcLCckPu.v4rqru3PdyhrqRZkuHAG.C1229;
import Hs3z8m4Zk5vN3zlf3ycP.O6AgNJgW1GmSRcLCckPu.v4rqru3PdyhrqRZkuHAG.C1237;
import Hs3z8m4Zk5vN3zlf3ycP.O6AgNJgW1GmSRcLCckPu.v4rqru3PdyhrqRZkuHAG.C1243;
import Hs3z8m4Zk5vN3zlf3ycP.O6AgNJgW1GmSRcLCckPu.v4rqru3PdyhrqRZkuHAG.C1245;
import Hs3z8m4Zk5vN3zlf3ycP.O6AgNJgW1GmSRcLCckPu.v4rqru3PdyhrqRZkuHAG.C1260;
import Hs3z8m4Zk5vN3zlf3ycP.O6AgNJgW1GmSRcLCckPu.v4rqru3PdyhrqRZkuHAG.C1288;
import Hs3z8m4Zk5vN3zlf3ycP.O6AgNJgW1GmSRcLCckPu.v4rqru3PdyhrqRZkuHAG.InterfaceC1271;
import Hs3z8m4Zk5vN3zlf3ycP.O6AgNJgW1GmSRcLCckPu.v4rqru3PdyhrqRZkuHAG.InterfaceC1282;
import Hs3z8m4Zk5vN3zlf3ycP.O6AgNJgW1GmSRcLCckPu.v4rqru3PdyhrqRZkuHAG.InterfaceC1293;
import Hs3z8m4Zk5vN3zlf3ycP.O6AgNJgW1GmSRcLCckPu.v4rqru3PdyhrqRZkuHAG.U8v4NsM482chr6hJpD4I.InterfaceC0896;
import Hs3z8m4Zk5vN3zlf3ycP.O6AgNJgW1GmSRcLCckPu.v4rqru3PdyhrqRZkuHAG.jhsS6TFZdMKoIs5bb1Qk.C1071;
import Hs3z8m4Zk5vN3zlf3ycP.O6AgNJgW1GmSRcLCckPu.ykCxyCDhWxmlZosXV5ip.C1342;
import Hs3z8m4Zk5vN3zlf3ycP.O6AgNJgW1GmSRcLCckPu.ykCxyCDhWxmlZosXV5ip.PmpzgmtwkmMb39lNWcsm.C1319;
import com.meizu.cloud.pushsdk.a.c;
import com.meizu.cloud.pushsdk.notification.model.AdvanceSetting;
import com.meizu.cloud.pushsdk.notification.model.NotifyType;
import com.meizu.cloud.pushsdk.notification.model.TimeDisplaySetting;
import com.netease.nim.uikit.business.robot.parser.elements.base.ElementTag;
import java.io.IOException;
import java.util.Enumeration;
import java.util.Hashtable;
import java.util.Vector;
public class C1046 extends AbstractC1232 {
    public static final C1243 f4808;
    public static final C1243 f4809;
    public static final Hashtable f4810;
    public static final C1243 f4811;
    public static final Hashtable f4812;
    public static final C1243 f4813;
    public static final C1243 f4814;
    public static final C1243 f4815;
    public static final C1243 f4816;
    private static final Boolean f4817;
    public static final C1243 f4818;
    public static final C1243 f4819;
    public static final C1243 f4820;
    public static final C1243 f4821;
    public static boolean f4822;
    public static final C1243 f4823;
    public static final C1243 f4824;
    public static final C1243 f4825;
    public static final C1243 f4826;
    public static final C1243 f4827;
    public static final C1243 f4828;
    public static final Hashtable f4829;
    public static final C1243 f4830;
    public static final C1243 f4831;
    public static final Hashtable f4832;
    public static final Hashtable f4833;
    public static final C1243 f4834;
    public static final C1243 f4835;
    public static final C1243 f4836;
    public static final C1243 f4837;
    public static final C1243 f4838;
    public static final C1243 f4839;
    public static final C1243 f4840;
    public static final C1243 f4841;
    public static final C1243 f4842;
    private static final Boolean f4843;
    public static final C1243 f4844;
    public static final Hashtable f4845;
    public static final C1243 f4846;
    public static final C1243 f4847;
    public static final C1243 f4848;
    public static final C1243 f4849;
    public static final C1243 f4850;
    public static final C1243 f4851;
    private int f4852;
    private Vector f4853;
    private Vector f4854;
    private boolean f4855;
    private AbstractC1026 f4856;
    private Vector f4857;
    private AbstractC1215 f4858;

    static {
        C1243 c1243 = new C1243("2.5.4.6");
        f4836 = c1243;
        C1243 c12432 = new C1243("2.5.4.10");
        f4818 = c12432;
        C1243 c12433 = new C1243("2.5.4.11");
        f4813 = c12433;
        C1243 c12434 = new C1243("2.5.4.12");
        f4847 = c12434;
        C1243 c12435 = new C1243("2.5.4.3");
        f4840 = c12435;
        C1243 c12436 = new C1243("2.5.4.5");
        f4848 = c12436;
        C1243 c12437 = new C1243("2.5.4.9");
        f4823 = c12437;
        f4841 = c12436;
        C1243 c12438 = new C1243("2.5.4.7");
        f4816 = c12438;
        C1243 c12439 = new C1243("2.5.4.8");
        f4831 = c12439;
        C1243 c124310 = new C1243("2.5.4.4");
        f4815 = c124310;
        C1243 c124311 = new C1243("2.5.4.42");
        f4849 = c124311;
        C1243 c124312 = new C1243("2.5.4.43");
        f4820 = c124312;
        C1243 c124313 = new C1243("2.5.4.44");
        f4811 = c124313;
        C1243 c124314 = new C1243("2.5.4.45");
        f4821 = c124314;
        C1243 c124315 = new C1243("2.5.4.15");
        f4834 = c124315;
        C1243 c124316 = new C1243("2.5.4.17");
        f4835 = c124316;
        C1243 c124317 = new C1243("2.5.4.46");
        f4828 = c124317;
        C1243 c124318 = new C1243("2.5.4.65");
        f4808 = c124318;
        C1243 c124319 = new C1243("1.3.6.1.5.5.7.9.1");
        f4824 = c124319;
        C1243 c124320 = new C1243("1.3.6.1.5.5.7.9.2");
        f4844 = c124320;
        C1243 c124321 = new C1243("1.3.6.1.5.5.7.9.3");
        f4814 = c124321;
        C1243 c124322 = new C1243("1.3.6.1.5.5.7.9.4");
        f4851 = c124322;
        C1243 c124323 = new C1243("1.3.6.1.5.5.7.9.5");
        f4850 = c124323;
        C1243 c124324 = new C1243("1.3.36.8.3.14");
        f4819 = c124324;
        C1243 c124325 = new C1243("2.5.4.16");
        f4838 = c124325;
        f4825 = new C1243("2.5.4.54");
        C1243 c124326 = InterfaceC1057.f4944;
        f4830 = c124326;
        C1243 c124327 = InterfaceC1057.f4928;
        f4827 = c124327;
        C1243 c124328 = InterfaceC0896.f4074;
        f4846 = c124328;
        C1243 c124329 = InterfaceC0896.f4094;
        f4837 = c124329;
        C1243 c124330 = InterfaceC0896.f4071;
        f4809 = c124330;
        f4839 = c124328;
        C1243 c124331 = new C1243("0.9.2342.19200300.100.1.25");
        f4826 = c124331;
        C1243 c124332 = new C1243("0.9.2342.19200300.100.1.1");
        f4842 = c124332;
        f4822 = false;
        Hashtable hashtable = new Hashtable();
        f4833 = hashtable;
        Hashtable hashtable2 = new Hashtable();
        f4810 = hashtable2;
        Hashtable hashtable3 = new Hashtable();
        f4812 = hashtable3;
        Hashtable hashtable4 = new Hashtable();
        f4845 = hashtable4;
        f4832 = hashtable;
        f4829 = hashtable4;
        f4843 = new Boolean(true);
        f4817 = new Boolean(false);
        hashtable.put(c1243, "C");
        hashtable.put(c12432, "O");
        hashtable.put(c12434, "T");
        hashtable.put(c12433, "OU");
        hashtable.put(c12435, "CN");
        hashtable.put(c12438, "L");
        hashtable.put(c12439, "ST");
        hashtable.put(c12436, "SERIALNUMBER");
        hashtable.put(c124328, "E");
        hashtable.put(c124331, "DC");
        hashtable.put(c124332, "UID");
        hashtable.put(c12437, "STREET");
        hashtable.put(c124310, "SURNAME");
        hashtable.put(c124311, "GIVENNAME");
        hashtable.put(c124312, "INITIALS");
        hashtable.put(c124313, "GENERATION");
        hashtable.put(c124330, "unstructuredAddress");
        hashtable.put(c124329, "unstructuredName");
        hashtable.put(c124314, "UniqueIdentifier");
        hashtable.put(c124317, "DN");
        hashtable.put(c124318, "Pseudonym");
        hashtable.put(c124325, "PostalAddress");
        hashtable.put(c124324, "NameAtBirth");
        hashtable.put(c124322, "CountryOfCitizenship");
        hashtable.put(c124323, "CountryOfResidence");
        hashtable.put(c124321, "Gender");
        hashtable.put(c124320, "PlaceOfBirth");
        hashtable.put(c124319, "DateOfBirth");
        hashtable.put(c124316, "PostalCode");
        hashtable.put(c124315, "BusinessCategory");
        hashtable.put(c124326, "TelephoneNumber");
        hashtable.put(c124327, "Name");
        hashtable2.put(c1243, "C");
        hashtable2.put(c12432, "O");
        hashtable2.put(c12433, "OU");
        hashtable2.put(c12435, "CN");
        hashtable2.put(c12438, "L");
        hashtable2.put(c12439, "ST");
        hashtable2.put(c12437, "STREET");
        hashtable2.put(c124331, "DC");
        hashtable2.put(c124332, "UID");
        hashtable3.put(c1243, "C");
        hashtable3.put(c12432, "O");
        hashtable3.put(c12433, "OU");
        hashtable3.put(c12435, "CN");
        hashtable3.put(c12438, "L");
        hashtable3.put(c12439, "ST");
        hashtable3.put(c12437, "STREET");
        hashtable4.put(c.a, c1243);
        hashtable4.put("o", c12432);
        hashtable4.put("t", c12434);
        hashtable4.put("ou", c12433);
        hashtable4.put(AdvanceSetting.CLEAR_NOTIFICATION, c12435);
        hashtable4.put(NotifyType.LIGHTS, c12438);
        hashtable4.put(TimeDisplaySetting.START_SHOW_TIME, c12439);
        hashtable4.put("sn", c12436);
        hashtable4.put("serialnumber", c12436);
        hashtable4.put("street", c12437);
        hashtable4.put("emailaddress", c124328);
        hashtable4.put("dc", c124331);
        hashtable4.put("e", c124328);
        hashtable4.put("uid", c124332);
        hashtable4.put("surname", c124310);
        hashtable4.put("givenname", c124311);
        hashtable4.put("initials", c124312);
        hashtable4.put("generation", c124313);
        hashtable4.put("unstructuredaddress", c124330);
        hashtable4.put("unstructuredname", c124329);
        hashtable4.put("uniqueidentifier", c124314);
        hashtable4.put("dn", c124317);
        hashtable4.put("pseudonym", c124318);
        hashtable4.put("postaladdress", c124325);
        hashtable4.put("nameofbirth", c124324);
        hashtable4.put("countryofcitizenship", c124322);
        hashtable4.put("countryofresidence", c124323);
        hashtable4.put("gender", c124321);
        hashtable4.put("placeofbirth", c124320);
        hashtable4.put("dateofbirth", c124319);
        hashtable4.put("postalcode", c124316);
        hashtable4.put("businesscategory", c124315);
        hashtable4.put("telephonenumber", c124326);
        hashtable4.put(ElementTag.ELEMENT_ATTRIBUTE_NAME, c124327);
    }

    public C1046() {
        this.f4856 = null;
        this.f4857 = new Vector();
        this.f4853 = new Vector();
        this.f4854 = new Vector();
    }

    private void m4053(Hashtable hashtable, String str, Boolean bool) {
        C0986 c0986 = new C0986(str, '=');
        String m3743 = c0986.m3743();
        if (c0986.m3742()) {
            String m37432 = c0986.m3743();
            this.f4857.addElement(m4059(m3743, hashtable));
            this.f4853.addElement(m4061(m37432));
            this.f4854.addElement(bool);
            return;
        }
        throw new IllegalArgumentException("badly formatted directory string");
    }

    public static C1046 m4054(AbstractC1234 abstractC1234, boolean z) {
        return m4062(AbstractC1215.m4839(abstractC1234, z));
    }

    private String m4055(byte[] bArr) {
        int length = bArr.length;
        char[] cArr = new char[length];
        for (int i = 0; i != length; i++) {
            cArr[i] = (char) (bArr[i] & 255);
        }
        return new String(cArr);
    }

    private boolean m4056(String str, String str2) {
        String m4058 = m4058(str);
        String m40582 = m4058(str2);
        return m4058.equals(m40582) || m4057(m4058).equals(m4057(m40582));
    }

    private String m4057(String str) {
        StringBuffer stringBuffer = new StringBuffer();
        if (str.length() != 0) {
            char charAt = str.charAt(0);
            stringBuffer.append(charAt);
            int i = 1;
            while (i < str.length()) {
                char charAt2 = str.charAt(i);
                if (charAt != ' ' || charAt2 != ' ') {
                    stringBuffer.append(charAt2);
                }
                i++;
                charAt = charAt2;
            }
        }
        return stringBuffer.toString();
    }

    private String m4058(String str) {
        String m5130 = C1342.m5130(str.trim());
        if (m5130.length() <= 0 || m5130.charAt(0) != '#') {
            return m5130;
        }
        AbstractC1220 m4063 = m4063(m5130);
        return m4063 instanceof InterfaceC1282 ? C1342.m5130(((InterfaceC1282) m4063).mo4195().trim()) : m5130;
    }

    private C1243 m4059(String str, Hashtable hashtable) {
        String trim = str.trim();
        if (C1342.m5123(trim).startsWith("OID.")) {
            return new C1243(trim.substring(4));
        }
        if (trim.charAt(0) >= '0' && trim.charAt(0) <= '9') {
            return new C1243(trim);
        }
        C1243 c1243 = (C1243) hashtable.get(C1342.m5130(trim));
        if (c1243 != null) {
            return c1243;
        }
        throw new IllegalArgumentException("Unknown object id - " + trim + " - passed to distinguished name");
    }

    private void m4060(StringBuffer stringBuffer, Hashtable hashtable, C1243 c1243, String str) {
        String str2 = (String) hashtable.get(c1243);
        if (str2 != null) {
            stringBuffer.append(str2);
        } else {
            stringBuffer.append(c1243.m4923());
        }
        stringBuffer.append('=');
        int length = stringBuffer.length();
        stringBuffer.append(str);
        int length2 = stringBuffer.length();
        if (str.length() >= 2 && str.charAt(0) == '\\' && str.charAt(1) == '#') {
            length += 2;
        }
        while (length < length2 && stringBuffer.charAt(length) == ' ') {
            stringBuffer.insert(length, "\\");
            length += 2;
            length2++;
        }
        while (true) {
            length2--;
            if (length2 <= length || stringBuffer.charAt(length2) != ' ') {
                break;
            }
            stringBuffer.insert(length2, '\\');
        }
        while (length <= length2) {
            char charAt = stringBuffer.charAt(length);
            if (charAt != '\"' && charAt != '\\' && charAt != '+' && charAt != ',') {
                switch (charAt) {
                    case ';':
                    case '<':
                    case '=':
                    case '>':
                        break;
                    default:
                        length++;
                        continue;
                }
            }
            stringBuffer.insert(length, "\\");
            length += 2;
            length2++;
        }
    }

    private String m4061(String str) {
        int i;
        if (str.length() != 0 && (str.indexOf(92) >= 0 || str.indexOf(34) >= 0)) {
            char[] charArray = str.toCharArray();
            StringBuffer stringBuffer = new StringBuffer(str.length());
            if (charArray[0] == '\\' && charArray[1] == '#') {
                i = 2;
                stringBuffer.append("\\#");
            } else {
                i = 0;
            }
            boolean z = false;
            int i2 = 0;
            boolean z2 = false;
            boolean z3 = false;
            while (i != charArray.length) {
                char c = charArray[i];
                if (c != ' ') {
                    z3 = true;
                }
                if (c != '\"') {
                    if (c == '\\' && !z && !z2) {
                        i2 = stringBuffer.length();
                        z = true;
                    } else if (c != ' ' || z || z3) {
                        stringBuffer.append(c);
                    }
                    i++;
                } else if (z) {
                    stringBuffer.append(c);
                } else {
                    z2 = !z2;
                }
                z = false;
                i++;
            }
            if (stringBuffer.length() > 0) {
                while (stringBuffer.charAt(stringBuffer.length() - 1) == ' ' && i2 != stringBuffer.length() - 1) {
                    stringBuffer.setLength(stringBuffer.length() - 1);
                }
            }
            return stringBuffer.toString();
        }
        return str.trim();
    }

    public static C1046 m4062(Object obj) {
        if (obj != null && !(obj instanceof C1046)) {
            if (obj instanceof C1071) {
                return new C1046(AbstractC1215.m4838(((C1071) obj).mo2638()));
            }
            if (obj != null) {
                return new C1046(AbstractC1215.m4838(obj));
            }
            return null;
        }
        return (C1046) obj;
    }

    private AbstractC1220 m4063(String str) {
        try {
            return AbstractC1220.m4857(C1319.m5072(str.substring(1)));
        } catch (IOException e) {
            throw new IllegalStateException("unknown encoding in name: " + e);
        }
    }

    @Override
    public boolean equals(Object obj) {
        int i;
        int i2;
        boolean z;
        if (obj == this) {
            return true;
        }
        if ((obj instanceof C1046) || (obj instanceof AbstractC1215)) {
            if (mo2638().equals(((InterfaceC1293) obj).mo2638())) {
                return true;
            }
            try {
                C1046 m4062 = m4062(obj);
                int size = this.f4857.size();
                if (size != m4062.f4857.size()) {
                    return false;
                }
                boolean[] zArr = new boolean[size];
                int i3 = -1;
                if (this.f4857.elementAt(0).equals(m4062.f4857.elementAt(0))) {
                    i3 = size;
                    i = 0;
                    i2 = 1;
                } else {
                    i = size - 1;
                    i2 = -1;
                }
                while (i != i3) {
                    C1243 c1243 = (C1243) this.f4857.elementAt(i);
                    String str = (String) this.f4853.elementAt(i);
                    int i4 = 0;
                    while (true) {
                        if (i4 >= size) {
                            z = false;
                            break;
                        } else if (!zArr[i4] && c1243.equals((C1243) m4062.f4857.elementAt(i4)) && m4056(str, (String) m4062.f4853.elementAt(i4))) {
                            zArr[i4] = true;
                            z = true;
                            break;
                        } else {
                            i4++;
                        }
                    }
                    if (!z) {
                        return false;
                    }
                    i += i2;
                }
                return true;
            } catch (IllegalArgumentException unused) {
                return false;
            }
        }
        return false;
    }

    @Override
    public int hashCode() {
        if (this.f4855) {
            return this.f4852;
        }
        this.f4855 = true;
        for (int i = 0; i != this.f4857.size(); i++) {
            String m4057 = m4057(m4058((String) this.f4853.elementAt(i)));
            int hashCode = this.f4852 ^ this.f4857.elementAt(i).hashCode();
            this.f4852 = hashCode;
            this.f4852 = m4057.hashCode() ^ hashCode;
        }
        return this.f4852;
    }

    public String toString() {
        return m4068(f4822, f4833);
    }

    public Vector m4064() {
        Vector vector = new Vector();
        for (int i = 0; i != this.f4853.size(); i++) {
            vector.addElement(this.f4853.elementAt(i));
        }
        return vector;
    }

    public Vector m4065() {
        Vector vector = new Vector();
        for (int i = 0; i != this.f4857.size(); i++) {
            vector.addElement(this.f4857.elementAt(i));
        }
        return vector;
    }

    public Vector m4066(C1243 c1243) {
        Vector vector = new Vector();
        for (int i = 0; i != this.f4853.size(); i++) {
            if (this.f4857.elementAt(i).equals(c1243)) {
                String str = (String) this.f4853.elementAt(i);
                if (str.length() > 2 && str.charAt(0) == '\\' && str.charAt(1) == '#') {
                    vector.addElement(str.substring(1));
                } else {
                    vector.addElement(str);
                }
            }
        }
        return vector;
    }

    @Override
    public AbstractC1220 mo2638() {
        if (this.f4858 == null) {
            C1245 c1245 = new C1245();
            C1245 c12452 = new C1245();
            C1243 c1243 = null;
            int i = 0;
            while (i != this.f4857.size()) {
                C1245 c12453 = new C1245();
                C1243 c12432 = (C1243) this.f4857.elementAt(i);
                c12453.m4947(c12432);
                c12453.m4947(this.f4856.mo3950(c12432, (String) this.f4853.elementAt(i)));
                if (c1243 != null && !((Boolean) this.f4854.elementAt(i)).booleanValue()) {
                    c1245.m4947(new C1288(c12452));
                    c12452 = new C1245();
                    c12452.m4947(new C1260(c12453));
                } else {
                    c12452.m4947(new C1260(c12453));
                }
                i++;
                c1243 = c12432;
            }
            c1245.m4947(new C1288(c12452));
            this.f4858 = new C1260(c1245);
        }
        return this.f4858;
    }

    public boolean m4067(Object obj, boolean z) {
        if (z) {
            if (obj == this) {
                return true;
            }
            if ((obj instanceof C1046) || (obj instanceof AbstractC1215)) {
                if (mo2638().equals(((InterfaceC1293) obj).mo2638())) {
                    return true;
                }
                try {
                    C1046 m4062 = m4062(obj);
                    int size = this.f4857.size();
                    if (size != m4062.f4857.size()) {
                        return false;
                    }
                    for (int i = 0; i < size; i++) {
                        if (!((C1243) this.f4857.elementAt(i)).equals((C1243) m4062.f4857.elementAt(i)) || !m4056((String) this.f4853.elementAt(i), (String) m4062.f4853.elementAt(i))) {
                            return false;
                        }
                    }
                    return true;
                } catch (IllegalArgumentException unused) {
                    return false;
                }
            }
            return false;
        }
        return equals(obj);
    }

    public String m4068(boolean z, Hashtable hashtable) {
        StringBuffer stringBuffer = new StringBuffer();
        Vector vector = new Vector();
        StringBuffer stringBuffer2 = null;
        for (int i = 0; i < this.f4857.size(); i++) {
            if (((Boolean) this.f4854.elementAt(i)).booleanValue()) {
                stringBuffer2.append('+');
                m4060(stringBuffer2, hashtable, (C1243) this.f4857.elementAt(i), (String) this.f4853.elementAt(i));
            } else {
                stringBuffer2 = new StringBuffer();
                m4060(stringBuffer2, hashtable, (C1243) this.f4857.elementAt(i), (String) this.f4853.elementAt(i));
                vector.addElement(stringBuffer2);
            }
        }
        boolean z2 = true;
        if (z) {
            for (int size = vector.size() - 1; size >= 0; size--) {
                if (z2) {
                    z2 = false;
                } else {
                    stringBuffer.append(',');
                }
                stringBuffer.append(vector.elementAt(size).toString());
            }
        } else {
            for (int i2 = 0; i2 < vector.size(); i2++) {
                if (z2) {
                    z2 = false;
                } else {
                    stringBuffer.append(',');
                }
                stringBuffer.append(vector.elementAt(i2).toString());
            }
        }
        return stringBuffer.toString();
    }

    public C1046(AbstractC1215 abstractC1215) {
        this.f4856 = null;
        this.f4857 = new Vector();
        this.f4853 = new Vector();
        this.f4854 = new Vector();
        this.f4858 = abstractC1215;
        Enumeration mo4840 = abstractC1215.mo4840();
        while (mo4840.hasMoreElements()) {
            AbstractC1238 m4929 = AbstractC1238.m4929(((InterfaceC1293) mo4840.nextElement()).mo2638());
            int i = 0;
            while (i < m4929.m4934()) {
                AbstractC1215 m4838 = AbstractC1215.m4838(m4929.m4930(i).mo2638());
                if (m4838.mo4842() == 2) {
                    this.f4857.addElement(C1237.m4915(m4838.mo4841(0)));
                    InterfaceC1293 mo4841 = m4838.mo4841(1);
                    if ((mo4841 instanceof InterfaceC1282) && !(mo4841 instanceof C1229)) {
                        String mo4195 = ((InterfaceC1282) mo4841).mo4195();
                        if (mo4195.length() > 0 && mo4195.charAt(0) == '#') {
                            Vector vector = this.f4853;
                            vector.addElement("\\" + mo4195);
                        } else {
                            this.f4853.addElement(mo4195);
                        }
                    } else {
                        try {
                            Vector vector2 = this.f4853;
                            vector2.addElement("#" + m4055(C1319.m5071(mo4841.mo2638().m4894(InterfaceC1271.f5921))));
                        } catch (IOException unused) {
                            throw new IllegalArgumentException("cannot encode value");
                        }
                    }
                    this.f4854.addElement(i != 0 ? f4843 : f4817);
                    i++;
                } else {
                    throw new IllegalArgumentException("badly sized pair");
                }
            }
        }
    }

    public C1046(Hashtable hashtable) {
        this((Vector) null, hashtable);
    }

    public C1046(Vector vector, Hashtable hashtable) {
        this(vector, hashtable, new C1038());
    }

    public C1046(Vector vector, Hashtable hashtable, AbstractC1026 abstractC1026) {
        this.f4856 = null;
        this.f4857 = new Vector();
        this.f4853 = new Vector();
        this.f4854 = new Vector();
        this.f4856 = abstractC1026;
        if (vector != null) {
            for (int i = 0; i != vector.size(); i++) {
                this.f4857.addElement(vector.elementAt(i));
                this.f4854.addElement(f4817);
            }
        } else {
            Enumeration keys = hashtable.keys();
            while (keys.hasMoreElements()) {
                this.f4857.addElement(keys.nextElement());
                this.f4854.addElement(f4817);
            }
        }
        for (int i2 = 0; i2 != this.f4857.size(); i2++) {
            C1243 c1243 = (C1243) this.f4857.elementAt(i2);
            if (hashtable.get(c1243) != null) {
                this.f4853.addElement(hashtable.get(c1243));
            } else {
                throw new IllegalArgumentException("No attribute for object id - " + c1243.m4923() + " - passed to distinguished name");
            }
        }
    }

    public C1046(Vector vector, Vector vector2) {
        this(vector, vector2, new C1038());
    }

    public C1046(Vector vector, Vector vector2, AbstractC1026 abstractC1026) {
        this.f4856 = null;
        this.f4857 = new Vector();
        this.f4853 = new Vector();
        this.f4854 = new Vector();
        this.f4856 = abstractC1026;
        if (vector.size() == vector2.size()) {
            for (int i = 0; i < vector.size(); i++) {
                this.f4857.addElement(vector.elementAt(i));
                this.f4853.addElement(vector2.elementAt(i));
                this.f4854.addElement(f4817);
            }
            return;
        }
        throw new IllegalArgumentException("oids vector must be same length as values.");
    }

    public C1046(String str) {
        this(f4822, f4845, str);
    }

    public C1046(String str, AbstractC1026 abstractC1026) {
        this(f4822, f4845, str, abstractC1026);
    }

    public C1046(boolean z, String str) {
        this(z, f4845, str);
    }

    public C1046(boolean z, String str, AbstractC1026 abstractC1026) {
        this(z, f4845, str, abstractC1026);
    }

    public C1046(boolean z, Hashtable hashtable, String str) {
        this(z, hashtable, str, new C1038());
    }

    public C1046(boolean z, Hashtable hashtable, String str, AbstractC1026 abstractC1026) {
        this.f4856 = null;
        this.f4857 = new Vector();
        this.f4853 = new Vector();
        this.f4854 = new Vector();
        this.f4856 = abstractC1026;
        C0986 c0986 = new C0986(str);
        while (c0986.m3742()) {
            String m3743 = c0986.m3743();
            if (m3743.indexOf(43) > 0) {
                C0986 c09862 = new C0986(m3743, '+');
                m4053(hashtable, c09862.m3743(), f4817);
                while (c09862.m3742()) {
                    m4053(hashtable, c09862.m3743(), f4843);
                }
            } else {
                m4053(hashtable, m3743, f4817);
            }
        }
        if (z) {
            Vector vector = new Vector();
            Vector vector2 = new Vector();
            Vector vector3 = new Vector();
            int i = 1;
            for (int i2 = 0; i2 < this.f4857.size(); i2++) {
                if (((Boolean) this.f4854.elementAt(i2)).booleanValue()) {
                    vector.insertElementAt(this.f4857.elementAt(i2), i);
                    vector2.insertElementAt(this.f4853.elementAt(i2), i);
                    vector3.insertElementAt(this.f4854.elementAt(i2), i);
                    i++;
                } else {
                    vector.insertElementAt(this.f4857.elementAt(i2), 0);
                    vector2.insertElementAt(this.f4853.elementAt(i2), 0);
                    vector3.insertElementAt(this.f4854.elementAt(i2), 0);
                    i = 1;
                }
            }
            this.f4857 = vector;
            this.f4853 = vector2;
            this.f4854 = vector3;
        }
    }
}