Sign XML Requests using TLS Certificate

Hello everyone!

I’ve been working with Tesla for my HTTP Requests using the middleware tesla_middleware_xml to encoding requests and decoding responses as XML.

But now I need to sign the content generated by, and add the Signature element for each request. I’ve been searching but didn’t found any example. It’s my first time that I need sign XML.

Have you ever been through something similar? There’s some plug, or other middleware able to sign my requests?

Thank you!