Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. XML Digital Signature
QtWS25 Last Chance

XML Digital Signature

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 3.1k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Sridhar C
    wrote on last edited by
    #1

    How to digitally sign the XML using qt?

    1 Reply Last reply
    0
    • D Offline
      D Offline
      DerManu
      wrote on last edited by
      #2

      You could sign the XML data just like any other data with OpenSSL. The easiest way is probably to invoke the necessary command line program openssl, see http://www.madboa.com/geek/openssl/#cert-self . Or you could use libssl-dev directly in your program.
      Another possibility is to use libraries like the "XMLSecLib":http://www.aleksey.com/xmlsec/index.html, but they basically also wrap openssl. Don't confuse the XML-formatted-Signature with the signed data. There's nothing special about the data, you can sign any data you like, including XML.

      There might be a way to do this with the OpenSSL-Qt-Integration, but I've only come across using this with QSSLSockets (see QSslCertificate etc.).

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved