[QCA]Encrypt with private key and decrypt with public key !
Qt Creator and other tools
6
Posts
3
Posters
5.3k
Views
1
Watching
-
Hi,
When i use QCA, I can't decrypt with public key and encrypt with private.
In documentation, private key is for decrypting and public key is for encrypting but the asymetric system don't like this.If we want garantee non-repudiation we also need to encrypt with private key and decrypt with public !
Can someone tell me how solve this problem or ask me if it's a limitation of QCA ?
Regards,
Mohamed -
-
Of course you can, here is a proof:
http://harmattan-dev.nokia.com/docs/platform-api-reference/xml/daily-docs/libqca2/classQCA_1_1PKey.html#62d01121d3790d4d80cd4e3d60fa0ee6 -
You should take a look at this example:
http://delta.affinix.com/docs/qca/rsatest_8cpp-example.html#_a8