962 Commits

Author SHA1 Message Date
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
Justin Karneges
3abc066bbc no more qconf cvs needed. 1.3 release is enough
svn path=/trunk/kdesupport/qca/; revision=604187
2006-11-11 22:20:54 +00:00
Brad Hards
11c52bf109 This implements the OpenSSL provider support for
Extended Validation certificates. 

The plan for KDE is that QCA will provide access
to the issuer name and certificate policies 
(which is already possible), plus access to the
special information fields. KDE will then decide
whether the certficate is really EV (based on
whether Konqi thinks the issuer is trustworthy
and the policy (which is issuer specific) denotes
EV.

svn path=/trunk/kdesupport/qca/; revision=601157
2006-11-02 10:18:17 +00:00
Brad Hards
8e1bfd5cff Add initial support for special fields that are
found in Extended Validation certificates.

The spec for this can be seen at 
http://www.cabforum.org/EV_Certificate_Guidelines_-_Draft_10-2...pdf, Section 6 provides the information on the certificate
contents.

Note that this is based on an draft of the "guidelines",
and there could be some changes (although it is pretty
unlikely - this part of the spec has been pretty stable
for a while).

svn path=/trunk/kdesupport/qca/; revision=601153
2006-11-02 10:09:48 +00:00
Justin Karneges
cea70d6595 fix for qt4.2 qmake, added --certstore-internal
svn path=/trunk/kdesupport/qca/; revision=599663
2006-10-28 03:27:35 +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
1a2c8cffd2 Minor API updates.
svn path=/trunk/kdesupport/qca/; revision=597974
2006-10-22 08:03:49 +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
Laurent Montel
1d066fc362 Just be sure that it will create into binary directory
svn path=/trunk/kdesupport/qca/; revision=597474
2006-10-20 13:16:41 +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
cbf6faaab1 API dox improvements for the QCA::KeyBundle class.
svn path=/trunk/kdesupport/qca/; revision=597060
2006-10-19 10:33:48 +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
3bdb997d6e Initial Cipher support for the NSS provider.
svn path=/trunk/kdesupport/qca/; revision=597052
2006-10-19 10:03:53 +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
46f5674dad A few small updates:
1. this provider now uses the "pkcs12" label instead of "pix",
to match a change I just committed into the main part of QCA.
2. Fix a crash that occurs when trying to output a KeyBundle
in PKCS12 format.
3. Implement support for "friendly name" when loading PKCS12
(.p12) format files.

svn path=/trunk/kdesupport/qca/; revision=597047
2006-10-19 09:48:23 +00:00
Brad Hards
9681bfc51c Switch the "pix" name to be "pkcs12", which is a bit
easier to remember.

svn path=/trunk/kdesupport/qca/; revision=597045
2006-10-19 09:45:52 +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
6a6df3585e The development versions (SVN trunk) of libgcrypt
now has OFB support. This won't be released until 1.3.0.

Also, the fixes for SHA2 (i.e. SHA384/SHA512) didn't make
it into libgcrypt-1.2.3 for reasons that I don't understand,
but in any case, we need to manage that here.

svn path=/trunk/kdesupport/qca/; revision=595614
2006-10-15 06:01:28 +00:00
Brad Hards
349379f3ce Add HMAC support for the NSS provider.
svn path=/trunk/kdesupport/qca/; revision=595598
2006-10-15 02:06:01 +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
c622a5f43a Fix a couple more typos.
svn path=/trunk/kdesupport/qca/; revision=595157
2006-10-13 12:19:06 +00:00
Brad Hards
341b543c88 Add in a couple of examples that weren't properly linked
into the documentation.

Also fix a typo.

svn path=/trunk/kdesupport/qca/; revision=595156
2006-10-13 12:18:00 +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
ade65e2453 An initial set of API documentation for Event.
svn path=/trunk/kdesupport/qca/; revision=595108
2006-10-13 11:29:30 +00:00
Brad Hards
e0f7f6af09 Remove duplicate entry.
svn path=/trunk/kdesupport/qca/; revision=595029
2006-10-13 07:23:57 +00:00
Brad Hards
74dc6ef1db Typo fix.
svn path=/trunk/kdesupport/qca/; revision=594807
2006-10-12 11:36:20 +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
a6c4264ea0 Implement the backend part of the Server Name Identification
(RFC3546).

Note that this will only work if your underlying OpenSSL implementation
also supports it, which is true for the 0.9.9 development (essentially
CVS HEAD for OpenSSL), but not for 0.9.8 or earlier.

This version should build with either 0.9.9 or 0.9.8, and should also
be OK with at least 0.9.7.

Also has some gratuitous whitespace changes courtesy of my new
xemacs configuration.

CCBUG: 122433

svn path=/trunk/kdesupport/qca/; revision=594801
2006-10-12 11:14:09 +00:00
Brad Hards
d17af052b0 Implement the framework for RFC3546 Server Name Indication.
This allows a virtual host to support a range of HTTPS connections.

CCBUG: 122433

svn path=/trunk/kdesupport/qca/; revision=594800
2006-10-12 11:09:47 +00:00
Brad Hards
43fb323d72 Enable the ssl client side example. Not sure why this
wasn't included previously.

svn path=/trunk/kdesupport/qca/; revision=594799
2006-10-12 11:01:57 +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
Brad Hards
614e217e4f Convert the hash unit test to the new format, where
the .h is incorporated into the .cpp, and adjust the 
qmake file to match.

Also add in CMake support.

svn path=/trunk/kdesupport/qca/; revision=594715
2006-10-12 03:14:47 +00:00
Brad Hards
12c50e54ca Convert to the new-style unittest, and adjust
qmake file accordingly.

Also add CMake support.

svn path=/trunk/kdesupport/qca/; revision=594711
2006-10-12 03:02:23 +00:00
Brad Hards
3b3e413665 Merge .h into .cpp, so .h gets deleted.
Fix .pro to match
Add CMake support.

svn path=/trunk/kdesupport/qca/; revision=594705
2006-10-12 02:15:15 +00:00