Пример #1
0
    private DigitalSignature method_1(Interface9 A_0, bool A_1)
    {
        int num = 1;

        this.digitalSignature_0 = new DigitalSignature(DigitalSignatureType.XmlDsig);
        this.digitalSignature_0.SignedXmlResult = A_1;
        while (this.class393_0.method_9(BookmarkStart.b("琦䀨䰪䌬丮䔰䘲䜴制", num)))
        {
            string str = this.class393_0.method_1();
            if (str != null)
            {
                if (str != BookmarkStart.b("琦䀨䰪䌬䨮唰稲嬴儶嘸", num))
                {
                    if (!(str == BookmarkStart.b("氦䰨刪搬䄮地尲", num)))
                    {
                        if (!(str == BookmarkStart.b("栦䬨䄪䠬䰮䔰", num)))
                        {
                            goto Label_0084;
                        }
                        this.method_4();
                    }
                    else
                    {
                        this.method_2();
                    }
                }
                else
                {
                    this.method_7();
                }
                continue;
            }
Label_0084:
            this.method_15();
        }
        bool flag = A_1;
        SHA1 sha  = new SHA1CryptoServiceProvider();

        foreach (Class731 class2 in this.digitalSignature_0.References)
        {
            if (class2.method_6())
            {
                Stream stream = A_0.imethod_0(class2);
                foreach (Class557 class3 in class2.method_5())
                {
                    stream = class3.method_0(stream);
                }
                stream.Position = 0L;
                bool flag2 = Convert.ToBase64String(sha.ComputeHash(stream)) == class2.method_3();
                class2.method_8(flag2);
                flag &= flag2;
            }
            else
            {
                class2.method_8(A_1);
            }
        }
        this.digitalSignature_0.method_2(flag);
        return(this.digitalSignature_0);
    }