From: Ravi K. <ark...@ya...> - 2007-07-21 13:02:41
|
Hello Everybody, =0A =0AI am working in an Insurance company. We are = using Cryptix-32 and jdk 1.4. =0A =0ARecently we upgraded to jdk1.5, the ol= d version of Cryptix and PGP is not working with jdk 1.5. =0A =0AI am= able to find the above exceptions in google, but when I click on the appro= priate link it is showing the calendar sort of page. I am a new user; I do = not know how to use that. =0A =0ACase 1:=0AI downloaded the latest cryptix-= JCE and open pgp and upgraded the java program which calls cryptix. It is t= hrowing an invalid key exception.=0A =0ACase 2:=0ASince the existing progra= m is throwing exceptions, I installed crptix and open pgp with jdk 1.5 in m= y personal machine and tried to run the examples cryptix.openpgp.encrypt.ja= va. It is throwing the below exception.=0AException in thread "main" java.l= ang.RuntimeException: NYI=0A at cryptix.jce.provider.elgamal.ElGamal= Cipher.engineGetParameters(ElGama=0AlCipher.java:120)=0A at javax.cr= ypto.Cipher.a(DashoA13*..)=0A at javax.crypto.Cipher.init(DashoA13*.= .)=0A at cryptix.openpgp.algorithm.PGPElGamal.encrypt(PGPElGamal.jav= a:550)=0A at cryptix.openpgp.packet.PGPPublicKeyEncryptedSessionKeyP= acket.encrypt(=0APGPPublicKeyEncryptedSessionKeyPacket.java:153)=0A = at cryptix.openpgp.provider.PGPEncryptedMessageBuilder.engineBuild(PGPEn=0A= cryptedMessageBuilder.java:283)=0A at cryptix.message.EncryptedMessa= geBuilder.build(EncryptedMessageBuilder=0A.java:253)=0A at cryptix.o= penpgp.examples.Encrypt.main(Encrypt.java:129)=0A =0A =0AKindly advice me r= egarding the above problem. Any help appreciated.=0A =0ARegards,=0ARavi=0A= =0A=0A =0A___________________________________________________________= _________________________=0AGot a little couch potato? =0ACheck out fun sum= mer activities for kids.=0Ahttp://search.yahoo.com/search?fr=3Doni_on_mail&= p=3Dsummer+activities+for+kids&cs=3Dbz |