Commit Graph

97 Commits (082b46887a548599f980c08a58f07d1789e76d67)

Author SHA1 Message Date
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
Juan Lang f3a1f2bf60 crypt32: Win64 printf format warning fixes. 2006-10-04 09:59:57 +02:00
Juan Lang 9153d39cda crypt32: Encode/decode authority key ids. 2006-09-27 09:40:50 +02:00
Andrew Talbot 950b838e28 crypt32: Cast-qual warnings fix. 2006-09-07 13:44:42 +02:00
Juan Lang 8ccbdb801e crypt32: Implement X509_UNICODE_NAME encoding/decoding. 2006-07-27 12:10:45 +02:00
Juan Lang 1eefa005da crypt32: Implement more string types for X509_NAME_VALUE. 2006-07-20 12:09:59 +02:00
Juan Lang ead21189c2 crypt32: Implement X509_UNICODE_NAME_VALUE encoding/decoding. 2006-07-19 18:15:56 +02:00
Juan Lang dc98a727f3 crypt32: Don't return from a try block. 2006-07-19 09:38:18 +02:00
Juan Lang 11d018471b crypt32: Always set required encoded length in CryptEncodeObject(Ex). 2006-07-18 11:17:45 +02:00
Juan Lang cb2e21ffb4 crypt32: Encode/decode CRL issuing dist points. 2006-06-20 11:28:22 +02:00
Juan Lang bc2d4a71b4 crypt32: Correct CRL tests, and fix CRL encoding/decoding accordingly. 2006-06-16 11:30:10 +02:00
Andrew Talbot 63efd7f8e6 crypt32: Write-strings warning fix. 2006-06-07 15:24:05 +02:00
Juan Lang dd4bd4ad28 crypt32: Implement X509_NAME_VALUE encoding/decoding. 2006-06-03 11:55:01 +02:00