Module: wine Branch: master Commit: 259dc8c17c87c90b412da1528b8947f2d236d006 URL: http://source.winehq.org/git/wine.git/?a=commit;h=259dc8c17c87c90b412da1528b...
Author: Juan Lang juan.lang@gmail.com Date: Sun Oct 23 11:50:19 2011 -0700
wincrypt.h: Add FindCertsByIssuer declaration.
---
include/wincrypt.h | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/include/wincrypt.h b/include/wincrypt.h index 1e02247..843e09d 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