194 Commits

Author SHA1 Message Date
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
57c0a105b2 Update FSF address.
svn path=/trunk/kdesupport/qca/; revision=618708
2007-01-02 05:10:11 +00:00
Brad Hards
2f7e0e5dab Spelling fixes, as identified by Krazy tool.
svn path=/trunk/kdesupport/qca/; revision=618413
2007-01-01 09:01:23 +00:00
Brad Hards
fe1e4a2678 Trivial comment edit.
svn path=/trunk/kdesupport/qca/; revision=614863
2006-12-19 08:30:57 +00:00
Brad Hards
c1994c86eb Remove an accidentally committed method declaration,
which caused breakage.

Thanks to David Faure for reporting this.

svn path=/trunk/kdesupport/qca/; revision=614843
2006-12-19 06:34:33 +00:00
David Faure
2f98906618 Fix compilation for now
svn path=/trunk/kdesupport/qca/; revision=614665
2006-12-18 15:53:49 +00:00
Brad Hards
b3322eed2f A few API documentation updates.
svn path=/trunk/kdesupport/qca/; revision=614545
2006-12-18 07:08:16 +00:00
Justin Karneges
77c31f750c remove unnecessary QCA_EXPORT usage
svn path=/trunk/kdesupport/qca/; revision=605537
2006-11-17 05:28:44 +00:00
Brad Hards
a60b281780 Remove the "withAlgorithm" method, which doesn't really
make sense with our new approach to using 
MessageAuthenticationCode directly. 

Also a few random whitepace changes, brought to you by
.xemacs.

svn path=/trunk/kdesupport/qca/; revision=605535
2006-11-17 05:06:47 +00:00
Laurent Montel
3a57d23517 Link qcatool under windows with qmake (for the moment cmake
can't link :( )

svn path=/trunk/kdesupport/qca/; revision=605363
2006-11-16 14:07:43 +00:00
Brad Hards
dc3ccd0110 Add a bit more API documentation, for new methods/classes
introduced for the ordered certificate info.

svn path=/trunk/kdesupport/qca/; revision=605323
2006-11-16 11:00:20 +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
92b8320625 provider config api
svn path=/trunk/kdesupport/qca/; revision=605056
2006-11-15 07:05:50 +00:00
Justin Karneges
28331808c2 preserve info order
svn path=/trunk/kdesupport/qca/; revision=605044
2006-11-15 05:21:41 +00:00
Justin Karneges
6bcb0fa503 add some more errors to the enums
svn path=/trunk/kdesupport/qca/; revision=605015
2006-11-15 00:14:30 +00:00
Justin Karneges
f7933603e2 move the console password prompter out of qcatool and into qca
svn path=/trunk/kdesupport/qca/; revision=604538
2006-11-13 07:10:37 +00:00
Justin Karneges
12c1b9bcdf fix signal args
svn path=/trunk/kdesupport/qca/; revision=604529
2006-11-13 06:08:30 +00:00
Justin Karneges
3f52cfa037 make SyncThread public
svn path=/trunk/kdesupport/qca/; revision=604527
2006-11-13 05:59:14 +00:00
Justin Karneges
355c7c215e non-const some sasl functions, non-pure some pkeycontext functions
svn path=/trunk/kdesupport/qca/; revision=604501
2006-11-13 01:44:41 +00:00
Justin Karneges
ee676bd6f1 all provider contexts are qobjects now!
svn path=/trunk/kdesupport/qca/; revision=604498
2006-11-13 00:47:46 +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
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
Brad Hards
1a2c8cffd2 Minor API updates.
svn path=/trunk/kdesupport/qca/; revision=597974
2006-10-22 08:03:49 +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
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
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
74dc6ef1db Typo fix.
svn path=/trunk/kdesupport/qca/; revision=594807
2006-10-12 11:36:20 +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
11d097e08d Finally commit the big "primitives" API change.
Essentially if you had previously used a subclass
of Cipher, Hash or MAC, then you need to change
your code. The change is pretty simple - you
just pass a string name as the first argument.


svn path=/trunk/kdesupport/qca/; revision=576204
2006-08-23 12:38:39 +00:00
Brad Hards
255ed272ec Not sure what I was thinking when I added the "enum" -
perhaps trying to work around some doxygen limitation.

svn path=/trunk/kdesupport/qca/; revision=554423
2006-06-24 06:08:56 +00:00
Brad Hards
ddc49c5291 Ensure that we can match on subject altnames, as well as the CN.
Also update the documentation to indicate the behaviour.

There might be a case for adding a bool argument to matchesHostname()
so that you can test if it matches just the CN, or either CN or
altname. 

This function should probably also test IP address (and perhaps also
XMPP) altnames, but I'd like to think about that a bit more first, and
trial it with a real certificate.

CCMAIL: justin@affinix.com
CCBUG: 107604


svn path=/trunk/kdesupport/qca/; revision=540564
2006-05-14 00:55:35 +00:00
Brad Hards
686d7eef1f Update the documentation for subjectInfo() to show
how you might use it.

I think that is the last part of Bug:107604

BUG: 107604

svn path=/trunk/kdesupport/qca/; revision=540418
2006-05-13 12:04:10 +00:00
Justin Karneges
51f4bca98f add some more docs
svn path=/trunk/kdesupport/qca/; revision=527137
2006-04-07 00:09:50 +00:00
Justin Karneges
5f85093df1 no more direct password support for keystore needed
svn path=/trunk/kdesupport/qca/; revision=527109
2006-04-06 21:44:41 +00:00
Justin Karneges
6a0884f267 new event system
svn path=/trunk/kdesupport/qca/; revision=527107
2006-04-06 21:43:31 +00:00
Brad Hards
cae18ab474 trivial documentation nit.
svn path=/trunk/kdesupport/qca/; revision=526288
2006-04-04 10:58:22 +00:00
Brad Hards
0d3a51fd00 Fix up apidox errors, identified by Justin.
svn path=/trunk/kdesupport/qca/; revision=525897
2006-04-03 07:51:48 +00:00
Justin Karneges
1e8de156d9 better console closed handling
svn path=/trunk/kdesupport/qca/; revision=525889
2006-04-03 07:24:57 +00:00
Justin Karneges
96c57e364f remove Certificate::signature() and CertificateRequest::signature(), they are useless to applications
svn path=/trunk/kdesupport/qca/; revision=525818
2006-04-02 23:02:41 +00:00
Brad Hards
db07f8150e More api documentation.
svn path=/trunk/kdesupport/qca/; revision=525516
2006-04-02 11:13:14 +00:00
Justin Karneges
b412e36aaa console support
svn path=/trunk/kdesupport/qca/; revision=525455
2006-04-02 05:19:13 +00:00
Justin Karneges
b612a84b44 include qpipe.h among the rest
svn path=/trunk/kdesupport/qca/; revision=525454
2006-04-02 05:17:41 +00:00
Justin Karneges
cc3dacec84 support changing security mode on-the-fly. more functions: release, finalizeAndRelease, takeBytesToWrite
svn path=/trunk/kdesupport/qca/; revision=525453
2006-04-02 05:16:31 +00:00
Justin Karneges
ab489a9081 declare metatypes
svn path=/trunk/kdesupport/qca/; revision=525451
2006-04-02 05:06:05 +00:00
Justin Karneges
2c9fe4432c remove const for encrypt,decrypt,deriveKey
svn path=/trunk/kdesupport/qca/; revision=524786
2006-03-31 09:13:50 +00:00
Justin Karneges
9f9f56d3fa make it possible to specify a max size to read
svn path=/trunk/kdesupport/qca/; revision=524756
2006-03-31 07:26:11 +00:00
Justin Karneges
e5fb40653c remove some consts and change startup for KeyStoreListContext, ensureAccess for entries
svn path=/trunk/kdesupport/qca/; revision=524306
2006-03-30 09:11:00 +00:00
Justin Karneges
3ebe050f64 give crls arg during validation a default
svn path=/trunk/kdesupport/qca/; revision=524284
2006-03-30 08:13:37 +00:00
Justin Karneges
6f0af30961 update to reflect cert chain stuff
svn path=/trunk/kdesupport/qca/; revision=524265
2006-03-30 07:25:14 +00:00
Justin Karneges
557bef82cf support for cert chain completion and validation
svn path=/trunk/kdesupport/qca/; revision=524248
2006-03-30 06:04:14 +00:00