1 (edited by rkroshan.1997 2020-10-10 10:18:56)

Topic: How To Sign and Verify XML Data

Hi,

I have a signed xml artifact which I have to verify inside a stm32f4 based embedded system. I need to verify the signature of the xml artifact using public key and also need to sign new xml data with my private key. The signarute is based on SHA256-RSA:4096

Going through the documentation, I understand how to sign and verify simple data but I don't know how verify xml data. Because Signing XML artifact requires canonicalization, transformation and then create signature. I didn't found any documentation, how can I do this using wolfssl library.

please let me know, if there is any documentation or example where it is shown how to sign and verify xml data using wolfssl library.

I am attaching sample xml artifact with this post.

Thanks
rkroshan

Share

Re: How To Sign and Verify XML Data

I am unable to upload xml file. But It is a standard sign xml file. which looks as shown at this link https://www.xml.com/pub/a/2001/08/08/xmldsig.html

Share

Re: How To Sign and Verify XML Data

Checking if an internal example exists, will get back to you shortly!

- KH

Re: How To Sign and Verify XML Data

Kaleb J. Himes wrote:

Checking if an internal example exists, will get back to you shortly!

- KH

Sure thanks, I will wait for your reply.

Share