Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

FM SSFW_KRN_SIGN - Signature value too long

Hi together,

i am currently implementing an authorization routine for a already existing 3rd party web service. I need to send a signed hash value for security reasons with the post.

Unfortunately, the signature created with the function module SSFW_KRN_SIGN is way too long. Longer than the signature value which is created by the official nodeJS SDK.

While debugging, i have found out that the signed string also includes information about the signer, which i do not want to include.

The storing format is PCKS7[PSS] with a SHA256 hash algorhythm. The salt length should be 20.

This leaves me with 2 questions:

1. Is the function module SSFW_KRN_SIGN even correct? How can i exclude the cert data? I have already tried the different importing parameters

2. Is there even a parameter to set the needed salt length?

Thanks in advance!

Best Regards

Pascal

1 REPLY 1

0 Kudos

Did anybody have the same difficulties?

I cannot call the function module with the detached signature parameter as it returns CRC12. Any ideas?

Thanks!