02-07-2018 9:21 PM
Good day
Is it possible to sign an XML file using XADES-EPES in ABAP
I've been using class cl_sec_sxml_dsignature and could sign the xml with SHA256 but no XADES .
I know from sap notes that PI can be use but We do not have PI
btw this is related to Digital Invoice
Thank you for your help and time
05-30-2018 9:58 AM
02-07-2019 11:39 AM
Hi Perez, did you solved your problem? We are also facing problem where XML-message needs be signed using XADES type of signature element ds:signature after the main payload.
The result XML should be like this:
<xml....>
<MyMainRootElementAccordingToSchema>
<MybusinessContent>
...lots of business content relevant complex structures
</MyBusinessContent>
... complex structures according to signature schema. See picture embedded.</MyMainRootElementAccordingToSchema>04-12-2019 6:47 PM
Hello Kimmo and Benjamin,
I decided to build the structure manually but I am facing 2 issues building XADES-BES structure:
1. How can I get DigestValue?
2. How can I get SignatureValue?
I have this example, the tags mentioned, were highlighted. Could you help me?
Really apreciate your replies,
Regards,
Carlos Andrés
12-19-2019 7:38 AM
Hi Carlos,
I have a similar requirement. Were you able to solve your problem? If yes could you please share the solution.
Thanks in regards
Aruna
06-02-2023 1:25 AM
Hi,
How were you able to sign with a sha256 algorithm?
I try several notes but I'm only able to sign with SHA1, even in my STRUST config I only visualize the SHA1 algo.