12 Commits

Author SHA1 Message Date
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
Justin Karneges
499388751c set a good example, by making sure QCA::Initializer is always before
qapp

svn path=/trunk/kdesupport/qca/; revision=958799
2009-04-24 17:59:20 +00:00
Justin Karneges
841a205069 remove unnecessary secure array usage in arrayToHex
svn path=/trunk/kdesupport/qca/; revision=674778
2007-06-13 02:30:43 +00:00
Brad Hards
45b7cb1989 Minor cleanups, mostly from Krazy warnings.
svn path=/trunk/kdesupport/qca/; revision=654941
2007-04-17 12:01:26 +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
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
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
3eca248df3 Add a new example, showing how to do a provider
from client side code.

Also a few tweaks to the examples to help with 
Qt4.1 changes.

svn path=/trunk/kdesupport/qca/; revision=503081
2006-01-28 06:54:42 +00:00
Brad Hards
65bf1518a4 Update the MAC example to suit the new approach, with Qt4.
svn path=/trunk/kdesupport/qca/; revision=393970
2005-03-01 02:07:22 +00:00
Brad Hards
0e65cce5c2 Update to use the correct include path.
svn path=/trunk/kdesupport/qca/; revision=374576
2005-01-01 05:34:22 +00:00
Brad Hards
c826b66f8d Change examples (well, those that run with QCA2) to handle the new
include approach, and to work with the standard build locations, rather
that requiring installation first.

svn path=/trunk/kdesupport/qca/; revision=374571
2005-01-01 03:46:21 +00:00
Brad Hards
789799583a Big examples update. New examples for showing HMAC, and changes to
show the two ways to do a basic hash. Also, an example of some of the
options for working with providers. More comments to explain everything.

This also adds copyright notices for everything, and notes on the
pre-QCA2 examples.

svn path=/trunk/kdesupport/qca/; revision=374181
2004-12-30 09:32:01 +00:00