title: Delphi - Sign XML with cerfificate (RSA-SHA256, x509)
body: <p>We're at the breakup point where we need to add an option for a client to sign the XML with certificate. As out whole software is made in Delphi, we'd like to implement this within the app itself (or via the dll library, in case there is anything out there that could be used like this more easily).</p>
  
  <p>Out SW creates the XML, which needs to be signed with the clients cerfiticate (using private key).</p>
  
  <p>Based on a lot of reading here on the web, all I can conclude is this: Confusion. </p>
  
  <p>What are our options? Any good examples/guides on how to achieve this?</p>
  
  <p>We've tried going through this <a href="https://stackoverflow.com/questions/21090208/how-to-properly-sign-xml-in-delphi">here</a> and <a href="https://stackoverflow.com/questions/1792541/convert-this-php-digital-signing-to-delphi">this</a> here, but nothing useful came out...</p>
  
  <p>We're using Delphi 7 and Delphi XE3  (depends on the module of the app, but basically it doesn't really matter for which one we get the solution).</p>
  
  <p>Note: I apologize upfront for generalized question, but I'm all new into cerfiticates field!</p>
  
  <p>Thanks. Best, M.</p>