Skip to Content

Did you ever tried extracting content from a PKCS7 signed file in ABAP to get

that *&%$ PDF document from it?


Well the solution is actually quite easy, and I would like to share it:


Download and install the BOUNCYCASTLE libraries from, taking care to download the ones which fit your JDK release; create a DC library project and deploy them on your SAP web application server, see this great blog to do that External Library Deployment and Usage in SAP NetWeaver Developer Studio


Create a new Java Web Service using NWDS and use this code to decrypt the p7m signed file extracting the signed infos from it:

However, the parameters are base64 encoded, so keep attention to encode/decode your source and result data.

To report this post you need to login first.


You must be Logged on to comment or reply to a post.

    1. Marcus Raath
      Hi Tomasz
      I want to use SSF to encrypt outound interface files before writing the data to disk.
      Have you successfully used this?
      Can you provide some details on configuring this?



Leave a Reply