16 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
Ivan Romanov
9462469bb5 dropped bat, qconf and qmake rules
Now cmake rules fully works.
2013-08-26 00:55:17 +06:00
Ivan Romanov
13d0dc5e6d added cmake variable QCA_LIB_SUFFIX
QCA_LIB_SUFFIX intended to replace workaround
3 major version. For building for Qt5 can be used
-DQCA_LIB_SUFFIX=qt5 for example. Result will be
named libqca2-qt5.so.2.0.3 library for Linux.
Also this suffix will be applied for qca2 pkg config file,
qcatool2 binary and qcatool2 manpage.

I hope that is a good way to resolve the building conflict
against qt4 and qt5.
2013-08-26 00:55:01 +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
Justin Karneges
5c6439a6c1 by default, all unittests/examples are console without a mac.app bundle
svn path=/trunk/kdesupport/qca/; revision=656265
2007-04-20 20:08:47 +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
Laurent Montel
48157e0d49 Merge my patch and duncan patch
CCMAIL: duncan@kde.org

Now we can compile qca with cmake
Need to fix plugins compile and unitest and other small error.

svn path=/trunk/kdesupport/qca/; revision=591302
2006-10-02 09:59:51 +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