on 03-26-2009 6:26 PM
Hello experts,
we want to implement a Java Mapping with PGP encryption using the Bouncy Castle libraries. I can test the Java Mapping locally with Eclipse and everything works fine. I also created other Java Mappings using the same environment and everything works fine.
However, now, the mapping doesn't work on the XI system. I always get the error:
exception encrypting session key
org.bouncycastle.openpgp.PGPException: exception encrypting session key at org.bouncycastle.openpgp.PGPEncryptedDataGenerator.open(Unknown Source) at org.bouncycastle.openpgp.PGPEncryptedDataGenerator.open(Unknown Source) at pgpEncryptionPackage.PGP_Encryption_Test_Neu.encryptFile(PGP_Encryption_Test_Neu.java:127) at pgpEncryptionPackage.PGP_Encryption_Test_Neu.execute(PGP_Encryption_Test_Neu.java:79) at com.sap.aii.ibrep.server.mapping.ibrun.RepJavaMapping.execute(RepJavaMapping.java:73) at com.sap.aii.ibrep.server.mapping.ibrun.RepMappingHandler.run(RepMappingHandler.java:80) at com.sap.aii.ibrep.server.mapping.rt.MappingHandlerAdapter.run(MappingHandlerAdapter.java:107) at com.sap.aii.ibrep.server.mapping.ServerMapService.transformInterfaceMapping(ServerMapService.java:127) at com.sap.aii.ibrep.server.mapping.ServerMapService.transform(ServerMapService.java:104) at com.sap.aii.ibrep.sbeans.mapping.MapServiceBean.transform(MapServiceBean.java:40) at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0_0.transform(MapServiceRemoteObjectImpl0_0.java:167)
Has anybody an idea, how I can solve this problem?
Best regards,
David
There was an underlying exception! The library can't be imported as an "Imported Archive", because it is signed. We imported the file on OS level.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hope you have downloaded and deployed java class library for bouncy-castle.
Thanks,
Nilehs
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.