From: Denis B. <den...@co...> - 2007-11-12 10:54:48
|
Hi folks, I user Cryptix for PGP encryption/decryption. When I make local tests: ecnrypt/decrypt - there is not problem. And when I install my code to WebSphere - most of time - no problems. But rarely on WebSphere applicaton throws different exceptions like: java.lang.IllegalArgumentException: id not found - java.security.NoSuchAlgorithmException: Cipher #3 not found vmcid: 0x0 minor code: 0 completed: No Or ElGamal algorithm not found. I think that problem with providers location during runtime. But I have registered security providers in my code this way java.security.Security.addProvider( new cryptix.jce.provider.CryptixCrypto() ); java.security.Security.addProvider( new cryptix.openpgp.provider.CryptixOpenPGP() ); --- Denis Bessmerniy J2EE Developer Consumer Health Technologies Ukraine, Kyiv, Shchorsa Str, 32B, office 267 Phone: +380445690293 Fax: +380445690294 Cell.: 80501030623 Email: den...@co... |