108 Commits

Author SHA1 Message Date
Mark Nalimov
797b430540 Minor docs fix 2021-05-24 11:01:43 +03:00
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
Alexander Volkov
f57d661416 Introduce HKDF
Summary:
It's needed for implementation of Secret Service:
https://specifications.freedesktop.org/secret-service/ch07s03.html

Reviewers: iromanov, sitter, #frameworks, dfaure

Reviewed By: dfaure

Subscribers: dfaure

Differential Revision: https://phabricator.kde.org/D15510
2018-10-15 14:30:05 +03:00
Ivan Romanov
57878ff44f Add support for AES GCM and AES CCM modes
Only qca-openssl now can use GCM and CCM. CCM is not tested and
planed for future.
2016-09-19 10:48:11 +05:00
Teo Mrnjavac
2c69c724d5 Wrap string literals in QStringLiteral in headers 2014-02-10 18:32:34 +01:00
Adnan RIHAN
9e0ddb716d Overloaded "makeKey" to derive a password depending on a time factor
Overloaded "makeKey" in QCA::KeyDerivationFunction + botan/gcrypt/ossl plugins
to allow deriving a master password depending on a time factor in addition to
only giving an arbitrary iteration count.
Deriving with a time delays exhaustive research on master passwords by
increasing the time needed to try each password (the derivation time)
Added corresponding unittests.

REVIEW: 114503
2014-01-06 18:38:21 +01:00
Justin Karneges
c7f5815b98 fix license header wrapping
svn path=/trunk/kdesupport/qca/; revision=808523
2008-05-16 20:41:50 +00:00
Justin Karneges
5a21fd531c add missing parameter docs
svn path=/trunk/kdesupport/qca/; revision=708100
2007-09-03 20:44:32 +00:00
Brad Hards
2516322eea More API docs.
CCMAIL: justin@affinix.com

svn path=/trunk/kdesupport/qca/; revision=708083
2007-09-03 19:51:18 +00:00
Brad Hards
d0f109e61e More API docs fixes.
svn path=/trunk/kdesupport/qca/; revision=708047
2007-09-03 18:11:36 +00:00
Brad Hards
9f9156e4a6 API documentation fixes.
svn path=/trunk/kdesupport/qca/; revision=707939
2007-09-03 12:04:55 +00:00
Justin Karneges
97c6bbdd29 supported types for cipher and mac, also allow choosing a provider
svn path=/trunk/kdesupport/qca/; revision=705842
2007-08-28 18:03:36 +00:00
Justin Karneges
5e602dcd97 Hash::supportedTypes and InfoContext
svn path=/trunk/kdesupport/qca/; revision=705821
2007-08-28 17:11:40 +00:00
Justin Karneges
f905028190 whitespace adjustments
svn path=/trunk/kdesupport/qca/; revision=705483
2007-08-28 01:36:27 +00:00
Brad Hards
f102a2b382 Update doxygen config file, and add possibility to disable
provider API generation.


svn path=/trunk/kdesupport/qca/; revision=696279
2007-08-04 12:00:23 +00:00
Brad Hards
5f30c4801c Update to documentation for provider API.
svn path=/trunk/kdesupport/qca/; revision=696275
2007-08-04 11:43:17 +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
Justin Karneges
8dd6d9e5ff finish provider docs
svn path=/trunk/kdesupport/qca/; revision=695732
2007-08-02 20:18:17 +00:00
Justin Karneges
bc5e3d1a7e more docs, make waitFor functions return bool
svn path=/trunk/kdesupport/qca/; revision=695468
2007-08-02 07:52:53 +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
f33749facb a few more docs
svn path=/trunk/kdesupport/qca/; revision=693448
2007-07-28 00:15:18 +00:00
Justin Karneges
0f9cbdfa74 notes to point application developers away from the provider contexts
svn path=/trunk/kdesupport/qca/; revision=693442
2007-07-28 00:04:02 +00:00
Justin Karneges
1415eef115 more provider interface documentation
svn path=/trunk/kdesupport/qca/; revision=693434
2007-07-27 23:17:01 +00:00
Justin Karneges
b4a1c19465 more provider interface docs
svn path=/trunk/kdesupport/qca/; revision=693093
2007-07-27 02:28:52 +00:00
Justin Karneges
c37c319748 diagnosticText not supposed to be pure virtual
svn path=/trunk/kdesupport/qca/; revision=690322
2007-07-20 17:51:10 +00:00
Justin Karneges
f898722b88 initial provider interface documentation
svn path=/trunk/kdesupport/qca/; revision=690071
2007-07-20 01:05:05 +00:00
Justin Karneges
6708107e0a DOR-SR support in securemessage, diagnosticText in securemessage, cleanup
svn path=/trunk/kdesupport/qca/; revision=690066
2007-07-20 00:26:04 +00:00
Justin Karneges
facac9f2f0 tls session resuming, firstStepDone changed to certificateRequested
svn path=/trunk/kdesupport/qca/; revision=684510
2007-07-06 18:57:03 +00:00
Justin Karneges
e4c50c2aa2 flag for when server requests a certificate
svn path=/trunk/kdesupport/qca/; revision=684491
2007-07-06 18:03:29 +00:00
Justin Karneges
ea6d9e5dab completion result, validateflags
svn path=/trunk/kdesupport/qca/; revision=681370
2007-06-28 18:53:41 +00:00
Justin Karneges
3ee8350826 securemessage bytesWritten
svn path=/trunk/kdesupport/qca/; revision=680322
2007-06-25 22:02:34 +00:00
Justin Karneges
61528f9968 SNI for server mode
svn path=/trunk/kdesupport/qca/; revision=680254
2007-06-25 19:08:05 +00:00
Justin Karneges
ba3aea15a6 issuerLocations, ocspLocations
svn path=/trunk/kdesupport/qca/; revision=679855
2007-06-25 05:25:11 +00:00
Justin Karneges
a1100408bf complete keystore, add isAvailable to provider api
svn path=/trunk/kdesupport/qca/; revision=677379
2007-06-19 02:36:21 +00:00
Justin Karneges
bf27824a9a use MemoryRegion instead of SecureArray, for hash, mac, and pkey sign/verify
svn path=/trunk/kdesupport/qca/; revision=677315
2007-06-18 21:31:14 +00:00
Justin Karneges
46d519ae31 remove unnecessary secure memory usage in pgp api
svn path=/trunk/kdesupport/qca/; revision=674773
2007-06-13 00:34:06 +00:00
Justin Karneges
2db0ae1fcb remove unnecessary secure array usage in pkey api
svn path=/trunk/kdesupport/qca/; revision=674761
2007-06-12 23:49:25 +00:00
Justin Karneges
ab782c5ff4 remove unnecessary secure array usage from cert api
svn path=/trunk/kdesupport/qca/; revision=674313
2007-06-12 02:30:58 +00:00
Justin Karneges
19c92df402 sasl params changes
svn path=/trunk/kdesupport/qca/; revision=674194
2007-06-11 23:18:19 +00:00
Justin Karneges
ca8417b3ce mechlist should be stringlist
svn path=/trunk/kdesupport/qca/; revision=673070
2007-06-08 22:08:57 +00:00
Justin Karneges
22bda16af0 push x509 object comparisons into the provider
svn path=/trunk/kdesupport/qca/; revision=673069
2007-06-08 21:57:32 +00:00
Brad Hards
231f7f8eb8 Switch Cipher::blockSize to return int, rather than unsigned int.
I think unsigned int was a bit more descriptive, but certainly
is non-standard.

svn path=/trunk/kdesupport/qca/; revision=670664
2007-06-02 11:22:26 +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
ee2f3096d1 crl locations embedded in certs
svn path=/trunk/kdesupport/qca/; revision=658041
2007-04-25 19:39:34 +00:00
Justin Karneges
0bc811dbf2 we don't use these anymore
svn path=/trunk/kdesupport/qca/; revision=655199
2007-04-17 22:33:36 +00:00
Brad Hards
114fcaf1f5 krazy cleanups
svn path=/trunk/kdesupport/qca/; revision=654947
2007-04-17 12:09:20 +00:00
Justin Karneges
924d5a685f QSecureArray/QBigInteger -> QCA::SecureArray/QCA::BigInteger
svn path=/trunk/kdesupport/qca/; revision=653598
2007-04-13 19:04:16 +00:00
Justin Karneges
e38dd5370d keystore api update
svn path=/trunk/kdesupport/qca/; revision=653377
2007-04-13 06:32:02 +00:00
Justin Karneges
39cd886afb QCAPlugin is now not a QObject, but subclasses are
svn path=/trunk/kdesupport/qca/; revision=653255
2007-04-13 00:42:19 +00:00