cancel
Showing results for 
Search instead for 
Did you mean: 

Digital Signature GZIP and base64

Former Member
0 Kudos

Hello experts,

have the following scenario: IDoc -> PI <-> SOAP.

However, when the message arrives at the PI, I need to apply a digital signature on it, compact with GZIP format and encoding base64.

My PI is version 7.1.

Some of you can help me?

Thank you for your attention.

Regards,

Bruno Atilio Soprani

Accepted Solutions (0)

Answers (1)

Answers (1)

stefan_grube
Active Contributor
0 Kudos

> However, when the message arrives at the PI, I need to apply a digital signature on it, compact with GZIP format and encoding base64.

You have to write an adapter module for this.

There is no standard way to achieve this.

Regards

Stefan

Former Member
0 Kudos

Hi Stefan,

I appreciate your support.

I found the following documents: http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/40611dd6-e66e-2910-f383-e80fb44f9...

where, sitting on 4.5 says about the "Module Configuration Parameter" ... however, is returning error when running these settings. Is that really there is no standard way to achieve this goal?

Anybody have any tips on how to develop a module for this?

Regards,

Bruno

stefan_grube
Active Contributor
0 Kudos

Are you talking about transfer-encoding, or do you want to decode parts of the payload?

Former Member
0 Kudos

I need to encode the send of data, the return will not be encrypted, so no need to decode.

Any suggestions?

Thank you.

stefan_grube
Active Contributor
0 Kudos

the whole payload, or only parts of it?

What will happen with the digital signature? Will it become part of the payload?

Former Member
0 Kudos

Yes .. the whole payload ...

indeed, the entire process is the following, the PI receives the payload, format in a specific XML structure, applies digital signature, the result is compact in GZIP format and encoded in base64.

The whole payload...

Any suggestions?

Thank you!

Former Member
0 Kudos

I created a java mapping.

Former Member
0 Kudos

Hi Bruno, I am about to do the same process as you have.

Are you willing to share your java mapping code? This would make a good Wiki entry.

Did you end up using any modules in addition to java mapping?

Did you use a key store to apply the digital signature?

Many thanks for your advice!

-Aaron