From 259dc8c17c87c90b412da1528b8947f2d236d006 Mon Sep 17 00:00:00 2001 From: Juan Lang Date: Sun, 23 Oct 2011 11:50:19 -0700 Subject: [PATCH] wincrypt.h: Add FindCertsByIssuer declaration. --- include/wincrypt.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/include/wincrypt.h b/include/wincrypt.h index 1e0224772d1..843e09dcd5c 100644 --- a/include/wincrypt.h +++ b/include/wincrypt.h @@ -833,6 +833,12 @@ typedef struct _CTL_VERIFY_USAGE_STATUS { #define CERT_VERIFY_ALLOW_MORE_USAGE_FLAG 0x8 #define CERT_VERIFY_UPDATED_CTL_FLAG 0x1 +typedef struct _CERT_CHAIN { + DWORD cCerts; + PCERT_BLOB certs; + CRYPT_KEY_PROV_INFO keyLocatorInfo; +} CERT_CHAIN, *PCERT_CHAIN; + typedef struct _CERT_REVOCATION_STATUS { DWORD cbSize; DWORD dwIndex; @@ -4528,6 +4534,11 @@ BOOL WINAPI CryptRetrieveObjectByUrlW(LPCWSTR pszURL, LPCSTR pszObjectOid, PCRYPT_RETRIEVE_AUX_INFO pAuxInfo); #define CryptRetrieveObjectByUrl WINELIB_NAME_AW(CryptRetrieveObjectByUrl) +/* Not found in crypt32.dll but in softpub.dll */ +HRESULT WINAPI FindCertsByIssuer(PCERT_CHAIN pCertChains, DWORD *pcbCertChains, + DWORD *pcCertChains, BYTE* pbEncodedIssuerName, DWORD cbEncodedIssuerName, + LPCWSTR pwszPurpose, DWORD dwKeySpec); + #ifdef __cplusplus } #endif