Home
last modified time | relevance | path

Searched refs:sgnr (Results 1 – 5 of 5) sorted by relevance

/reactos/modules/rostests/winetests/wintrust/
H A Dsoftpub.c129 CRYPT_PROVIDER_SGNR sgnr = { 0 }; in test_utils() local
162 ret = funcs->pfnAddSgnr2Chain(&data, FALSE, 0, &sgnr); in test_utils()
170 ok(!memcmp(&data.pasSigners[0], &sgnr, sizeof(sgnr)), in test_utils()
173 sgnr.cbStruct = sizeof(CRYPT_PROVIDER_SGNR); in test_utils()
174 sgnr.sftVerifyAsOf.dwLowDateTime = 0xdeadbeef; in test_utils()
178 ok(!memcmp(&data.pasSigners[1], &sgnr, sizeof(sgnr)), in test_utils()
181 sgnr.cbStruct = sizeof(DWORD); in test_utils()
185 sgnr.sftVerifyAsOf.dwLowDateTime = 0; in test_utils()
187 ok(!memcmp(&data.pasSigners[2], &sgnr, sizeof(sgnr)), in test_utils()
190 sgnr.cbStruct = sizeof(sgnr) + sizeof(DWORD); in test_utils()
[all …]
/reactos/dll/win32/wintrust/
H A Dwintrust_main.c600 static void dump_sgnr_info(WINTRUST_SGNR_INFO *sgnr) in dump_sgnr_info() argument
602 TRACE("%p\n", sgnr); in dump_sgnr_info()
603 if (sgnr) in dump_sgnr_info()
605 TRACE("cbStruct: %d\n", sgnr->cbStruct); in dump_sgnr_info()
608 TRACE("chStores: %d\n", sgnr->chStores); in dump_sgnr_info()
755 CRYPT_PROVIDER_SGNR *sgnr; in WTHelperGetProvSignerFromChain() local
762 sgnr = &pProvData->pasSigners[idxSigner]; in WTHelperGetProvSignerFromChain()
766 !sgnr->pasCounterSigners) in WTHelperGetProvSignerFromChain()
768 sgnr = &sgnr->pasCounterSigners[idxCounterSigner]; in WTHelperGetProvSignerFromChain()
770 TRACE("returning %p\n", sgnr); in WTHelperGetProvSignerFromChain()
[all …]
H A Dwintrust_priv.h25 BOOL fCounterSigner, DWORD idxSigner, CRYPT_PROVIDER_SGNR *sgnr) DECLSPEC_HIDDEN;
H A Dsoftpub.c756 CRYPT_PROVIDER_SGNR sgnr = { sizeof(sgnr), { 0 } }; in WINTRUST_SaveSigner() local
758 sgnr.psSigner = signerInfo; in WINTRUST_SaveSigner()
759 sgnr.sftVerifyAsOf = WINTRUST_GetTimeFromSigner(data, signerInfo); in WINTRUST_SaveSigner()
760 if (!data->psPfns->pfnAddSgnr2Chain(data, FALSE, signerIdx, &sgnr)) in WINTRUST_SaveSigner()
/reactos/dll/win32/cryptdlg/
H A Dmain.c203 CRYPT_PROVIDER_SGNR *sgnr = WTHelperGetProvSignerFromChain(data, 0, in CRYPTDLG_CopyChain() local
206 if (sgnr) in CRYPTDLG_CopyChain()
208 sgnr->dwError = simpleChain->TrustStatus.dwErrorStatus; in CRYPTDLG_CopyChain()
209 sgnr->pChainContext = CertDuplicateCertificateChain(chain); in CRYPTDLG_CopyChain()
221 if ((cert = WTHelperGetProvCertFromChain(sgnr, i))) in CRYPTDLG_CopyChain()