13 Commits

Author SHA1 Message Date
Albert Astals Cid
6a1d268315 Enable QT_NO_CAST_FROM_BYTEARRAY 2020-01-23 17:26:29 +01:00
Albert Astals Cid
dbef5838d4 Enable QT_NO_SIGNALS_SLOTS_KEYWORDS 2020-01-22 19:31:28 +01:00
Ivan Romanov
ac8b8acd37 dropped fixpaths.include
Use qt.conf to set plugin paths for unittests and qcatool in buildtree
2014-09-25 14:27:44 +06:00
Ivan Romanov
6d690c0070 Build static QCA
Added new cmake variable SHARED_LIBRARY. By default is on.
When it is off QCA library, plugins, tools, examples and unittests
will be built as static. Also if is used static Qt plugins will be
built as static. Tested with Qt4.
2014-01-02 03:50:18 +06:00
Brad Hards
f1b60f1370 Update the certificates / keys used for testing Cryptographic
Message Syntax. The previous cert was from openvalidation.org,
but had expired.

svn path=/trunk/kdesupport/qca/; revision=690743
2007-07-22 04:18:42 +00:00
Justin Karneges
6152c977c0 follow qca-openssl -> qca-ossl rename
svn path=/trunk/kdesupport/qca/; revision=681691
2007-06-29 21:30:22 +00:00
Alon Bar-Lev
9f9f2d05d6 QSecureArray/QBigInteger -> QCA::SecureArray/QCA::BigInteger fixups
svn path=/trunk/kdesupport/qca/; revision=653605
2007-04-13 19:19:18 +00:00
André Wöbbeking
07197dc54e -pedantic
svn path=/trunk/kdesupport/qca/; revision=608497
2006-11-27 18:17:05 +00:00
Brad Hards
9fb4705fa6 General update to the CMS test.
1. Merge the .h into the .cpp
2. Update the qmake buildsystem to match
3. Add CMake support
4. Update the certificates, which had expired. Once
again, I'm using the test certs from http://openvalidation.org.

svn path=/trunk/kdesupport/qca/; revision=594720
2006-10-12 04:24:55 +00:00
Brad Hards
ea463b959b Unit tests for the "message" mode for Cryptographic
Message Syntax.

svn path=/trunk/kdesupport/qca/; revision=539588
2006-05-11 02:07:34 +00:00
Brad Hards
ab309e3be9 Update the CMS unit test to test signing and
verifying as well. We now need the root certificate
for the verification.

svn path=/trunk/kdesupport/qca/; revision=529415
2006-04-13 11:32:55 +00:00
Brad Hards
51a2ef6a3e OK, it turns out that when you reset(), you have
to put the keys/certs back in. With that, it stops
asserting. Then it just fails to compare the messages.
If you encrypt the same data, with the same certs,
twice, you don't get the same result each time.

So I added the decrypt part, including re-use, and
checked that if you encrypt the same data twice, then
each decrypt produces the same result, and that result
is exactly what you started with. The test now passes.

svn path=/trunk/kdesupport/qca/; revision=529009
2006-04-12 11:48:19 +00:00
Brad Hards
76c1cff1b2 Start of a unit test case for Cryptographic
Message Syntax SecureMessage.

At the moment, it assert()s in the repeated use
of a SecureMessage. Until that is sorted out, it
can't be added to the full test suite.

svn path=/trunk/kdesupport/qca/; revision=528990
2006-04-12 10:20:04 +00:00