hello
I use JDK 1.3 and my programs (encrypt, decrypt with Cryptix openPGP) working correctly when I launch them from dos.
But, by putting the source within webMethods Integration Server, I have the following error who appears
when I decrypt a file.
I would like to know why !
Can somebody explain me what this Exception message really means ?
javax.crypto.IllegalBlockSizeException
and the word ‘cipher’ ?
java.lang.RuntimeException: IllegalBlockSizeException on de/encrypting a key - javax.crypto.IllegalBlockSizeException: Input data length not a multiple of blocksize.
at cryptix.openpgp.packet.PGPCryptHelper.crypt(PGPCryptHelper.java:92)
at cryptix.openpgp.packet.PGPKeyPacket.decrypt(PGPKeyPacket.java:487)
at cryptix.openpgp.provider.PGPKeyBundleImpl.getPrivateSubKey(PGPKeyBundleImpl.java:805)
at cryptix.openpgp.provider.PGPEncryptedMessageImpl.decrypt(PGPEncryptedMessageImpl.java:296)
–when invoke the method : decrypt()–
Is anybody can help me please ?
Thanks
Fr�ric