Skip to Content

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on May 15 at 10:19 AM

    Did anybody have the same difficulties?

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

    Thanks!

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.