Encryption of folder object in J2ME

hello, is there an API that i can use to encrypt/decrypt the folder object (not the files inside the folder) using J2ME (currently using bouncycastle)?

prasad_at_sun wrote:
Thanks for your reply. In my case we have the application server setup at client side only (third party is testing our application and according to their need we have to handover the things in their hands) where i am deploying jar/war files. I am still without solution..What don't you understand about "You can't do it." ?
It's very simple really - whatever the language it makes no sense to encrypt the 'code' since to execute the code the execution engine needs to decrypt the 'code' before it can execute it so it has to have access to the decryption key. If the execution engine has access to the key so does anyone who has access to the execution engine.

Similar Messages

  • How Do I Encrypt a Folder / File?

    I would like to encrypt a folder (or maybe just a file) on my desktop -- not the whole hard drive.
    People say to "use a disk image" but I have no iead what that means.
    Any suggestions?
    I'm running OS X 10.6.8
    Thanks

    Click here.
    (75020)

  • Hi Freinds......How to Encrypt/Decrypt Text file in j2me

    Hello friendz.,,
    I m having problem with textfile exncryption decryption in j2me..
    Can abybode tell me how to encrypt/decrypt Text file using J2ME API's.......
    PLZ help me .......
    Thanx in advance
    regards,
    Parag

    http://www.mobilefish.com/developer/bouncycastle/bouncycastle.html
    http://www-128.ibm.com/developerworks/library/j-midpds.html

  • How to encrypt a folder for a windows user from Lion?

    How to I encrypt a folder to be sent to a Windows user without recurring to the command line.
    I have Stuffit 13 but get an error message. Upgrading seems over-kill. Willing to try another utility if necessary.
    Tommy

    Write an encrypted zip folder.

  • ORA-28336: cannot encrypt SYS owned objects

    Hi ,I am getting the following error during impdp.
    Processing object type SCHEMA_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
    ORA-31693: Table data object "IDCFAPP"."ROBJECTOFSERVICE" failed to load/unload and is being skipped due to error:
    ORA-28336: cannot encrypt SYS owned objects
    any suggestions?

    ORA-31693: Table data object string failed to load/unload and is being skipped due to error: string
    Cause: Table failed to load or unload due to some error.
    Action: Check load/unload error, correct problem and retry command.
    This error is most likely because the SQL statements were run from the SYS user account
    ~ Madrid

  • How can I find an encrypted hidden folder?

    I used InvisibleFile to hide and encrypt a folder, but I accidentaly deleted it from the program's list; now the folder is encrypted and invisible on my computer, I know exactly where it is, but I can't access it!

    Try showing all files & have a prowl to see if you can find it.
    In Terminal:
    defaults write com.apple.finder AppleShowAllFiles TRUE
    then type:
    killall Finder
    Then to change it back, do the above with FALSE instead of TRUE.
    Case sensitive btw.

  • Creating a shortcut link to a public folder object. Is it possible?

    I have never done this before and never had a reason to until now. I am wondering if there is a way to have a link to a Public Folder object such as an email with attachments sent to users that have Outlook 2010. The reason I am doing this is because we
    send out daily emails with attachments to all users and since Exchange 2010 no longer supports single instance storage, these emails are consuming too much database space. I want the department sending these emails to just send a single copy to a public folder
    and then send a link to that email to all users. Is this even possible?

    Hi,
    From my research, from Exchange 2007 and later version, the url to access public folder is no longer simple and clear as it in Exchange 2003. The hyperlink is long and complicated with a series of number and letter in the end.
    http://technet.microsoft.com/en-us/library/bb397221(v=exchg.141).aspx#Access
    I’d recommend you put files on a shared platform for long-term.
    Regards,
    Rebecca Tu
    TechNet Community Support

  • Uninstallation via SCCM leaves behind "folder object"

    Hi
    I know this isn't specifically sccm related but it does happen via sccm.
    I am upgrading some client software from an older version to the newest. 
    on a lot of machines I am seeing the following..
    1. the application uninstalls the old software
    2. somehow the process leaves behind the folder object.. by this I mean... the uninstaller actually removes the folder BUT somehow windows still thinks the folder is there.. all security settings etc. are wiped and there's no way to access the folder.. with
    ANY account. 
    This means the new msi installation fails because it cannot access/create the same folder to install..
    3. after a reboot the folder object is gone and the installation works perfectly..
    Has anyone seen this kind of behaviour?  and what can I do about it? 
    Kindest regards, Martin

    Hi Gerry.. 
    I know.. but since sccm guys(!!) often also work with msi deployment/package deployment I was hoping this would be a good place to ask :-)
    There is no additional switch missing.. I actually spoke to the developer and he was at a loss as to what was happening.. This is a program I have installed and updated many many times.. each time I use the same switches and each time everything works fine.. 
    Torsten... I determine it by rebooting.. and the folder is then gone.. 
    somehow the folder-object is getting completely locked down.. I can see the folder but NO WAY access it.. as domain admin I do not have access to view security page, nor can I take ownership, delete it, open it, or anything else. 
    Kindest regards, Martin

  • About Folder object path

    Hello ,
    My name is Avi. I want to create a folder on desktop for mac as well for windows. I want to create this folder using javascript. I am using cs3.
    When anybody try to run this script on any operating system the folder will be create on desktop or any where as per users requirement.
    Is there any logic between paths of mac osx and windows directory. Using that i can create a folder on any operating system.
    I want to create a single script which can use for both operating system.
    I knew how to create a folder using FILE SYSTEM ACCESS
    create a folder object(folderobj)
    To create a folder use folderobj.create().
    Is this information sufficient to understand my problem or i need to explain it more.
    Thank you for your co-operation.

    Thank you Kasyan.
    I have one more question for you.
    I created a edittext field using scriptUI and i want to get the data from that textfield.
    I use variable editcontets to get the data but in this case it not working. I am posting my script. Please let me know if there is any thing wrong i am doing.
    var g3 = myDlg.msgPnl1.add( "group" );
    myDlg.msgPnl1.titleSt = g3.add('statictext', undefined, 'Name: ');
    myDlg.msgPnl1.titleEt = g3.add('edittext', undefined,'Test');
    var amit = myDlg.msgPnl1.titleEt.editContents;
    alert(amit);
    myDlg.msgPnl1.create = g3.add('button', undefined, 'Create');
    myDlg.msgPnl1.titleSt = g3.add('statictext', undefined, ' ');
    when you run the script whatevery data in that text field will come o the variable amit.
    When i am trying to run this script i am getting alert as "undefined".
    I do not why please help me in this matter as well.
    Thank you,

  • Folder object throws IllegalStateException

    I am writing an email program which fetches the mail from Gmail. I have written the below mentioned code to fetch the name of all the folders of a particular client. when the servlet is loaded on the server, after that on the first (on servlet) the code marked (1) and (2) works fine, i.e the Folder object is created but on the subsequent hits, the folder object is not created. It throws an exception:
    java.lang.illegalStateException:not connected
    Why I am not been able to get the Folder object on subsequent hits?
         public ArrayList getCustomFolders(double pin){
                         System.out.println("Getting the name of all folders...");
              String username=(String)username_pin.get(pin);
              HashMap mapmap=(HashMap)map.get(username);
              Store store=(Store)mapmap.get("store");
              ArrayList folders=new ArrayList();
                                   try {
                   Folder folder=store.getDefaultFolder();---------------(1)
                    Folder f[]=folder.list();-------------------------------------(2)
                                                     System.out.print("Folder: ");-------------------//this line is not printed after he first hit.
                   for(Folder f1:f){
                        String foldername=f1.getFullName();
                        System.out.print(foldername+",  ");
                        folders.add(foldername);
                        if(f1.HOLDS_FOLDERS!=0){
                             Folder subfolders[]=f1.list();
                             for(Folder sub:subfolders){
                                  System.out.print(sub.getFullName()+" ,");
                                  folders.add(sub.getFullName());
              } catch (MessagingException e) {
                   System.out.println("Exception caught while fetching the list of folders");
              }catch(Exception e){
                   System.out.println("Exception caught"+e);
              return folders;
         }Edited by: carox on Mar 23, 2010 2:55 AM
    Edited by: carox on Mar 23, 2010 3:05 AM
    Edited by: carox on Mar 23, 2010 3:06 AM
    Edited by: carox on Mar 23, 2010 3:07 AM

    Because the Store has been closed. Why was it closed? I don't know. I can't see enough of your
    application to tell, but I'm sure you can figure it out. Note that if you leave it open for a long time
    without using it, the server will close it.
    Also, note that this code isn't doing what you expect:
    if(f1.HOLDS_FOLDERS!=0){
    What you meant was:
    if ((f1.getType() & Folder.HOLDS_FOLDERS) != 0) {                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Error at the time of defining XmlParser object in J2ME......

    Hi:
    I want to use XmlParser in my J2ME application, but at the time of defining XmlParser object i a getting error is:"XmlParser cannot be resolved to a type". I am using eclipse for developing application. I have already added KXml.zip in my src folder.
    I have imported following things:
    import javax.microedition.lcdui.*;
    import javax.microedition.midlet.*;
    import java.io.*;
    import javax.microedition.io.*;
    import javax.microedition.rms.*;
    import org.kxml.*;
    import org.kxml.parser.*;
    and actual error line is:
    byte[] xmlByteArray = str.getBytes();
                                  ByteArrayInputStream xmlStream = new ByteArrayInputStream(xmlByteArray);
                                  InputStreamReader xmlReader = new InputStreamReader( xmlStream );
              //error line          XmlParser parser = new XmlParser( xmlReader );
    So, can anybody help me.
    Thank You

    Hi AnupDesai.
    I'm using [kXML 2|http://kxml.sourceforge.net/kxml2/] parser, so maybe this could help you. I'm using NetBeans 6.5 and to use it I had to add the JAR file into the "resources" of my project. Then I simply use three imports:
    import org.kxml2.io.KXmlParser;
    import org.xmlpull.v1.XmlPullParser;
    import org.xmlpull.v1.XmlPullParserException;And use it like this:
    KXmlParser parser = new KXmlParser();
    InputStreamReader reader = (open your streeam here);
    parser.setInput(reader)I hope this helps you!
    Marc

  • Time machine backing up encrypted home folder

    My macbook pro is required to be encrypted using file vault
    I want to have some backup capability so I connected our older model time capsule (500 GB circa 2008) to my laptop with an ethernet cable.
    Based on checking with the finder, my home directory is about 58 GB and everything else on the Mac HD was not selected for backup. When I run time machine, it begins backing up WHILE I AM LOGGED INTO MY ACCOUNT. It takes all day to do a backup. If I log out, there is no message from time machine about backing up my home directory. When I log in andit does a scheduled backup the next day, it looks like it tries to do another complete backup of 58 GB, rather than an incremental backup. I gather that this is because the sparse bundle disk image of my home directory acts like one big file. This behavior is different than has been explained in the forums. Is my home directory actually being backed up while I'm logged in?
    This backup strategy is probably not the best for me but is better than nothing. I have about 9 GB of space available on my idisk and was wondering: Can I backup certain home directory folders to idisk as a way to do more of an incremental backup of more frequently used files? Or will this be a problem due to the encryption. Any suggestions?

    Yes, I've excluded nearly everything else. Pretty much everything I use is in my Home Folder of 58 GB.
    The excluded stuff includes Library 15.7 GB, OSX Files/Apps 17 GB.
    Not excluded is Apps 9 GB, 6 GB movies, and my User folder
    Yes I am looking at the Time machine message saying Backing up x GB of 58.1 GB
    I see the recovering disk space message when logging out but not the backing up message.
    If I go to Time machine, I can see all my files when navigating either from my home directory or from the hard disk and the sparse bundle doesn't show up
    If I log in as admin, I could see the sparse bundle
    Here is the console so far for a backup I started yesterday (now 1143 am Fri) at 31 of 58 GB). I downloaded the widget but did not want to mess with the admin stuff
    8/12/10 12:04:43 PM /System/Library/CoreServices/backupd[918] Backup requested by user
    8/12/10 12:04:43 PM /System/Library/CoreServices/backupd[918] Starting standard backup
    8/12/10 12:04:53 PM /System/Library/CoreServices/backupd[918] Mounted network destination using URL: afp://[email protected]/Powell's%20Time%20Capsule
    8/12/10 12:04:53 PM /System/Library/CoreServices/backupd[918] Backup destination mounted at path: /Volumes/Powell's Time Capsule
    8/12/10 12:04:59 PM /System/Library/CoreServices/backupd[918] Disk image /Volumes/Powell's Time Capsule/NeXT_0017f2c9f4df.sparsebundle mounted at: /Volumes/Backup of NeXT
    8/12/10 12:04:59 PM /System/Library/CoreServices/backupd[918] Backing up to: /Volumes/Backup of NeXT/Backups.backupdb
    8/12/10 12:05:00 PM com.apple.backupd[918] 2010-08-12 12:05:00.560 FindSystemFiles[941:713] Querying receipt database for system packages
    8/12/10 12:05:05 PM com.apple.backupd[918] 2010-08-12 12:05:05.316 FindSystemFiles[941:713] Using system path cache.
    8/12/10 12:05:11 PM /System/Library/CoreServices/backupd[918] Waiting for index to be ready (906 > 0)
    8/12/10 12:07:59 PM /System/Library/CoreServices/backupd[918] No pre-backup thinning needed: 69.75 GB requested (including padding), 330.64 GB available
    8/12/10 12:08:20 PM /System/Library/CoreServices/backupd[918] Copied 1 files (3 bytes) from volume mark.
    8/12/10 12:21:23 PM /System/Library/CoreServices/backupd[918] Backup destination alias resolved to path: /Volumes/Powell's Time Capsule
    8/12/10 12:21:26 PM /System/Library/CoreServices/backupd[918] Disk image /Volumes/Powell's Time Capsule/NeXT_0017f2c9f4df.sparsebundle mounted at: /Volumes/Backup of NeXT

  • How do i encrypt a folder?

    I want to have a folder on my desktop that is encrypted and password protected.  I just need a folder to keep a few really important documents -- I don't need to encrypt my whole hard drive.
    I thought I was doing what I wanted by following:
    http://support.apple.com/kb/ht1578
    Instead it seems Snow Leopard wanted to encrypt my whole HD -- I hit cancel.
    What should I do to get one little encrypted / password protected folder?
    I'm running OS X 10.6.8 on an i3 iMac
    Thanks

    Those instructions create a password protected disk image.
    Just drag your folder onto it.

  • 403 Forbidden on Apache for a web page in my own encrypted Sites folder

    Greetings,
    I'm developing a php web site, putting files in my account's "Sites" folder.
    My whole account is encrypted (not by File Vault, but by moving it in an encrypted .dmg by ditto and niutil, instead) and I'd like the web site itself to be, too: for now I want it my eyes only. Everything I use (iApps, etc.) works fine, so I think I adjusted my encrypted home right.
    But, I can't view my own web pages in Safari: when I try any location such http://localhost/~myusername[/myfile] I get a 403 Forbidden error.
    File permissions seem right and Personal Web Sharing is on. Moreover, if I create a brand new user and move it (via ditto and niutil) in the same encrypted .dmg, it suffers the same fate.
    Any other non-encrypted account's web page, e.g. http://localhost/~otherusername is reachable from my encrypted account.
    I wonder if all that's about Apache configuration, which I'm not skilled enough to fix.
    Thanks to anyone caring to help.

    Hi Begli, and a warm welcome to the forums!
    See if any of this helps...
    http://www.informit.com/library/content.aspx?b=MacOS_XUnleashed&seqNum=211

  • Encrypt xml bean object

    Hi Folks,
    can we encrypt and decrypt a xml bean object .
    i have a xml bean encoded file which contains all questions and now user need to take a exam ,problem here is user can see that xml file in text editor in readble format.
    Now how can i encrypt xml file and decrypt it back when application starts.
    Thanks in Advance

    lakshmiindia wrote:
    Hi Folks,
    can we encrypt and decrypt a xml bean object .
    i have a xml bean encoded file which contains all questions and now user need to take a exam ,problem here is user can see that xml file in text editor in readble format.
    Now how can i encrypt xml file and decrypt it back when application starts.
    You can't do this securely since any decryption key needed by the application must be available to the application and therefore easy to get at by a knowledgeable attacker. On this basis and since you have a fairly big learning curve to implement any encryption, why not simple Base64 encode the whole file. Easy for anyone in the know to decode but it might be good enough for a school/college/university project.

Maybe you are looking for

  • Ellipsis Jetpack won't connect and now won't even turn on

    I have been having a problem with my Toshiba running Vista , connecting to my Ellipsis jetpack. I called customer service and while the rep was very courteous and helpful, she stated the problem was a security issue with my laptop. I took several mea

  • Anyone else find that Firefox v. 26 is incredibly slow (worse than IE)?

    I have disabled and restarted then re-enabled hardware acceleration, reset Firefox, emptied cache and tried everything I can find or think of to no avail. This just became a problem since I updated to v. 26.0. Have never seen a version respond so poo

  • My iphone 3gs has been locked so please factory unlocked my iphone

    i am using iphone 3GS and it has been locked so please factory unlock this iphone so i can use this iphone iphone IEMI Number - 01 257400 832767 8

  • Finding Exists for IDOC

    Can anybody Please tell me the list IDOC Enhancements for the Basic IDOC type TPSSHT01 i need to use Enhancement IDOC for this.

  • Probleme avec premiere pro cc

    help. je n'arrive pas à trouver des pistes de solutions à mon problème. en fait dès que j'ouvre premiere pro cc le message suivant apparait "première pro a cessé de fonctionner" windows doit fermer le programme". et c'est tout. j'ai vérifié ma carte