Signing an XML file with KEY and CRT file
Hello, I've been looking at the specification for OpenSSL.
However, with its API I'm not able to generate the same results than with the command line.
I need to sign an XML file using a PRIVATE KEY and a CERTIFICATE.
The result should be the same as of:
openssl -smime -sign -signer CERTIFICATE -inkey PRIVATE_KEY -in FILE.XML -out OUTPUT.PEM -outform PEM
Is there any way to do this through Qt?
Has anybody got experience with OpenSSL API?
Do you mean to run your command line from Qt (i.e. QProcess) or to use the OpenSSL API through Qt ?