From: Smith, C. <cs...@em...> - 2006-09-26 20:33:20
|
Also here is the last method called before the error in the stack trace. If this helps The File name is PGPElGamal.java The class name is cryptix.openpgp.algorithm.PGPElGamal The method name is encrypt The line number is 568 Hello and how is it? I am receiving an error when I try to encrypt with a PGP 9.0 DH/DSS Size 2048/1024, CAST key. The error is:=20 We have a runtime exception.Not allowed to use ElGamal. Perhaps you need to download the Unlimited Strength Jurisdiction Policy Files from the Sun website? java.lang.SecurityException: Unsupported keysize or algorithm parameters Now I have the Policy files already installed in my Security folder. However, I was using an RSA Legacy key before so my Instance on my EncryptionBuilder was "OpenPGP/Legacy", I changed that to just OpenPGP. Is that were I am going wrong are am I missing something else. Thanks :-) Corey R. Smith CONFIDENTIALITY NOTICE: If you have received this e-mail in error, = please immediately notify the sender by e-mail at the address shown. = This e-mail transmission may contain confidential information. This = information is only for the use of the individual(s) or entity to whom = it is intended even if addressed incorrectly. Please delete it from your = files if you are not the intended recipient. Thank you for your = compliance.=20 |