|
| | WINE_DEFAULT_DEBUG_CHANNEL (crypt) |
| |
| void | CRYPT_InitStore (WINECRYPT_CERTSTORE *store, DWORD dwFlags, CertStoreType type, const store_vtbl_t *vtbl) |
| |
| void | CRYPT_FreeStore (WINECRYPT_CERTSTORE *store) |
| |
| BOOL WINAPI | I_CertUpdateStore (HCERTSTORE store1, HCERTSTORE store2, DWORD unk0, DWORD unk1) |
| |
| static BOOL | MemStore_addContext (WINE_MEMSTORE *store, struct list *list, context_t *orig_context, context_t *existing, context_t **ret_context, BOOL use_link) |
| |
| static context_t * | MemStore_enumContext (WINE_MEMSTORE *store, struct list *list, context_t *prev) |
| |
| static BOOL | MemStore_deleteContext (WINE_MEMSTORE *store, context_t *context) |
| |
| static void | free_contexts (struct list *list) |
| |
| static void | MemStore_releaseContext (WINECRYPT_CERTSTORE *store, context_t *context) |
| |
| static BOOL | MemStore_addCert (WINECRYPT_CERTSTORE *store, context_t *cert, context_t *toReplace, context_t **ppStoreContext, BOOL use_link) |
| |
| static context_t * | MemStore_enumCert (WINECRYPT_CERTSTORE *store, context_t *prev) |
| |
| static BOOL | MemStore_deleteCert (WINECRYPT_CERTSTORE *store, context_t *context) |
| |
| static BOOL | MemStore_addCRL (WINECRYPT_CERTSTORE *store, context_t *crl, context_t *toReplace, context_t **ppStoreContext, BOOL use_link) |
| |
| static context_t * | MemStore_enumCRL (WINECRYPT_CERTSTORE *store, context_t *prev) |
| |
| static BOOL | MemStore_deleteCRL (WINECRYPT_CERTSTORE *store, context_t *context) |
| |
| static BOOL | MemStore_addCTL (WINECRYPT_CERTSTORE *store, context_t *ctl, context_t *toReplace, context_t **ppStoreContext, BOOL use_link) |
| |
| static context_t * | MemStore_enumCTL (WINECRYPT_CERTSTORE *store, context_t *prev) |
| |
| static BOOL | MemStore_deleteCTL (WINECRYPT_CERTSTORE *store, context_t *context) |
| |
| static void | MemStore_addref (WINECRYPT_CERTSTORE *store) |
| |
| static DWORD | MemStore_release (WINECRYPT_CERTSTORE *cert_store, DWORD flags) |
| |
| static BOOL | MemStore_control (WINECRYPT_CERTSTORE *store, DWORD dwFlags, DWORD dwCtrlType, void const *pvCtrlPara) |
| |
| static WINECRYPT_CERTSTORE * | CRYPT_MemOpenStore (HCRYPTPROV hCryptProv, DWORD dwFlags, const void *pvPara) |
| |
| static WINECRYPT_CERTSTORE * | CRYPT_SysRegOpenStoreW (HCRYPTPROV hCryptProv, DWORD dwFlags, const void *pvPara) |
| |
| static WINECRYPT_CERTSTORE * | CRYPT_SysRegOpenStoreA (HCRYPTPROV hCryptProv, DWORD dwFlags, const void *pvPara) |
| |
| static WINECRYPT_CERTSTORE * | CRYPT_SysOpenStoreW (HCRYPTPROV hCryptProv, DWORD dwFlags, const void *pvPara) |
| |
| static WINECRYPT_CERTSTORE * | CRYPT_SysOpenStoreA (HCRYPTPROV hCryptProv, DWORD dwFlags, const void *pvPara) |
| |
| static void WINAPI | CRYPT_MsgCloseStore (HCERTSTORE hCertStore, DWORD dwFlags) |
| |
| static WINECRYPT_CERTSTORE * | CRYPT_MsgOpenStore (HCRYPTPROV hCryptProv, DWORD dwFlags, const void *pvPara) |
| |
| static WINECRYPT_CERTSTORE * | CRYPT_PKCSOpenStore (HCRYPTPROV hCryptProv, DWORD dwFlags, const void *pvPara) |
| |
| static WINECRYPT_CERTSTORE * | CRYPT_SerializedOpenStore (HCRYPTPROV hCryptProv, DWORD dwFlags, const void *pvPara) |
| |
| static WINECRYPT_CERTSTORE * | CRYPT_PhysOpenStoreW (HCRYPTPROV hCryptProv, DWORD dwFlags, const void *pvPara) |
| |
| HCERTSTORE WINAPI | CertOpenStore (LPCSTR lpszStoreProvider, DWORD dwMsgAndCertEncodingType, HCRYPTPROV_LEGACY hCryptProv, DWORD dwFlags, const void *pvPara) |
| |
| HCERTSTORE WINAPI | CertOpenSystemStoreA (HCRYPTPROV_LEGACY hProv, LPCSTR szSubSystemProtocol) |
| |
| HCERTSTORE WINAPI | CertOpenSystemStoreW (HCRYPTPROV_LEGACY hProv, LPCWSTR szSubSystemProtocol) |
| |
| PCCERT_CONTEXT WINAPI | CertEnumCertificatesInStore (HCERTSTORE hCertStore, PCCERT_CONTEXT pPrev) |
| |
| BOOL WINAPI | CertDeleteCertificateFromStore (PCCERT_CONTEXT pCertContext) |
| |
| BOOL WINAPI | CertAddCRLContextToStore (HCERTSTORE hCertStore, PCCRL_CONTEXT pCrlContext, DWORD dwAddDisposition, PCCRL_CONTEXT *ppStoreContext) |
| |
| BOOL WINAPI | CertDeleteCRLFromStore (PCCRL_CONTEXT pCrlContext) |
| |
| PCCRL_CONTEXT WINAPI | CertEnumCRLsInStore (HCERTSTORE hCertStore, PCCRL_CONTEXT pPrev) |
| |
| HCERTSTORE WINAPI | CertDuplicateStore (HCERTSTORE hCertStore) |
| |
| BOOL WINAPI | CertCloseStore (HCERTSTORE hCertStore, DWORD dwFlags) |
| |
| BOOL WINAPI | CertControlStore (HCERTSTORE hCertStore, DWORD dwFlags, DWORD dwCtrlType, void const *pvCtrlPara) |
| |
| BOOL WINAPI | CertGetStoreProperty (HCERTSTORE hCertStore, DWORD dwPropId, void *pvData, DWORD *pcbData) |
| |
| BOOL WINAPI | CertSetStoreProperty (HCERTSTORE hCertStore, DWORD dwPropId, DWORD dwFlags, const void *pvData) |
| |
| static LONG | CRYPT_OpenParentStore (DWORD dwFlags, void *pvSystemStoreLocationPara, HKEY *key) |
| |
| BOOL WINAPI | CertEnumSystemStore (DWORD dwFlags, void *pvSystemStoreLocationPara, void *pvArg, PFN_CERT_ENUM_SYSTEM_STORE pfnEnum) |
| |
| BOOL WINAPI | CertEnumPhysicalStore (const void *pvSystemStore, DWORD dwFlags, void *pvArg, PFN_CERT_ENUM_PHYSICAL_STORE pfnEnum) |
| |
| BOOL WINAPI | CertRegisterPhysicalStore (const void *pvSystemStore, DWORD dwFlags, LPCWSTR pwszStoreName, PCERT_PHYSICAL_STORE_INFO pStoreInfo, void *pvReserved) |
| |
| BOOL WINAPI | CertUnregisterPhysicalStore (const void *pvSystemStore, DWORD dwFlags, LPCWSTR pwszStoreName) |
| |
| BOOL WINAPI | CertRegisterSystemStore (const void *pvSystemStore, DWORD dwFlags, PCERT_SYSTEM_STORE_INFO pStoreInfo, void *pvReserved) |
| |
| BOOL WINAPI | CertUnregisterSystemStore (const void *pvSystemStore, DWORD dwFlags) |
| |
| static void | EmptyStore_addref (WINECRYPT_CERTSTORE *store) |
| |
| static DWORD | EmptyStore_release (WINECRYPT_CERTSTORE *store, DWORD flags) |
| |
| static void | EmptyStore_releaseContext (WINECRYPT_CERTSTORE *store, context_t *context) |
| |
| static BOOL | EmptyStore_add (WINECRYPT_CERTSTORE *store, context_t *context, context_t *replace, context_t **ret_context, BOOL use_link) |
| |
| static context_t * | EmptyStore_enum (WINECRYPT_CERTSTORE *store, context_t *prev) |
| |
| static BOOL | EmptyStore_delete (WINECRYPT_CERTSTORE *store, context_t *context) |
| |
| static BOOL | EmptyStore_control (WINECRYPT_CERTSTORE *store, DWORD flags, DWORD ctrl_type, void const *ctrl_para) |
| |
| void | init_empty_store (void) |
| |
Definition at line 1127 of file store.c.
1128{
1131
1133
1134 if( ! hCertStore )
1136
1139
1144 }
1145
1147}
#define WINE_CRYPTCERTSTORE_MAGIC
_In_ LPWSTR _In_ DWORD _In_ DWORD _In_ DWORD dwFlags
DWORD(* release)(struct WINE_CRYPTCERTSTORE *, DWORD)
Referenced by cert_mgr_do_export(), CertAddEncodedCertificateToSystemStoreA(), CertAddEncodedCertificateToSystemStoreW(), CertRegisterSystemStore(), CertRemoveStoreFromCollection(), check_ssl_policy(), close_stores(), CRYPT_CheckRestrictedRoot(), CRYPT_CloseStores(), CRYPT_CreateAny(), CRYPT_CreateChainEngine(), CRYPT_FileControl(), CRYPT_FindIssuer(), CRYPT_FreeChainContext(), CRYPT_ImportSystemRootCertsToReg(), CRYPT_MsgOpenStore(), CRYPT_ProvCreateStore(), CRYPT_ProvOpenStore(), CRYPT_QueryContextObject(), CRYPT_QuerySerializedStoreFromBlob(), CRYPT_QuerySerializedStoreFromFile(), CRYPT_RegControl(), CRYPT_SerializedOpenStore(), CRYPT_SysOpenStoreW(), CRYPTDLG_IsCertAllowed(), CRYPTDLG_MakeEngine(), CryptMsgGetAndVerifySigner(), CryptVerifyDetachedMessageSignature(), CryptVerifyMessageSignature(), free_chain_engine(), getChain(), import_cert(), import_crl(), import_ctl(), import_file(), read_trusted_roots_from_known_locations(), save_cert_as_cms(), save_pfx(), select_store_dlg_proc(), show_import_ui(), SOFTPUB_CreateStoreFromMessage(), SoftpubAuthenticode(), SoftpubCleanup(), test_CERT_CHAIN_PARA_cbSize(), test_crypt_ui_wiz_import(), test_I_UpdateStore(), test_msg_get_and_verify_signer(), test_PFXImportCertStore(), test_retrieveObjectByUrl(), test_utils(), test_verify_ecc_signature(), test_verifyRevocation(), testAddCert(), testAddCertificateLink(), testAddCRL(), testAddCTLToStore(), testAddSerialized(), testCertOpenSystemStore(), testCertRegisterSystemStore(), testCloseStore(), testCollectionStore(), testCreateCertChainEngine(), testDupCert(), testEmptyStore(), testFileNameStore(), testFileStore(), testFindCert(), testFindCRL(), testGetCertChain(), testGetCRLFromStore(), testGetIssuerCert(), testGetSubjectCert(), testIsValidCRLForCert(), testKeyProvInfo(), testLinkCert(), testMemStore(), testMessageStore(), testRegStore(), testRegStoreSavedCerts(), testSerializedStore(), testStoreProperty(), testStoresInCollection(), testSystemRegStore(), testSystemStore(), testVerifyRevocation(), and WINTRUST_CreateChainForSigner().
Definition at line 815 of file store.c.
818{
821
823 dwMsgAndCertEncodingType, hCryptProv,
dwFlags, pvPara);
824
826 {
827 switch (
LOWORD(lpszStoreProvider))
828 {
831 break;
834 break;
837 break;
840 break;
843 break;
846 break;
849 break;
852 break;
855 break;
858 break;
861 break;
864 break;
867 break;
870 break;
871 default:
872 if (
LOWORD(lpszStoreProvider))
873 FIXME(
"unimplemented type %d\n",
LOWORD(lpszStoreProvider));
874 }
875 }
890 else
891 {
892 FIXME(
"unimplemented type %s\n", lpszStoreProvider);
894 }
895
896 if (!openFunc)
899 else
900 hcs = openFunc(hCryptProv,
dwFlags, pvPara);
901 return hcs;
902}
WINECRYPT_CERTSTORE * CRYPT_CollectionOpenStore(HCRYPTPROV hCryptProv, DWORD dwFlags, const void *pvPara)
WINECRYPT_CERTSTORE * CRYPT_ProvOpenStore(LPCSTR lpszStoreProvider, DWORD dwEncodingType, HCRYPTPROV hCryptProv, DWORD dwFlags, const void *pvPara) DECLSPEC_HIDDEN
WINECRYPT_CERTSTORE * CRYPT_FileNameOpenStoreW(HCRYPTPROV hCryptProv, DWORD dwFlags, const void *pvPara) DECLSPEC_HIDDEN
struct WINE_CRYPTCERTSTORE *(* StoreOpenFunc)(HCRYPTPROV hCryptProv, DWORD dwFlags, const void *pvPara)
WINECRYPT_CERTSTORE * CRYPT_FileNameOpenStoreA(HCRYPTPROV hCryptProv, DWORD dwFlags, const void *pvPara) DECLSPEC_HIDDEN
WINECRYPT_CERTSTORE * CRYPT_FileOpenStore(HCRYPTPROV hCryptProv, DWORD dwFlags, const void *pvPara) DECLSPEC_HIDDEN
WINECRYPT_CERTSTORE * CRYPT_RegOpenStore(HCRYPTPROV hCryptProv, DWORD dwFlags, const void *pvPara) DECLSPEC_HIDDEN
static WINECRYPT_CERTSTORE * CRYPT_SysOpenStoreW(HCRYPTPROV hCryptProv, DWORD dwFlags, const void *pvPara)
static WINECRYPT_CERTSTORE * CRYPT_PKCSOpenStore(HCRYPTPROV hCryptProv, DWORD dwFlags, const void *pvPara)
static WINECRYPT_CERTSTORE * CRYPT_SysRegOpenStoreW(HCRYPTPROV hCryptProv, DWORD dwFlags, const void *pvPara)
static WINECRYPT_CERTSTORE * CRYPT_SerializedOpenStore(HCRYPTPROV hCryptProv, DWORD dwFlags, const void *pvPara)
static WINECRYPT_CERTSTORE * CRYPT_PhysOpenStoreW(HCRYPTPROV hCryptProv, DWORD dwFlags, const void *pvPara)
static WINECRYPT_CERTSTORE * CRYPT_MemOpenStore(HCRYPTPROV hCryptProv, DWORD dwFlags, const void *pvPara)
static WINECRYPT_CERTSTORE * CRYPT_SysOpenStoreA(HCRYPTPROV hCryptProv, DWORD dwFlags, const void *pvPara)
static WINECRYPT_CERTSTORE * CRYPT_SysRegOpenStoreA(HCRYPTPROV hCryptProv, DWORD dwFlags, const void *pvPara)
static WINECRYPT_CERTSTORE * CRYPT_MsgOpenStore(HCRYPTPROV hCryptProv, DWORD dwFlags, const void *pvPara)
#define sz_CERT_STORE_PROV_SERIALIZED
#define CERT_STORE_PROV_PKCS7
#define sz_CERT_STORE_PROV_FILENAME_W
#define CERT_STORE_PROV_COLLECTION
#define CERT_STORE_PROV_FILENAME_A
#define sz_CERT_STORE_PROV_COLLECTION
#define sz_CERT_STORE_PROV_MEMORY
#define sz_CERT_STORE_PROV_SYSTEM_REGISTRY
#define sz_CERT_STORE_PROV_SYSTEM
#define CERT_STORE_PROV_SERIALIZED
#define CERT_STORE_PROV_SYSTEM_REGISTRY_W
#define CERT_STORE_PROV_FILENAME_W
#define CERT_STORE_PROV_SYSTEM_A
#define sz_CERT_STORE_PROV_PKCS7
#define CERT_STORE_PROV_MEMORY
#define CERT_STORE_PROV_REG
#define CERT_STORE_PROV_FILE
#define CERT_STORE_PROV_MSG
#define CERT_STORE_PROV_SYSTEM_W
#define CERT_STORE_PROV_SYSTEM_REGISTRY_A
#define CERT_STORE_PROV_PHYSICAL_W
Referenced by cert_mgr_do_export(), CertOpenSystemStoreA(), CertOpenSystemStoreW(), CertRegisterSystemStore(), CertUnregisterSystemStore(), check_ssl_policy(), choose_store_for_cert(), create_root_store(), CRYPT_BuildCandidateChainFromCert(), CRYPT_CreateAny(), CRYPT_CreateChainEngine(), CRYPT_CreateContext(), CRYPT_FileControl(), CRYPT_FileNameOpenStoreW(), CRYPT_FileOpenStore(), CRYPT_FindIssuer(), CRYPT_MsgOpenStore(), CRYPT_ProvOpenStore(), CRYPT_QueryContextObject(), CRYPT_QueryMessageObject(), CRYPT_QuerySerializedStoreFromBlob(), CRYPT_QuerySerializedStoreFromFile(), CRYPT_RegControl(), CRYPT_RegOpenStore(), CRYPT_SerializedOpenStore(), CRYPT_SysOpenStoreW(), CRYPTDLG_IsCertAllowed(), CRYPTDLG_MakeEngine(), CryptGetMessageCertificates(), CryptMsgGetAndVerifySigner(), CryptVerifyDetachedMessageSignature(), CryptVerifyMessageSignature(), getChain(), import_crl(), import_ctl(), read_trusted_roots_from_known_locations(), save_cert_as_cms(), save_pfx(), show_cert_stores(), SOFTPUB_CreateStoreFromMessage(), SoftpubAuthenticode(), test_CERT_CHAIN_PARA_cbSize(), test_crypt_ui_wiz_import(), test_I_UpdateStore(), test_msg_get_and_verify_signer(), test_utils(), test_verify_ecc_signature(), test_verifyRevocation(), testAddCert(), testAddCertificateLink(), testAddCRL(), testAddCTLToStore(), testAddSerialized(), testCertOpenSystemStore(), testCertRegisterSystemStore(), testCloseStore(), testCollectionStore(), testCreateCertChainEngine(), testDupCert(), testEmptyStore(), testFileNameStore(), testFileStore(), testFindCert(), testFindCRL(), testGetCertChain(), testGetCRLFromStore(), testGetIssuerCert(), testGetSubjectCert(), testIsValidCRLForCert(), testKeyProvInfo(), testLinkCert(), testMemStore(), testMessageStore(), testRegStore(), testRegStoreSavedCerts(), testSerializedStore(), testStoreProperty(), testStoresInCollection(), testSystemRegStore(), testSystemStore(), testVerifyRevocation(), and WINTRUST_CreateChainForSigner().