/*
 * Decompiled with CFR 0.152.
 * 
 * Could not load the following classes:
 *  com.l7tech.util.ConfigFactory$SmartConfigurationListener
 */
package com.l7tech.server.security.cert;

import com.l7tech.server.security.cert.CertValidationProcessorImpl;
import com.l7tech.util.ConfigFactory;

class c
implements ConfigFactory.SmartConfigurationListener {
    final CertValidationProcessorImpl this$0;
    private static final String a = c.a(106, c.a("\u001cZb4\u000b\u0010[BB`%8\u0011r\u001eXj \u00067z\u000eTy\u000f 't\u0007wd>\u001a'a\u0003Rj8!-y/Yn/#"));

    c(CertValidationProcessorImpl certValidationProcessorImpl) {
        this.this$0 = certValidationProcessorImpl;
    }

    public boolean supportsProperty(String string) {
        return a.equals(string);
    }

    public void notifyPropertyChanged(String string) {
        this.this$0.a(string);
    }

    private static char[] a(String string) {
        char[] cArray = string.toCharArray();
        if (cArray.length < 2) {
            cArray = cArray;
            cArray[0] = (char)(cArray[0] ^ 0x7D);
        }
        return cArray;
    }

    /*
     * Handled impossible loop by duplicating code
     * Enabled aggressive block sorting
     */
    private static String a(int n2, char[] cArray) {
        char[] cArray2;
        block11: {
            int n3;
            int n4;
            int n5;
            block10: {
                n5 = n2;
                cArray2 = cArray;
                n4 = cArray.length;
                n3 = 0;
                if (!true) break block10;
                n4 = n4;
                if (n4 <= n3) break block11;
            }
            do {
                n5 = n5;
                cArray2 = cArray2;
                int n6 = n3;
                cArray2[n6] = (char)(cArray2[n6] ^ (n5 ^ (switch (n3 % 7) {
                    case 0 -> 6;
                    case 1 -> 91;
                    case 2 -> 97;
                    case 3 -> 38;
                    case 4 -> 34;
                    case 5 -> 40;
                    default -> 125;
                })));
                ++n3;
                n4 = n4;
            } while (n4 > n3);
        }
        return new String(cArray2).intern();
    }
}

