 |
AppletTalk.com Java discussions newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
DJkapi Guest
|
Posted: Tue Jan 11, 2005 11:49 am Post subject: 256 bits key |
|
|
I want my program to use 256 bits key for encryption with Rijndael.
Everything is working up to a moment when i want to install "Unlimited
Strength Jurisdiction Policy Files" : Local_policy.jar and
US_export_policy.jar from command line. I don;t want to copy those files to
(java home)jrelibsecurity directory. I want only to make them available
during the runtime of my program. Do you happen to know how can I do it? i
think that i have to write something like that in command line :
java -Djava.security.manager -Djava.security.policy= example.policy MyApp
in the file example.policy i have the following:
grant codeBase "file:/Policy/*" {
permission java.security.AllPermission;
};
grant {
permission java.security.AllPermission;
};
But i still get an error : Unsupported keysize or algorithm parameters".
What can be a solution for it??
Regards
DJKapi
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|