Skip to Content
avatar image
Former Member

PI 7.1 - PGP Decryption/Encryption in Java Mapping using Bouncycastle

Hi all,

I have a scenario where i have to Decrypt a message using Java Mapping and then Encrypt just the Credit card and send the message to the Integration Server.

This works fine on NWDI ( i generated the key pair using GNUPG and performed the decryption/encryption using Bouncycastle api). But when i import the JAR files via 'Imported Archives' (my java mapping + 2 JARs from Bouncycastle) it fails to 'extractPrivateKey'.

So, i tried to drop the 2 Bouncycastle JARs into JRE/lib/ext folder but get 'class not found' error. How do i get my Java Mapping to read the JARs. Should these JARs be deployed via JSPM similar to a JDBC driver? (We are on PI 7.1)

Your help is appreciated.

Thanks,

Ravi

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Jul 15, 2009 at 03:27 PM

    Yes ask your Basis team to deploy these on XI server. then it would pick up.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 15, 2009 at 03:37 PM

    JSPM doesn't seem to have an option to take in JARs. Any pointers on how to proceed with JAR deployment for PI 7.1?

    BASIS looked at SAP Note 1138877 - PI 7.1 : How to Deploy External Drivers JDBC/JMS Adapters but feels that this might not be the same process to deploy JARs.

    Edited by: Ravi P Rao on Jul 15, 2009 6:46 PM

    Add comment
    10|10000 characters needed characters exceeded