AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

256 bits key

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Security and Java
View previous topic :: View next topic  
Author Message
DJkapi
Guest





PostPosted: Tue Jan 11, 2005 11:49 am    Post subject: 256 bits key Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Security and Java All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.