Skip to Content
0
May 12, 2020 at 08:09 AM

FM SSFW_KRN_SIGN - Signature value too long

108 Views

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