109 Commits

Author SHA1 Message Date
Andrew Talbot
610dbbdae5 crypt32: Sign-compare warnings fix. 2008-09-24 12:52:46 +02:00
Juan Lang
a96361361d crypt32: Implement encoding CTLs. 2008-08-28 11:49:34 +02:00
Juan Lang
2d02ec7488 crypt32: Don't ignore errors when encoding items in an array. 2008-08-28 11:24:48 +02:00
Juan Lang
7e848b6cdc crypt32: Implement authority info access encoding. 2008-08-28 11:03:56 +02:00
Juan Lang
db6c8e23b6 crypt32: Add support for encoding PKCS_SMIME_CAPABILITIES. 2008-08-21 11:35:54 +02:00
Juan Lang
282eb73bc3 crypt32: Use CMS messages rather than PKCS messages internally. 2008-08-21 11:32:53 +02:00
Juan Lang
817adc5599 crypt32: Implement CMSG_CMS_SIGNER_INFO encoding. 2008-08-20 10:23:50 +02:00
Juan Lang
1799ceb8c1 crypt32: Free memory using the correct function on failure. 2008-08-19 12:20:40 +02:00
Michael Karcher
8fa3b6871f crypt32: Pass on aiKeyAlg on RSA key import. 2008-05-26 17:59:07 +02:00
Michael Karcher
a3223df865 crypt32: Fix order-of-evaluation dependence. 2008-05-26 17:59:03 +02:00
Michael Karcher
a6087662ba crypt32: Fix integer overflow. 2008-05-26 17:58:58 +02:00
Andrew Talbot
8a1d3b334d crypt32: Remove unwanted shadow variable. 2008-04-15 15:31:15 +02:00
Bang Jun-young
dee7722b07 crypt32: Include wine/port.h for snprintf(). 2008-02-04 14:18:20 +01:00
Juan Lang
f64d600494 crypt32: Don't leak buffer when a unicode string contains an invalid character. 2007-11-02 12:22:21 +01:00
Juan Lang
d34b3bf63c crypt32: Don't assume string pointer has been set if length is 0. 2007-10-22 13:52:15 +02:00
Juan Lang
9568cead65 crypt32: Replace a private type with a public one. 2007-10-22 12:36:07 +02:00
Gerald Pfeifer
119e4d4955 crypt32: Fix incorrect casts in X509_CERT and friends. 2007-10-16 09:36:14 +02:00
Juan Lang
942fb6c3eb crypt32: Implement name constraint encoding. 2007-10-11 22:22:33 +02:00
Juan Lang
36886f7dd1 crypt32: Add/improve some traces. 2007-09-28 11:30:40 +02:00
Juan Lang
716a7405e4 crypt32: Update comments. 2007-09-18 11:52:00 +02:00
Juan Lang
b6032a41b3 crypt32: Trace encoding and decoding public keys on crypt channel. 2007-08-22 12:33:50 +02:00
Juan Lang
b82bfa3455 crypt32: Test authority key identifier with a multi-byte id to show that its byte-order is swapped and fix encoding and decoding it. 2007-08-14 12:29:51 +02:00
Juan Lang
3a50b1fea6 crypt32: Improve tracing when builtin function isn't available. 2007-08-13 11:32:51 +02:00
Juan Lang
f848055151 crypt32: Use helper functions to simplify CryptEncodeObject and CryptEncodeObjectEx. 2007-08-13 11:32:42 +02:00
Juan Lang
038b53c301 crypt32: Ex encode/decode functions should call non-Ex versions if no Ex version is available. 2007-08-13 11:32:13 +02:00
Juan Lang
53087dbe12 crypt32: Introduce cryptasn debug channel to quiet down crypt traces. 2007-08-08 15:32:00 +02:00
Francois Gouget
74bf9f1f4e crypt32: Add and use HCRYPTPROV_LEGACY and HCRYPTPROV_OR_NCRYPT_KEY_HANDLE. 2007-08-03 12:44:41 +02:00
Juan Lang
676c6e5a36 crypt32: Implement encoding OID and directory name alt name entries. 2007-08-03 12:29:03 +02:00
Juan Lang
014467031e crypt32: Get rid of attribute certs from signed info, they're not supported anyway. 2007-07-31 11:15:57 +02:00
Juan Lang
c58cb379eb crypt32: Test and fix encoding and decoding of attributes in PKCS signers. 2007-07-26 12:35:05 +02:00
Alexandre Julliard
fd51447966 crypt32: Don't use off_t for memory offsets. 2007-07-26 11:57:14 +02:00
Marcus Meissner
60ef860f17 crypt32: Fixed wrong allocation size. 2007-07-25 13:02:02 +02:00
Juan Lang
0584964518 crypt32: Test and implement encoding signed data messages with CRLs. 2007-07-24 11:49:23 +02:00
Juan Lang
01ab14e174 crypt32: Test and implement encoding signed messages with certificates. 2007-07-24 11:49:14 +02:00
Juan Lang
8a3f4483a9 crypt32: Use set encoding function for encoding PKCS signed info. 2007-07-24 11:49:07 +02:00
Juan Lang
b80101eb65 crypt32: Partially implement encoding signed messages. 2007-07-24 11:48:19 +02:00
Juan Lang
dc28f99d22 crypt32: Introduce function to encode an array of items as a set. 2007-07-24 11:30:34 +02:00
Juan Lang
703a0f6fce crypt32: Move digested data encoding to encode.c. 2007-07-18 12:56:25 +02:00
Juan Lang
8599fd7748 crypt32: Implement retrieving a hashed message's content. 2007-07-13 14:40:04 +02:00
Juan Lang
678fb8ac14 crypt32: Introduce an algorithm id encoding function that encodes missing parameters as NULL
and use it to match native encoding (and simplify PKCS signer tests).
2007-07-13 14:39:40 +02:00
Juan Lang
48afa16386 crypt32: Make some encoding functions available outside encode.c. 2007-07-13 14:35:47 +02:00
Juan Lang
d1ac9c73f6 crypt32: Implement PKCS7_SIGNER_INFO encoding/decoding. 2007-06-13 11:56:20 +02:00
Juan Lang
e1f83a7abf crypt32: Implement PKCS_ATTRIBUTES encoding/decoding. 2007-06-13 11:55:57 +02:00
Juan Lang
74addd636e crypt32: Use CRYPT_EncodeEnsureSpace to allocate memory when necessary. 2007-06-13 11:55:35 +02:00
Juan Lang
97f2c658fd crypt32: Implement PKCS_ATTRIBUTE encoding/decoding. 2007-06-13 11:54:36 +02:00
Juan Lang
bbcd95a7e1 crypt32: Separate set encoding into a separate function. 2007-06-13 11:54:17 +02:00
Juan Lang
1cd9510be0 crypt32: Implement PKCS_CONTENT_INFO encoding/decoding. 2007-06-13 11:53:47 +02:00
Juan Lang
2d00a4f0f5 crypt32: Implement CERT_AUTHORITY_KEY_ID2_INFO encoding/decoding. 2007-06-13 11:53:36 +02:00
Andrew Talbot
79d1d77f74 crypt32: Exclude unused headers. 2007-04-30 12:32:35 +02:00
Andrew Talbot
58f9b6076f crypt32: Cast-qual warnings fix. 2006-10-25 12:14:23 +02:00