Package org.rat.free.security.makifx.base.clear

Examples of org.rat.free.security.makifx.base.clear.Readable


        try {
            readable.setId(root_node.getId());
            readable.setDescription(root_node.getDescription());
            root_node.getChilds().forEach((account) -> {

                Readable read = Readable.Create.instance();
                read.setId(account.getId());
                read.setDescription(account.getDescription());
                read.setProperties(account.getProperties());

                account.getSensible().forEach((key_sensible, byte_value) -> {
                    try {
                        String value = manager.getSensibleValue(account, key_sensible);
                        read.getProperties().put(key_sensible, value);
                    } catch (Exception ex) {
                        Logger.getLogger(AccountsTabbedPlugin.class.getName()).log(Level.SEVERE, null, ex);
                        ex.printStackTrace();
                        manager.forceExit(this.getId(), "Error on readable exporting. ERR 2 - EXC: " + ex);
                    }
View Full Code Here


        readable.setKey(Utility.toUTF8String(GEN_KEY));
        readable.setProperties(key_secret_data.getProperties());
        readable.setSettings(getSettings());

        MAP_PLUGIN.forEach((key, plugin) -> {
            Readable rn = Readable.Create.instance();
            plugin.onReadableSavingData(rn);
            readable.getMap().put(key, rn);
        });

        ExportSerializer export_manager = LooB.get().fromStock(ExportSerializer.class);
View Full Code Here

                    Iterator<String> keys = map_read.keySet().iterator();

                    while (keys.hasNext()) {

                        String plugin_id = keys.next();
                        Readable item = map_read.get(plugin_id);

                        log("importData - json - plugin_id: " + plugin_id);

                        EncryptedNode root_node = new EncryptedNode();
                        enc_map.getMap().put(plugin_id, root_node);

                        root_node.setId(item.getId());
                        root_node.setDescription(item.getDescription());
                        root_node.setProperties(new HashMap(item.getProperties()));

                        log("importData - json - root_node.getProperties: " + root_node.getProperties());

                        if (item.getChilds() != null && item.getChilds().size() > 0) {
                            for (Readable r : item.getChilds()) {
                                EncryptedNode node = new EncryptedNode();
                                root_node.addChild(node);

                                node.setId(r.getId());
                                node.setDescription(r.getDescription());
View Full Code Here

        try {
            readable.setId(root_node.getId());
            readable.setDescription(root_node.getDescription());
            root_node.getChilds().forEach((account) -> {

                Readable read = Readable.Create.instance();
                read.setId(account.getId());
                read.setDescription(account.getDescription());
                read.setProperties(account.getProperties());

                account.getSensible().forEach((key_sensible, byte_value) -> {
                    try {
                        String value = manager.getSensibleValue(account, key_sensible);
                        read.getProperties().put(key_sensible, value);
                    } catch (Exception ex) {
                        Logger.getLogger(AccountsTabbedPlugin.class.getName()).log(Level.SEVERE, null, ex);
                        ex.printStackTrace();
                        manager.forceExit(this.getId(), "Error on readable exporting. ERR 2 - EXC: " + ex);
                    }
View Full Code Here

                .append("Date   : ")
                .append(UtilityFX.dataP())
                .append("\n")
                .append("\n")
                .append("\n");
        Readable rn = Readable.Create.instance();
        onReadableSavingData(rn);
        rn.getChilds().forEach((account) -> {
            sb.append("TITLE          :").append(account.getProperties().get("title")).append("\n");
            sb.append("USERNAME       :").append(account.getProperties().get("user_name_value")).append("\n");
            sb.append("EMAIL          :").append(account.getProperties().get("email_value")).append("\n");
            sb.append("PASSWORD       :").append(account.getProperties().get("password1_value")).append("\n");
            sb.append("SECRET ANSWER  :").append(account.getProperties().get("password2_value")).append("\n");
View Full Code Here

        readable.setKey(UtilityFX.toUTF8String(GEN_KEY));
        readable.setProperties(key_secret_data.getProperties());
        readable.setSettings(getSettings());

        MAP_PLUGIN.forEach((key, plugin) -> {
            Readable rn = Readable.Create.instance();
            plugin.onReadableSavingData(rn);
            readable.getMap().put(key, rn);
        });

        ExportSerializer export_manager = MakiDI.get().fromStock(ExportSerializer.class);
View Full Code Here

                    Iterator<String> keys = map_read.keySet().iterator();

                    while (keys.hasNext()) {

                        String plugin_id = keys.next();
                        Readable item = map_read.get(plugin_id);

                        log("importData - json - plugin_id: " + plugin_id);

                        EncryptedNode root_node = new EncryptedNode();
                        enc_map.getMap().put(plugin_id, root_node);

                        root_node.setId(item.getId());
                        root_node.setDescription(item.getDescription());
                        root_node.setProperties(new HashMap(item.getProperties()));

                        log("importData - json - root_node.getProperties: " + root_node.getProperties());

                        if (item.getChilds() != null && item.getChilds().size() > 0) {
                            for (Readable r : item.getChilds()) {
                                EncryptedNode node = new EncryptedNode();
                                root_node.addChild(node);

                                node.setId(r.getId());
                                node.setDescription(r.getDescription());
View Full Code Here

        try {
            readable.setId(root_node.getId());
            readable.setDescription(root_node.getDescription());
            root_node.getChilds().forEach((account) -> {

                Readable read = Readable.Create.instance();
                read.setId(account.getId());
                read.setDescription(account.getDescription());
                read.setProperties(account.getProperties());

                account.getSensible().forEach((key_sensible, byte_value) -> {
                    try {
                        String value = manager.getSensibleValue(account, key_sensible);
                        read.getProperties().put(key_sensible, value);
                    } catch (Exception ex) {
                        Logger.getLogger(AccountsTabbedPlugin.class.getName()).log(Level.SEVERE, null, ex);
                        ex.printStackTrace();
                        manager.forceExit(this.getId(), "Error on readable exporting. ERR 2 - EXC: " + ex);
                    }
View Full Code Here

                .append("Date   : ")
                .append(UtilityFX.dataP())
                .append("\n")
                .append("\n")
                .append("\n");
        Readable rn = Readable.Create.instance();
        onReadableSavingData(rn);
        rn.getChilds().forEach((account) -> {
            sb.append("TITLE          :").append(account.getProperties().get("title")).append("\n");
            sb.append("USERNAME       :").append(account.getProperties().get("user_name_value")).append("\n");
            sb.append("EMAIL          :").append(account.getProperties().get("email_value")).append("\n");
            sb.append("PASSWORD       :").append(account.getProperties().get("password1_value")).append("\n");
            sb.append("SECRET ANSWER  :").append(account.getProperties().get("password2_value")).append("\n");
View Full Code Here

        readable.setKey(UtilityFX.toUTF8String(GEN_KEY));
        readable.setProperties(key_secret_data.getProperties());
        readable.setSettings(getSettings());

        MAP_PLUGIN.forEach((key, plugin) -> {
            Readable rn = Readable.Create.instance();
            plugin.onReadableSavingData(rn);
            readable.getMap().put(key, rn);
        });

        ExportSerializer export_manager = MakiDI.get().fromStock(ExportSerializer.class);
View Full Code Here

TOP

Related Classes of org.rat.free.security.makifx.base.clear.Readable

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.