aspose file tools*
The moose likes Applets and the fly likes Missing files: com.ms.security.* and netscape.security.* Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "Missing files: com.ms.security.* and netscape.security.*" Watch "Missing files: com.ms.security.* and netscape.security.*" New topic
Author

Missing files: com.ms.security.* and netscape.security.*

Matt Kidd
Ranch Hand

Joined: Jul 17, 2002
Posts: 261
I am decompiling and recompiling an application that uses an applet and these to libraries are missing. I realize they are somehow associated to the signing of the applet but I currently do not have copies of them. Anyone know where I can get a copy?

Matt
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42946
    
  70
Both are way, WAY, obsolete. Neither Microsoft nor Netscape have a JVM any more, so the only way to sign applets is the official one described in the Sun JVM documentation. Some related info can be found in HowCanAnAppletReadFilesOnTheLocalFileSystem.
Matt Kidd
Ranch Hand

Joined: Jul 17, 2002
Posts: 261
I figured as much with my googling today...and with your post I checked the code one more time and this dawned on me:



if I'm writing code to replace this applet....why do I need this batch of code which is located in the init method?

I'm so hating hackin this app just get this enhancement installed just to be a stop gap before we upgrade the whole application.



I think I'm just going to forgo trying to find this and just refactor this so the code doesn't run....
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42946
    
  70
Those statements do in a Microsoft/Netscape JVM what in a (these days) standard Sun JVM applet signing does. So if the applet is signed, none of that is necessary.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Missing files: com.ms.security.* and netscape.security.*