Justin Karneges
7769c1870f
update to reflect api changes
...
svn path=/trunk/kdesupport/qca/; revision=652422
2007-04-10 23:42:54 +00:00
Alon Bar-Lev
c0ebf2b8c0
Logger: Add log level filter
...
svn path=/trunk/kdesupport/qca/; revision=651562
2007-04-08 12:29:44 +00:00
Brad Hards
c26eac0349
EBN fix: slots: -> Q_SLOTS.
...
Not really a problem in this case, but no loss.
svn path=/trunk/kdesupport/qca/; revision=649910
2007-04-03 11:27:47 +00:00
Brad Hards
00791d2bd5
Add this unit test to the cmake buildsystem.
...
svn path=/trunk/kdesupport/qca/; revision=649132
2007-04-02 06:12:51 +00:00
Justin Karneges
e6a4a57edd
update to build against the right qca lib name
...
svn path=/trunk/kdesupport/qca/; revision=648311
2007-03-30 23:42:53 +00:00
David Faure
42f28eb6d8
Comment out non-working test (like in the .pro file)
...
svn path=/trunk/kdesupport/qca/; revision=646963
2007-03-26 23:29:56 +00:00
Justin Karneges
d80a68190d
update to reflect api changes
...
svn path=/trunk/kdesupport/qca/; revision=646748
2007-03-26 15:40:55 +00:00
Brad Hards
3932ba3a9b
Not all of the pkits tests actually make sense.
...
Add a conditional case for testing all cases, but only do
the good tests by default.
svn path=/trunk/kdesupport/qca/; revision=643998
2007-03-18 23:28:02 +00:00
Christian Ehrlicher
4ffad0e397
rearranged includes to follow Qt's 'include Qt headers first' - rule. This fixes a compile problem with msvc
...
svn path=/trunk/kdesupport/qca/; revision=634152
2007-02-16 13:41:03 +00:00
Christian Ehrlicher
78406a6651
win32 compile
...
- update openssl to search for libeay too
- saslservtests needs wsock32
- export CertificateInfoPair to fix qca-openssl linking
- add setenv() to pgpunittest.cpp for win32 - maybe add a check for setenv()
svn path=/trunk/kdesupport/qca/; revision=633918
2007-02-15 19:17:56 +00:00
Brad Hards
dc8fc52874
temporarily disable pgp unittest
...
Add support for logger unit tests for qconf/qmake.
svn path=/trunk/kdesupport/qca/; revision=625555
2007-01-20 11:13:25 +00:00
Brad Hards
f5e66de5a8
Add unit tests for the new Logger capability.
...
svn path=/trunk/kdesupport/qca/; revision=625454
2007-01-20 07:12:05 +00:00
Brad Hards
492ec1c0a8
Remove the Quality enum from the Random capability, as
...
discussed with Justin.
It was only really supported by the Botan provider, and
Botan dropped the idea in 1.6.0. Also, it never ensured
that the random number was actually secure.
svn path=/trunk/kdesupport/qca/; revision=620048
2007-01-05 05:22:34 +00:00
Brad Hards
9effe14fe6
Typo fixes, courtesy a (local) krazy run.
...
svn path=/trunk/kdesupport/qca/; revision=618410
2007-01-01 08:57:37 +00:00
Brad Hards
5a293c84c1
Add in a new unit test, this one for PGP.
...
At the moment, this just check the keystore
functionality. It also doesn't work too well
for the case where there are no public keys.
However I think this is a problem with the
provider, not with the tests.
svn path=/trunk/kdesupport/qca/; revision=614289
2006-12-17 07:25:46 +00:00
Brad Hards
921b70fd9b
Now that the qca-gnupg plugin loads, we can check for a full
...
set of providers.
svn path=/trunk/kdesupport/qca/; revision=614288
2006-12-17 07:22:35 +00:00
Brad Hards
400e8e3b4a
resort.
...
svn path=/trunk/kdesupport/qca/; revision=610427
2006-12-04 09:59:18 +00:00
Brad Hards
131bf8eaac
Add automated unittesting support. Now, you can
...
just "make test" and it will run the appropriate
tests.
svn path=/trunk/kdesupport/qca/; revision=609827
2006-12-02 11:53:32 +00:00
Brad Hards
42dda04e57
Only test the keystore capability if we have support
...
for it.
This is still a bit rubbishy, because we should be
testing each provider, not just a provider at random.
svn path=/trunk/kdesupport/qca/; revision=609809
2006-12-02 11:26:26 +00:00
Brad Hards
fc4a1763df
Test the built in provider normally, and only
...
test the botan RNG if available.
svn path=/trunk/kdesupport/qca/; revision=609807
2006-12-02 11:22:15 +00:00
Brad Hards
3194ebf595
It looks like it is pretty common to compile openssl
...
without support for IDEA (presumably because of patents).
So avoid testing for presence of it.
svn path=/trunk/kdesupport/qca/; revision=609736
2006-12-01 22:31:40 +00:00
André Wöbbeking
07197dc54e
-pedantic
...
svn path=/trunk/kdesupport/qca/; revision=608497
2006-11-27 18:17:05 +00:00
Brad Hards
6ad4fb500e
Remove the default arguments on MessageAuthenticationCode,
...
as discussed with Justin.
It basically made sense to have a default of SHA1 for HMAC, but
when we went away from having all the specific classes, defaulting
all MAC to be HMAC(SHA1) was a bit of a stretch.
svn path=/trunk/kdesupport/qca/; revision=605322
2006-11-16 10:58:43 +00:00
Justin Karneges
498fe8fff4
provider versioning, also added qcaVersion for runtime version check
...
svn path=/trunk/kdesupport/qca/; revision=604475
2006-11-12 23:01:27 +00:00
Laurent Montel
727d9a13a6
Add missing directory
...
svn path=/trunk/kdesupport/qca/; revision=599202
2006-10-26 08:43:42 +00:00
Brad Hards
364950b09e
Add skeleton for a new unit test, this one covering
...
the QCA::KeyStore class.
There is something seriously wrong with KeyStore at
the moment, and this test segfaults in the
constructor.
CCMAIL: justin@affinix.com
svn path=/trunk/kdesupport/qca/; revision=597919
2006-10-22 01:18:57 +00:00
Brad Hards
71879f014c
Need to copy the test files over to the build directory in order
...
for the unit tests to run.
svn path=/trunk/kdesupport/qca/; revision=597063
2006-10-19 10:40:30 +00:00
Brad Hards
854f5518bc
Add NSS to the providers that we test for Cipher.
...
svn path=/trunk/kdesupport/qca/; revision=597053
2006-10-19 10:04:23 +00:00
Brad Hards
ad821c97cf
Use "pkcs12" feature string instead of the old "pix" label.
...
Also check that PKCS12 support is available before trying
to use it in the constructor that takes a filename.
svn path=/trunk/kdesupport/qca/; revision=597049
2006-10-19 09:51:21 +00:00
Brad Hards
df5fc3d380
Add a new unit test, this time for the KeyBundle class.
...
I think this one has pretty good test coverage, however
it is causing the OpenSSL provider to segfault. Looks
like an bug in the provider rather than the unit test though.
svn path=/trunk/kdesupport/qca/; revision=597003
2006-10-19 06:00:57 +00:00
Brad Hards
754c212a61
Include NSS in the tests for HMAC with RIPEMD160
...
svn path=/trunk/kdesupport/qca/; revision=595597
2006-10-15 01:55:07 +00:00
Brad Hards
406ff9f765
Make this example a bit nicer, by avoiding the timeout and
...
using a QCA::Synchronizer instead.
svn path=/trunk/kdesupport/qca/; revision=595155
2006-10-13 12:15:34 +00:00
Brad Hards
3aebcd629b
qconf/qmake build fixes for the new SNI unit test.
...
svn path=/trunk/kdesupport/qca/; revision=594805
2006-10-12 11:35:37 +00:00
Brad Hards
07f89e03ba
Add a new unit test for the RFC3546 SNI extension.
...
Also enable the base64 unit test, which was previously
commented out pending the completion of the CMake port
svn path=/trunk/kdesupport/qca/; revision=594798
2006-10-12 11:00:44 +00:00
Brad Hards
622ff3f954
Typo fixes.
...
svn path=/trunk/kdesupport/qca/; revision=594797
2006-10-12 10:58:16 +00:00
Brad Hards
f4528b2451
Merge the declarations into the .cpp, and update the
...
qmake buildsystem to match.
Add CMake support.
svn path=/trunk/kdesupport/qca/; revision=594738
2006-10-12 05:53:37 +00:00
Brad Hards
ca11f8dab1
Merge the declarations into the .cpp, and update the
...
qmake buildsystem to match.
Add CMake support.
svn path=/trunk/kdesupport/qca/; revision=594737
2006-10-12 05:52:07 +00:00
Brad Hards
a57b8f186d
Merge the declarations into the .cpp file, and update the
...
qmake build system to match.
Add CMake support.
svn path=/trunk/kdesupport/qca/; revision=594736
2006-10-12 05:45:32 +00:00
Brad Hards
f820a1a4ac
Merge declarations into .cpp, and update qmake
...
build system to match.
Add CMake support.
svn path=/trunk/kdesupport/qca/; revision=594734
2006-10-12 05:40:09 +00:00
Brad Hards
c3255d986b
Merge declarations into .cpp, and update qmake build
...
system to match.
Add CMake support.
svn path=/trunk/kdesupport/qca/; revision=594730
2006-10-12 05:28:20 +00:00
Brad Hards
9c95aee5bf
Merge declarations into .cpp, and update the qmake
...
file to match.
Add in CMake support.
svn path=/trunk/kdesupport/qca/; revision=594729
2006-10-12 05:24:39 +00:00
Brad Hards
7ce4671489
Merge declarations into the .cpp, and update
...
qmake buildsystem to match.
Add CMake buildsystem support.
svn path=/trunk/kdesupport/qca/; revision=594727
2006-10-12 05:10:06 +00:00
Brad Hards
12e527e5ec
Add forgotten file.
...
svn path=/trunk/kdesupport/qca/; revision=594726
2006-10-12 05:08:51 +00:00
Brad Hards
898a2df707
Merge the declaration into the .cpp, and update the
...
qmake build file to match.
Add in CMake support.
svn path=/trunk/kdesupport/qca/; revision=594725
2006-10-12 05:08:02 +00:00
Brad Hards
65f3bc30b0
Merge the declaration into the .cpp, and update
...
qmake buildsystem to match.
Add CMake support.
svn path=/trunk/kdesupport/qca/; revision=594724
2006-10-12 04:49:14 +00:00
Brad Hards
2ec5c1e2b5
Merge the .h into the .cpp, and update the qmake
...
buildsystem to match.
Add in CMake support.
svn path=/trunk/kdesupport/qca/; revision=594723
2006-10-12 04:46:06 +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
96be553cdd
Add this for a future test.
...
svn path=/trunk/kdesupport/qca/; revision=594719
2006-10-12 04:20:15 +00:00
Brad Hards
e75cf4ef3a
Convert the key derivation function test to use the
...
same file for declaration and definitions, and ajust
the build system to match.
Also add CMake support.
svn path=/trunk/kdesupport/qca/; revision=594717
2006-10-12 03:17:19 +00:00
Brad Hards
70324484a2
Add CMake support.
...
svn path=/trunk/kdesupport/qca/; revision=594716
2006-10-12 03:15:51 +00:00