49 Commits

Author SHA1 Message Date
Albert Astals Cid
f62a8ee8f7 Run clang-format
find . \( -name "*.cpp" -or -name "*.h"  -or -name "*.c"  -or -name "*.cc" \) -exec clang-format -i {} \;

If you reached this file doing a git blame, please see README.clang-format (added 2 commits in the future of this one)
2020-09-07 02:13:47 +02:00
Albert Astals Cid
d26d7a7959 Add more override
And fix okular -> qca copy&paste typo ^_^
2020-02-09 01:21:32 +01:00
Laurent Montel
acb45eeb84 Use nullptr 2020-01-20 13:37:51 +01:00
Florian Fieber
2559f1779a Fix operating on keys with unrelated expired subkeys
Ignore KEYEXPIRED which will be thrown for any expired subkey regardless
of being related to the current operation. Instead, use EXPKEYSIG,
REVKEYSIG, EXPSIG and INV_RECP accordingly.

Add new errors QCA::SecureMessage::{ErrorSignerRevoked,
                                    ErrorSignatureExpired,
                                    ErrorEncryptRevoked}.

Due to GnuPG bug #1650 <https://bugs.g10code.com/gnupg/issue1650>
encrypting to an expired or revoked key will omit the reason for failing,
resulting in the error code QCA::SecureMessage::ErrorEncryptInvalid.

REVIEW: 118567
2014-09-08 18:14:40 +06:00
Justin Karneges
c7f5815b98 fix license header wrapping
svn path=/trunk/kdesupport/qca/; revision=808523
2008-05-16 20:41:50 +00:00
Brad Hards
9f9156e4a6 API documentation fixes.
svn path=/trunk/kdesupport/qca/; revision=707939
2007-09-03 12:04:55 +00:00
Brad Hards
7db5c7713d More updates for API documentation.
We now use \ingroup rather than \addtogroup to
collect the user API.

Also made sure that we have the right #include
magic for all of the user API.

svn path=/trunk/kdesupport/qca/; revision=696216
2007-08-04 08:09:02 +00:00
Brad Hards
0f89c8bc31 Take 2 at grouping parts of the QCA API.
We now only put classes in the module pages.

svn path=/trunk/kdesupport/qca/; revision=694573
2007-07-31 04:11:42 +00:00
Brad Hards
ec582e26b4 Divide the API documentation into a user module and a
provider module.

Also associate the metatype support functions with the 
SyncThread page, as requested by Justin.

svn path=/trunk/kdesupport/qca/; revision=694526
2007-07-30 23:40:24 +00:00
Justin Karneges
4ad52e4ebb convenience methods to set certs from keybundle
svn path=/trunk/kdesupport/qca/; revision=684113
2007-07-06 07:16:11 +00:00
Justin Karneges
3ee8350826 securemessage bytesWritten
svn path=/trunk/kdesupport/qca/; revision=680322
2007-06-25 22:02:34 +00:00
Justin Karneges
9003c933ef notes about synchronous event handling
svn path=/trunk/kdesupport/qca/; revision=673089
2007-06-08 23:34:31 +00:00
Justin Karneges
385fac08e3 getters
svn path=/trunk/kdesupport/qca/; revision=672757
2007-06-08 03:47:24 +00:00
Justin Karneges
835c4e30ff formatting
svn path=/trunk/kdesupport/qca/; revision=671107
2007-06-03 19:50:19 +00:00
Justin Karneges
dd17361f15 dptr
svn path=/trunk/kdesupport/qca/; revision=671080
2007-06-03 18:24:55 +00:00
Justin Karneges
35e5d4d4ba Q_DISABLE_COPY
svn path=/trunk/kdesupport/qca/; revision=669727
2007-05-30 07:02:34 +00:00
Justin Karneges
a7cd5e041a ability to set untrusted certs for CMS verification
svn path=/trunk/kdesupport/qca/; revision=664841
2007-05-14 23:16:31 +00:00
Justin Karneges
97d1a15017 explicit constructors
svn path=/trunk/kdesupport/qca/; revision=655600
2007-04-18 21:02:46 +00:00
Brad Hards
3ba47fa6c4 EBN fixes for signal: -> Q_SIGNALS, slots: -> Q_SLOTS
svn path=/trunk/kdesupport/qca/; revision=649891
2007-04-03 11:03:38 +00:00
Justin Karneges
3a3fa3c3af minor changes: default args and renamed enum items
svn path=/trunk/kdesupport/qca/; revision=647654
2007-03-29 03:12:41 +00:00
Brad Hards
57c0a105b2 Update FSF address.
svn path=/trunk/kdesupport/qca/; revision=618708
2007-01-02 05:10:11 +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
51f4bca98f add some more docs
svn path=/trunk/kdesupport/qca/; revision=527137
2006-04-07 00:09:50 +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
Brad Hards
db07f8150e More api documentation.
svn path=/trunk/kdesupport/qca/; revision=525516
2006-04-02 11:13:14 +00:00
Brad Hards
e9cca1e405 Some initial API documentation work on the SecureMessage
classes. This adds a lot of errors, but at least the classes
now appear in the documentation.

svn path=/trunk/kdesupport/qca/; revision=522584
2006-03-26 06:15:12 +00:00
Brad Hards
6ff80e4f25 More API documentation. The main change in this lot is to
ensure that every header file is documented. That avoids 
ugly results in the "files" tab in the HTML, and also
identifies some undocumented functions - also fixed.

svn path=/trunk/kdesupport/qca/; revision=522574
2006-03-26 03:27:54 +00:00
Brad Hards
82094ffb79 API documentation work. The main focus is making sure
that everything says #include <QtCrypto>, not
#include <qca_foo.h>


svn path=/trunk/kdesupport/qca/; revision=522368
2006-03-25 10:44:30 +00:00
Justin Karneges
acabfd9986 more error possibilities
svn path=/trunk/kdesupport/qca/; revision=440366
2005-07-30 09:11:59 +00:00
Justin Karneges
9f47013898 update cms api
svn path=/trunk/kdesupport/qca/; revision=428929
2005-06-25 20:25:52 +00:00
Justin Karneges
9b918f5de9 add more QCA_EXPORT
svn path=/trunk/kdesupport/qca/; revision=428729
2005-06-25 02:48:53 +00:00
Justin Karneges
13b370fe91 convert some non-essential QSecureArrays to QByteArray
svn path=/trunk/kdesupport/qca/; revision=428712
2005-06-24 23:41:25 +00:00
Brad Hards
367d4b432b Misc API documentation update
svn path=/trunk/kdesupport/qca/; revision=421527
2005-06-03 10:26:52 +00:00
Brad Hards
16287e0775 Another bunch of API doco updates
svn path=/trunk/kdesupport/qca/; revision=416305
2005-05-21 05:13:31 +00:00
Justin Karneges
2798f600c0 rename SMIME to CMS, fix up the API a little
svn path=/trunk/kdesupport/qca/; revision=411807
2005-05-10 07:04:41 +00:00
Justin Karneges
43c1246846 secure message api ready
svn path=/trunk/kdesupport/qca/; revision=410221
2005-05-07 02:00:45 +00:00
Justin Karneges
ab9e0fd6d3 qt4 moc doesn't need the "public" Private workaround
svn path=/trunk/kdesupport/qca/; revision=409943
2005-05-06 07:21:42 +00:00
Justin Karneges
504373adfc implementing securemessage
svn path=/trunk/kdesupport/qca/; revision=409940
2005-05-06 07:13:23 +00:00
Justin Karneges
4b93c84577 move passphrase/pin handling into keystore, update securemessage
svn path=/trunk/kdesupport/qca/; revision=402674
2005-04-02 17:37:52 +00:00
Justin Karneges
ab508f9893 keystore API for accessing system stores, smart cards, and pgp
svn path=/trunk/kdesupport/qca/; revision=401186
2005-03-28 07:11:58 +00:00
Justin Karneges
7dc68f5e61 port to Qt 4
svn path=/trunk/kdesupport/qca/; revision=393410
2005-02-27 01:12:26 +00:00
Justin Karneges
4910fd75ec reorganize the enum / helper class names, add multi signer verify for securemessage
svn path=/trunk/kdesupport/qca/; revision=392944
2005-02-25 06:51:06 +00:00
Justin Karneges
d9b6d05e27 cert and securemessage now done
svn path=/trunk/kdesupport/qca/; revision=392758
2005-02-24 08:39:08 +00:00
Justin Karneges
ca4a3a543d added PBE, moved some enums and C secmem out of qca_core
svn path=/trunk/kdesupport/qca/; revision=382285
2005-01-25 13:01:45 +00:00
Brad Hards
d5df8abd14 More API documentation
svn path=/trunk/kdesupport/qca/; revision=378645
2005-01-15 06:06:04 +00:00
Justin Karneges
128ea69121 cert creation, pkcs12, passphrases should use secure array
svn path=/trunk/kdesupport/qca/; revision=378347
2005-01-14 06:36:12 +00:00
Justin Karneges
94016e2c38 switch to incremental operations
svn path=/trunk/kdesupport/qca/; revision=376655
2005-01-08 23:38:02 +00:00
Justin Karneges
8809df951e api for pgp/smime
svn path=/trunk/kdesupport/qca/; revision=376035
2005-01-07 08:53:39 +00:00
Justin Karneges
371b20b54c initial files for securemessage (pgp, smime)
svn path=/trunk/kdesupport/qca/; revision=375965
2005-01-06 22:46:08 +00:00