56 Commits

Author SHA1 Message Date
Brad Hards
e46a40482c Fix the supportedCipherSuites() implemention to return the RFC names.
Justin: is this what you wanted for these?

Also fix possible memory leak.

CCMAIL: justin@affinix.com


svn path=/trunk/kdesupport/qca/; revision=519877
2006-03-18 05:11:43 +00:00
Brad Hards
2b8141cb98 Implement supportedCipherSuites(). This may require change to take
a QCA::TLS::Version argument because the ciphers that are available
vary according to the protocol. In particular, OpenSSL has a much
reduced cipher suite for SSLv2.

CCMAIL: justin@affinix.com

svn path=/trunk/kdesupport/qca/; revision=518438
2006-03-14 04:21:52 +00:00
Brad Hards
0ddedc688e Implement signature / signature algorithm support
for CSR.

svn path=/trunk/kdesupport/qca/; revision=513684
2006-02-26 04:16:12 +00:00
Justin Karneges
a948a8f3ba support for a credit string
svn path=/trunk/kdesupport/qca/; revision=513334
2006-02-25 02:43:31 +00:00
Justin Karneges
b240cd4b3d only parent the thread object if non-blocking
svn path=/trunk/kdesupport/qca/; revision=513331
2006-02-25 02:00:56 +00:00
Justin Karneges
7722e56837 use q_interface for plugins, add diagnostic text
svn path=/trunk/kdesupport/qca/; revision=513017
2006-02-24 08:08:43 +00:00
Brad Hards
ba83d95a42 Implement CRL support.
svn path=/trunk/kdesupport/qca/; revision=512212
2006-02-22 07:01:29 +00:00
Brad Hards
160443e6ff Update to add SHA2 (SHA224, SHA256, SHA384, SHA512) support.
svn path=/trunk/kdesupport/qca/; revision=510465
2006-02-17 11:32:32 +00:00
Brad Hards
31c3358bd4 Add certificate signature support
svn path=/trunk/kdesupport/qca/; revision=505141
2006-02-03 09:22:55 +00:00
Brad Hards
814090cd11 Avoid crashing if the extension is present, but the
key id isn't.

svn path=/trunk/kdesupport/qca/; revision=504491
2006-02-01 10:59:45 +00:00
Brad Hards
a674944d3d Add a bit more of the CertContext, and re-enable
the issuer code, in preparation for fixing the crash.

svn path=/trunk/kdesupport/qca/; revision=504481
2006-02-01 10:09:29 +00:00
Brad Hards
c6f2916f3e Fix a couple of memory leaks, and a couple of errors in
the symmetric cipher handling. Now passes all unit tests.

svn path=/trunk/kdesupport/qca/; revision=498255
2006-01-15 05:41:02 +00:00
Brad Hards
89c12f590c Fix bits()
svn path=/trunk/kdesupport/qca/; revision=459496
2005-09-11 06:37:26 +00:00
Justin Karneges
cb0311b6f0 update tls provider, update build system
svn path=/trunk/kdesupport/qca/; revision=441828
2005-08-01 03:41:38 +00:00
Justin Karneges
3723dd3469 upgrade tls, public key object parenting, support for private keys held by other providers
svn path=/trunk/kdesupport/qca/; revision=439546
2005-07-28 12:26:55 +00:00
Justin Karneges
db4024a86c make it work on windows
svn path=/trunk/kdesupport/qca/; revision=432338
2005-07-07 00:54:12 +00:00
Justin Karneges
f824ceec8e smime decrypt and verify, but still very rough
svn path=/trunk/kdesupport/qca/; revision=428930
2005-06-25 20:27:10 +00:00
Justin Karneges
b8a7b3acbb keybundle support
svn path=/trunk/kdesupport/qca/; revision=428735
2005-06-25 04:04:29 +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
d8a26a3215 Implement bitSize for RSA.
svn path=/trunk/kdesupport/qca/; revision=422366
2005-06-05 09:17:53 +00:00
Justin Karneges
7c20f79df3 pixbundle outline
svn path=/trunk/kdesupport/qca/; revision=422356
2005-06-05 08:49:15 +00:00
Justin Karneges
4ea4093794 basic cms sign/encrypt capability, added smime functions to qcatool
svn path=/trunk/kdesupport/qca/; revision=412156
2005-05-10 21:10:35 +00:00
Brad Hards
8d7b21b102 Hmm, turns out that no constraints doesn't mean
no authorised usage, it means any authorised usage.

Maybe no common, but probably very important for
interoperability.

svn path=/trunk/kdesupport/qca/; revision=410238
2005-05-07 07:32:18 +00:00
Brad Hards
62125521f8 Add in support for checking usage when validating keys.
CCMAIL: justin-psi2@affinix.com

svn path=/trunk/kdesupport/qca/; revision=409986
2005-05-06 11:09:29 +00:00
Brad Hards
86710a6f04 Change to the way we check if a certificate is self-signed, to use the
build in OpenSSL test (X509_check_issued).

CCMAIL: justin-psi@affinix.com

svn path=/trunk/kdesupport/qca/; revision=408755
2005-04-30 07:33:22 +00:00
Justin Karneges
7f1146c396 identity result not plugin's job
svn path=/trunk/kdesupport/qca/; revision=407599
2005-04-24 19:15:55 +00:00
Justin Karneges
db68d7059e ssl works now
svn path=/trunk/kdesupport/qca/; revision=407592
2005-04-24 19:09:06 +00:00
Justin Karneges
a76718c1c3 load the trusted store
svn path=/trunk/kdesupport/qca/; revision=407307
2005-04-23 04:40:11 +00:00
Justin Karneges
9e92bb4675 TLS support in qca-openssl
svn path=/trunk/kdesupport/qca/; revision=407124
2005-04-22 12:46:55 +00:00
Brad Hards
4808b30585 Remove some debugging verbage
svn path=/trunk/kdesupport/qca/; revision=406686
2005-04-20 08:43:25 +00:00
Justin Karneges
55997c30ba mac fixes
svn path=/trunk/kdesupport/qca/; revision=405481
2005-04-14 06:51:54 +00:00
Justin Karneges
9ed313b545 default handled in qca lib, not here
svn path=/trunk/kdesupport/qca/; revision=405024
2005-04-12 10:27:12 +00:00
Justin Karneges
beb5736f05 smart provider handling for pkey
svn path=/trunk/kdesupport/qca/; revision=405023
2005-04-12 10:25:35 +00:00
Justin Karneges
80ac2306df handle input of both encrypted and non-encrypted DER private keys
svn path=/trunk/kdesupport/qca/; revision=404478
2005-04-09 22:46:24 +00:00
Justin Karneges
e5af5435ec turn cert info into a multimap
svn path=/trunk/kdesupport/qca/; revision=403256
2005-04-05 08:50:28 +00:00
Justin Karneges
1d64b89332 cert key ids
svn path=/trunk/kdesupport/qca/; revision=403249
2005-04-05 07:57:40 +00:00
Justin Karneges
704de04a07 key bitsize
svn path=/trunk/kdesupport/qca/; revision=402997
2005-04-04 00:34:13 +00:00
Brad Hards
1de05d8ff7 Add in support for PBKDF1 with SHA-1 and MD2.
Also a minor indenting fix.

svn path=/trunk/kdesupport/qca/; revision=402813
2005-04-03 09:31:00 +00:00
Brad Hards
8dcb0db99e Add in CFB, CBC, CBC-PKCS7 and OFB modes for Blowfish.
svn path=/trunk/kdesupport/qca/; revision=402619
2005-04-02 11:50:55 +00:00
Brad Hards
b468afe516 Add in AES OFB modes support (128, 192 and 256 bits)
svn path=/trunk/kdesupport/qca/; revision=401196
2005-03-28 07:58:43 +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
Brad Hards
185dc77ee5 Split init order, to support variable length keys.
Secure Programming Cookbook recipe 5.18.

svn path=/trunk/kdesupport/qca/; revision=400945
2005-03-27 10:39:40 +00:00
Justin Karneges
8bd7a0e5a9 fix some things
svn path=/trunk/kdesupport/qca/; revision=400938
2005-03-27 10:18:03 +00:00
Brad Hards
42051b887f Add new Cipher mode / padding combinations:
DES / ECB / PKCS7 padding
DES / CBC / No padding
DES / CBC / PKCS7 padding
DES / OFB / No padding
DES / CFB / No padding

The DES / OFB combination is failing unit test, but I don't know why.

svn path=/trunk/kdesupport/qca/; revision=400923
2005-03-27 09:37:41 +00:00
Brad Hards
7908cc28e5 Add cipher support for OpenSSL plugin. There is no unit test coverage
for the PKCS7 padding versions, and the Blowfish ECB code is failing
unit tests for reasons I don't understand.

svn path=/trunk/kdesupport/qca/; revision=399407
2005-03-21 07:19:14 +00:00
Brad Hards
77a3a44cb1 Refactor OpenSSL plugin hashing code, just pass in the digest object
as a parameter instead of a separate class for each Hash.

svn path=/trunk/kdesupport/qca/; revision=398907
2005-03-19 09:09:44 +00:00
Brad Hards
854a8d4c65 Refactor the HMAC code, passing in the hash as an argument.
svn path=/trunk/kdesupport/qca/; revision=398903
2005-03-19 07:51:28 +00:00
Justin Karneges
a78d3f2d54 add publickey and cert functionality
svn path=/trunk/kdesupport/qca/; revision=397510
2005-03-14 11:38:23 +00:00
Justin Karneges
4bc8bbe725 new plugin style
svn path=/trunk/kdesupport/qca/; revision=393758
2005-02-28 09:56:07 +00:00
Brad Hards
320a135a69 Update to new Qt4 approach.
svn path=/trunk/kdesupport/qca/; revision=393740
2005-02-28 08:20:09 +00:00