Commit Graph

105 Commits

Author SHA1 Message Date
Juan Lang 108f30bb7d crypt32: Rename a function to reflect its behavior better, and return whether it succeeds. 2009-11-04 16:45:18 +01:00
Juan Lang 40855cae97 crypt32: Add return value to Context_Release to allow detecting reference counting errors. 2009-11-04 16:45:16 +01:00
Juan Lang 9928e2e1c5 crypt32: Support reading a serialized store object from memory in CryptQueryObject. 2009-11-03 21:29:13 +01:00
Juan Lang 1a194449cc crypt32: Correct a prototype. 2009-10-29 13:07:03 +01:00
Juan Lang d8ca5bc348 crypt32: Use helper function to encode public keys for hashing.
This is necessary because the publicly callable form embeds the asn.1
NULL value when the parameters are empty, whereas the hash value
expects that it's missing.
2009-10-21 16:05:56 +02:00
Andrew Talbot 465a583f27 crypt32: Constify some variables. 2009-06-15 13:42:30 +02:00
Juan Lang a29ba27361 crypt32: Make a function static. 2008-12-19 17:36:36 +01:00
Juan Lang e9352b90f8 crypt32: Add a function to format a CERT_NAME_BLOB as an indented string, and implement CertNameToStrW on top of it. 2008-11-17 12:59:22 +01:00
Michael Stefaniuc c48c5c8577 crypt32: Fix the aligning up to a DWORD_PTR boundary. 2008-11-07 11:01:21 +01:00
Juan Lang ab81dc123e crypt32: Make a global copy of crypt32's HINSTANCE. 2008-11-07 10:59:03 +01:00
Juan Lang caf6a7dcbc crypt32: Add CTLs to the memory store. 2008-09-02 11:53:21 +02:00
Juan Lang 282eb73bc3 crypt32: Use CMS messages rather than PKCS messages internally. 2008-08-21 11:32:53 +02:00
Alexandre Julliard 8926dce077 crypt32: Avoid casting away const from the context pointer. 2008-01-02 12:38:42 +01:00
Francois Gouget c4b1195c0c Assorted spelling fixes. 2007-10-23 18:20:27 +02:00
Juan Lang 1dce5ed3b0 crypt32: Free root store when quitting. 2007-10-19 14:22:21 +02:00
Juan Lang abc2aec88c crypt32: Use I_CertUpdateStore in registry stores. 2007-10-19 14:20:59 +02:00
Juan Lang 889449630d crypt32: Use I_CertUpdateStore in file stores. 2007-10-19 14:20:44 +02:00
Juan Lang f6ebeba5a2 crypt32: Move CertSaveStore to serialize.c. 2007-09-28 11:35:03 +02:00
Juan Lang 779dd45e6b crypt32: Add a function to serialize a store to an arbitrary stream. 2007-09-28 11:31:01 +02:00
Juan Lang bc81929519 crypt32: Rename a couple of functions. 2007-09-28 11:30:48 +02:00
Juan Lang 9663f9427b crypt32: Add a root store implementation that reads trusted certificates from well-known locations on the local system. 2007-09-11 11:57:06 +02:00
Juan Lang 391f826d49 crypt32: Add a function to create a certificate chain engine potentially before the root store is created. 2007-09-11 11:50:23 +02:00
Juan Lang 1d53424470 crypt32: Don't store the crypto provider when it isn't needed. 2007-08-20 11:52:21 +02:00
Juan Lang 71dffcee84 crypt32: Move file store to a separate file. 2007-08-17 12:01:38 +02:00
Juan Lang 0070d8226f crypt32: Move registry stores to a separate file. 2007-08-17 12:01:38 +02:00
Juan Lang 131f1d20e7 crypt32: Move provider stores to a separate file. 2007-08-17 12:01:38 +02:00
Juan Lang 9f85156e23 crypt32: Move collection stores to a separate file. 2007-08-17 12:01:38 +02:00
Juan Lang adaaab923d crypt32: Move cert store definitions to header. 2007-08-17 12:01:38 +02:00
Juan Lang 1626da2bba crypt32: Free default chain engine. 2007-08-16 11:46:40 +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 3a85fa6b15 crypt32: Partially implement decoding of signed messages. 2007-07-26 12:34:56 +02:00
Juan Lang b80101eb65 crypt32: Partially implement encoding signed messages. 2007-07-24 11:48:19 +02:00
Juan Lang 35abf3adf3 crypt32: Implement decoding hash messages. 2007-07-18 12:56:48 +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 48afa16386 crypt32: Make some encoding functions available outside encode.c. 2007-07-13 14:35:47 +02:00
Juan Lang 19c3a09ba8 crypt32: Implement CryptSIPLoad. 2007-07-10 14:41:05 +02:00
Juan Lang 79cd672c3d crypt32: Use public functions to get store access state. 2007-05-15 15:19:33 +02:00
Juan Lang 6e23b4a25d crypt32: Implement file stores. 2006-07-26 10:24:53 +02:00
Juan Lang ead21189c2 crypt32: Implement X509_UNICODE_NAME_VALUE encoding/decoding. 2006-07-19 18:15:56 +02:00
Juan Lang 30bf5d9adb crypt32: Fix reading key prov info from serialized data. 2006-07-18 11:18:37 +02:00
Alexandre Julliard dbd473ff79 crypt32: Use unsigned int instead of size_t to avoid printf format warnings. 2006-06-13 14:14:00 +02:00
Juan Lang dd4bd4ad28 crypt32: Implement X509_NAME_VALUE encoding/decoding. 2006-06-03 11:55:01 +02:00
Juan Lang dc660a81ed crypt32: Combine redundant code. 2006-05-26 20:16:07 +02:00
Juan Lang f94d49dcd4 crypt32: Implement CertSerializeCRLStoreElement. 2006-05-26 11:56:45 +02:00
Juan Lang 9f1dd10a48 crypt32: Move cert functions that don't depend on the implementation of stores to cert.c. 2006-05-25 10:37:28 +02:00
Juan Lang e48a0a3c23 crypt32: Abstract contexts.
- create an abstract interface for contexts, and use it for certificates
- create a simple context list, and use it for memory stores
2006-05-23 17:52:40 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Juan Lang d9a027952d crypt32: Move context interface definition to common header. 2006-05-20 13:57:43 +02:00
Juan Lang f224b34e60 crypt32: Split the unwieldy encode.c into two files. 2006-05-16 20:28:39 +02:00
Juan Lang 91b80fc8e2 crypt32: Move context properties to a separate file. 2006-03-10 21:41:38 +01:00
Juan Lang c3a125179d crypt32: Move serialization functions to serialize.c. 2006-03-04 16:12:28 +01:00
Juan Lang 690f98408b crypt32: implement CryptEnumOIDInfo and CryptFindOIDInfo.
- implement CryptEnumOIDInfo and CryptFindOIDInfo
- implement CertOIDToAlgId and CertAlgIdToOID using CryptFindOIDInfo
2006-02-24 11:26:01 +01:00
Juan Lang f702794f35 Implement more OID support functions.
Use the exported OID support functions internally.
Move OID support functions and stubs to a separate file.
2005-12-02 11:28:09 +01:00
Juan Lang 02cb0c77d7 Implemented CryptHashCertificate. 2005-08-25 09:51:59 +00:00