Jacek Caban
6ab429363a
crypt32: Added cloning logic to context's vtbl.
2013-10-15 17:43:11 +02:00
Jacek Caban
988e8a78c2
crypt32: Moved CertAddCertificateContextToStore to cert.c.
2013-10-15 17:43:00 +02:00
Jacek Caban
993691bef5
crypt32: Moved context desatructor to vtbl.
2013-10-14 17:26:15 +02:00
Jacek Caban
17e1dfef9b
crypt32: Pass context as context_t to Context_Release.
2013-10-14 17:26:14 +02:00
Jacek Caban
802a6bc1bb
crypt32: Pass context as BASE_CONTEXT to Context_AddRef and added structs describing memory layout behind context structs.
2013-10-14 17:26:14 +02:00
Jacek Caban
c7d1082b4f
crypt32: Added new empty store type and use it for creating certificates with no store.
2013-10-14 17:26:14 +02:00
Jacek Caban
c1fa23ac5d
crypt32: Get rid of no longer used contextSize argument in Context_Release.
2013-10-08 18:10:06 +02:00
Jacek Caban
c6fd036b54
crypt32: Get rid of no longer used contextSize argument in Context_GetProperties.
2013-10-08 18:10:02 +02:00
Jacek Caban
f82237102b
crypt32: Get rid of no longer used contextSize argument in Context_AddRef.
2013-10-08 18:09:53 +02:00
Jacek Caban
0a5cb15f94
crypt32: Get rid of remaining P* typedefs.
2013-09-04 14:38:41 +02:00
Jacek Caban
0c4a2df240
crypt32: Get rid of PWINECRYPT_CERTSTORE typedef.
2013-09-04 14:37:57 +02:00
Jacek Caban
d8c3ccee28
crypt32: Get rid of PCONTEXT_PROPERTY_LIST typedef.
2013-09-04 14:37:49 +02:00
Michael Stefaniuc
6af92365ea
crypt32: Use assignment instead of memcpy to copy structs.
2013-02-05 20:15:36 +01:00
Juan Lang
f86ab49be2
crypt32: Initialize key spec correctly.
2012-05-31 12:37:21 +02:00
Juan Lang
da53cfc8bb
crypt32: Fail earlier if CryptExportPublicKeyInfo fails.
2012-05-31 12:37:20 +02:00
Juan Lang
6ccdbab6c8
crypt32: Don't fail if HCRYPTPROV and PCRYPT_KEY_PROV_INFO parameters are both non-NULL.
2012-05-31 12:37:20 +02:00
Juan Lang
441f7b6d9e
crypt32: Test and correct CryptVerifyCertificateSignature.
2012-02-02 09:52:55 +01:00
Juan Lang
be0d294485
crypt32: Fix memory leak in failure cases.
2011-09-22 19:51:50 +02:00
Juan Lang
546bfa2c1c
crypt32: Test CertCreateCertificateContext, and fix an error code in a failure case.
2011-09-22 19:51:50 +02:00
Juan Lang
f1be598efa
crypt32: Support CERT_COMPARE_NAME_STR_A in CertFindCertificateInStore.
2011-06-09 16:57:44 +02:00
Juan Lang
d728169d97
crypt32: Implement CertAddCertificateLinkToStore on top of CertAddCertificateContextToStore.
2010-05-17 12:42:31 +02:00
Juan Lang
99b9e1ae36
crypt32: Prohibit adding links to collection stores.
2010-05-17 12:42:31 +02:00
Amine Khaldi
483d241559
crypt32: Remove unneeded assignments.
2009-12-16 12:21:12 +01:00
Juan Lang
b2ab45b78b
crypt32: Only match RDN attributes whose lengths are identical.
2009-11-21 14:31:46 +01:00
Juan Lang
440c702ce4
crypt32: Implement CertIsRDNAttrsInCertificateName.
2009-11-17 15:14:53 +01:00
Juan Lang
7d12294f08
crypt32: Add stub for CertIsRDNAttrsInCertificateName.
2009-11-17 15:14:53 +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
ed701e0787
crypt32: Add stub for CryptGetIntendedKeyUsage.
2009-11-03 21:31:28 +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
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
Juan Lang
1e424138fe
crypt32: Implement CryptFindCertificateInStore for unicode strings.
2009-10-20 14:00:35 +02:00
Juan Lang
60140610e3
crypt32: Compare certificates in a consistent order.
2009-10-19 11:35:55 +02:00
Juan Lang
3740e4150b
crypt32: Avoid repeatedly decoding authority key id extensions when searching for a cert's issuer.
2009-10-19 11:35:46 +02:00
Juan Lang
b2d27097b5
crypt32: Introduce a helper function to search for certificates that doesn't require recreating the search key for every certificate.
2009-10-19 11:35:38 +02:00
Juan Lang
e0a4404831
crypt32: Use helper function to search for certs.
2009-10-19 11:35:32 +02:00
Hans Leidekker
764b9bef19
crypt32: Add a partial implementation of CertCreateContext.
2009-06-23 11:48:20 +02:00
Andrew Talbot
5a981c3a64
crypt32: Constify some variables.
2009-06-12 17:33:14 +02:00
Paul Vriens
8218518695
crypt32: Fix CertDuplicateCertificateContext for a passed NULL context.
2009-01-29 14:31:10 +01:00
Juan Lang
1352f6d316
crypt32: Implement CryptFindCertificateKeyProvInfo.
2009-01-28 12:09:22 +01:00
Juan Lang
bf0406cf3a
crypt32: Implement CertFindCertificateInStore for CERT_FIND_PUBLIC_KEY.
2009-01-28 12:08:49 +01:00
Michael Stefaniuc
4eaaa913f8
crypt32: Remove some more superfluous pointer casts.
2009-01-26 14:31:08 +01:00
Juan Lang
b21da737fe
crypt32: Allow setting CERT_KEY_PROV_HANDLE_PROP_ID if CERT_KEY_CONTEXT_PROP_ID has not previously been set.
2008-12-10 10:49:17 +01:00
Juan Lang
fce8a26c00
crypt32: Remove unnecessary casts.
2008-12-10 10:49:11 +01:00
Michael Stefaniuc
7589715c87
crypt32: Remove superfluous casts of void pointers.
2008-11-04 11:26:34 +01:00
Aric Stewart
c009f9c9ee
crypt32: Static functions CertContext_GetProperty and CertContext_SetProperty do not need to be WINAPI.
2008-11-03 11:50:02 +01:00
Juan Lang
abde9a91f2
crypt32: Add support for the CERT_EXTENDED_ERROR_INFO_PROP_ID.
2008-09-18 12:32:36 +02:00
Juan Lang
e4a0633818
crypt32: Return FALSE rather than crash if memory allocation fails. Fixes Coverity id 135.
2008-09-10 10:40:46 +02:00