Juan Lang
|
bf5e4d9bb7
|
crypt32: Implement encoding cert policy mappings.
|
2009-11-09 19:58:07 +01:00 |
Juan Lang
|
fba863ddf0
|
crypt32: Add tests for encoding/decoding cert policy mappings.
|
2009-11-09 19:57:59 +01:00 |
Juan Lang
|
ed9a4ffa0b
|
crypt32: Fix decoding cert issuer/subject unique ids.
|
2009-11-09 19:57:51 +01:00 |
Juan Lang
|
4ccafdcb6f
|
crypt32: Fix encoding cert issuer/subject unique ids.
|
2009-11-09 19:57:45 +01:00 |
Juan Lang
|
acfa433f15
|
crypt32: Add more tests of cert encoding/decoding.
|
2009-11-09 19:57:37 +01:00 |
Paul Chitescu
|
7223d8b6d2
|
crypt32: Check the result of CryptAcquireContextW() when initializing default provider.
|
2009-11-09 19:37:00 +01:00 |
Juan Lang
|
5274777b1c
|
crypt32: Permit lack of basic constraints extension on root certificates.
|
2009-11-09 19:34:36 +01:00 |
Juan Lang
|
d94e4d315a
|
crypt32: Permit lack of key usage extension on root certificates.
This reverts 60770fb011 , although it
updates the comments to give a reason. Thanks to Matt Van Gundy for
pointing it out to me.
|
2009-11-09 19:34:32 +01:00 |
Juan Lang
|
c52d110de1
|
crypt32: Don't free a file store's mem store, it's already freed by the provider store.
|
2009-11-05 11:57:58 +01:00 |
Juan Lang
|
a16ca1d039
|
crypt32: Add a warning if a store's ref count is invalid.
|
2009-11-05 11:57:47 +01:00 |
Juan Lang
|
88e599c4cf
|
crypt32: Don't copy past end of buffer when removing the last string in a multistring.
|
2009-11-05 11:57:41 +01:00 |
Juan Lang
|
e1b2eb3485
|
crypt32: Fix a test failure on NT 4.
|
2009-11-05 11:57:13 +01:00 |
Juan Lang
|
416cd484b2
|
crypt32: Implement CertStoreControl for collection stores.
|
2009-11-04 17:15:07 +01:00 |
Juan Lang
|
33c70d35dd
|
crypt32: Add an implementation of CertControlStore for memory stores.
|
2009-11-04 17:15:02 +01:00 |
Juan Lang
|
e6047ae52d
|
crypt32: Add tests of committing a collection store.
|
2009-11-04 17:14:53 +01:00 |
Juan Lang
|
f8376b91da
|
crypt32: Eliminate a double free in the tests.
|
2009-11-04 16:45:18 +01:00 |
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
|
7e1cff1c18
|
crypt32: Release contexts when removing them from the mem store.
|
2009-11-04 16:45:18 +01:00 |
Juan Lang
|
df39bbba4f
|
crypt32: Don't delete a context when removing it from a list.
|
2009-11-04 16:45:18 +01:00 |
Juan Lang
|
787d0ab564
|
crypt32: Add an error if the ref count is invalid when releasing a context.
|
2009-11-04 16:45:18 +01:00 |
Juan Lang
|
1f363cd399
|
crypt32: Trace whenever a reference count changes, and change default debug channel to quiet the main crypt channel.
|
2009-11-04 16:45:18 +01:00 |
Juan Lang
|
17894eb093
|
crypt32: Release a link context's linked context on every release, not just when it reaches 0.
|
2009-11-04 16:45:17 +01:00 |
Juan Lang
|
52820b9cf8
|
crypt32: When creating a link context, call Context_AddRef to add-ref it so its children get add-ref'd too.
|
2009-11-04 16:45:17 +01:00 |
Juan Lang
|
5f81ad6821
|
crypt32: When add-ref'ing a context, add-ref its linked contexts too.
|
2009-11-04 16:45:17 +01:00 |
Juan Lang
|
fb5e0d8a4d
|
crypt32: When removing contexts from a list, make sure the context no longer references the list.
|
2009-11-04 16:45:17 +01:00 |
Juan Lang
|
976c6ff3f8
|
crypt32: Correct reference counting when deleting contexts from collections.
|
2009-11-04 16:45:17 +01:00 |
Juan Lang
|
92324ab38e
|
crypt32: Propagate errors from CertFree*Context to CertDelete*FromStore.
|
2009-11-04 16:45:17 +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
|
d8094382a8
|
crypt32: Implement CertAddEncodedCertificateToSystemStoreA/W.
|
2009-11-04 16:45:16 +01:00 |
Juan Lang
|
9364d7a928
|
crypt32: Add stub for CertAddCertificateLinkToStore.
|
2009-11-04 13:07:56 +01:00 |
Juan Lang
|
f554669286
|
crypt32: Implement CryptGetIntendedKeyUsage.
|
2009-11-04 13:07:56 +01:00 |
Juan Lang
|
6ac162231b
|
crypt32: Add tests for CertGetIntendedKeyUsage.
|
2009-11-04 13:07:55 +01:00 |
Juan Lang
|
1c7c406b86
|
crypt32: Correct spec entries for certificate stores.
|
2009-11-03 21:31:33 +01:00 |
Juan Lang
|
ed701e0787
|
crypt32: Add stub for CryptGetIntendedKeyUsage.
|
2009-11-03 21:31:28 +01:00 |
Juan Lang
|
af3afcf81d
|
crypt32: Fix a memory leak in a test.
|
2009-11-03 21:29:29 +01:00 |
Juan Lang
|
7a73fd97ad
|
crypt32: Fix a memory leak reading trusted root certs.
|
2009-11-03 21:29:24 +01:00 |
Juan Lang
|
7dd75d1181
|
crypt32: Fix a memory leak querying a message object.
|
2009-11-03 21:29:19 +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
|
51a1f5a642
|
crypt32: Abstract function used to read from reading a serialized store.
|
2009-11-03 21:29:03 +01:00 |
Juan Lang
|
16036dd27a
|
crypt32: Allow errors in locally installed root certs.
|
2009-11-03 21:18:30 +01:00 |
Juan Lang
|
d6795bd908
|
crypt32: Trace contents of CERT_CHAIN_PARA.
|
2009-11-03 21:17:34 +01:00 |
Juan Lang
|
fc0aff0d2e
|
crypt32: Add support for the CRYPT_STRING_NOCRLF flag to CryptBinaryToStringA/W.
|
2009-11-03 21:16:12 +01:00 |
Juan Lang
|
2d5ac92d9a
|
crypt32: Partially implement CryptBinaryToStringW.
|
2009-11-03 21:15:55 +01:00 |
Juan Lang
|
9750d0f7f5
|
crypt32: Trace policy error status in CertVerifyCertificateChainPolicy.
|
2009-10-30 11:32:09 +01:00 |
Juan Lang
|
c4ce06293c
|
crypt32: Create a V1 certificate if it doesn't have extensions.
|
2009-10-30 11:32:04 +01:00 |
Juan Lang
|
07b735682b
|
crypt32: Check CA certificates for the enhanced key usage extension.
|
2009-10-30 11:26:39 +01:00 |
Juan Lang
|
60770fb011
|
crypt32: Only permit v1 or v2 CA certificates without a key usage extension if they're installed locally.
|
2009-10-30 11:26:30 +01:00 |
Juan Lang
|
7b0297769d
|
crypt32: Use a helper function to find an existing cert by hash.
|
2009-10-30 11:26:21 +01:00 |
Juan Lang
|
77472187c9
|
crypt32: Add key usage extension to chain4_0.
|
2009-10-30 11:26:15 +01:00 |
Juan Lang
|
33a6235053
|
crypt32: Only permit v1 or v2 CA certificates without a basic constraints extension if they're installed locally.
|
2009-10-30 11:26:06 +01:00 |