|
ReactOS 0.4.16-dev-1946-g52006dd
|
#include <stdarg.h>#include <stdio.h>#include "windef.h"#include "winbase.h"#include "wintrust.h"#include "mscat.h"#include "mssip.h"#include "imagehlp.h"#include "winternl.h"#include "wine/debug.h"
Go to the source code of this file.
Classes | |
| struct | cryptcat |
| struct | catadmin |
| struct | catinfo |
| struct | _CAB_SIGNINFO |
Macros | |
| #define | CATADMIN_MAGIC 0x43415441 /* 'CATA' */ |
| #define | CRYPTCAT_MAGIC 0x43415443 /* 'CATC' */ |
| #define | CATINFO_MAGIC 0x43415449 /* 'CATI' */ |
| #define | cfhead_Signature (0x00) |
| #define | cfhead_CabinetSize (0x08) |
| #define | cfhead_MinorVersion (0x18) |
| #define | cfhead_MajorVersion (0x19) |
| #define | cfhead_Flags (0x1E) |
| #define | cfhead_SIZEOF (0x24) |
| #define | cfheadext_HeaderReserved (0x00) |
| #define | cfheadext_SIZEOF (0x04) |
| #define | cfsigninfo_CertOffset (0x04) |
| #define | cfsigninfo_CertSize (0x08) |
| #define | cfsigninfo_SIZEOF (0x0C) |
| #define | cfheadRESERVE_PRESENT (0x0004) |
| #define | EndGetI32(a) ((((a)[3])<<24)|(((a)[2])<<16)|(((a)[1])<<8)|((a)[0])) |
| #define | EndGetI16(a) ((((a)[1])<<8)|((a)[0])) |
Typedefs | |
| typedef struct _CAB_SIGNINFO | CAB_SIGNINFO |
| typedef struct _CAB_SIGNINFO * | PCAB_SIGNINFO |
Variables | |
| static const GUID | unknown |
| static const GUID | cabGUID |
| static const GUID | catGUID |
| typedef struct _CAB_SIGNINFO CAB_SIGNINFO |
| typedef struct _CAB_SIGNINFO * PCAB_SIGNINFO |
Definition at line 68 of file crypt.c.
Referenced by CryptCATAdminEnumCatalogFromHash().
Definition at line 97 of file crypt.c.
Referenced by InitFunctionPtrs(), and pSetupInstallCatalog().
| BOOL WINAPI CryptCATAdminAcquireContext2 | ( | HCATADMIN * | catAdmin, |
| const GUID * | sys, | ||
| const WCHAR * | algorithm, | ||
| const CERT_STRONG_SIGN_PARA * | policy, | ||
| DWORD | flags | ||
| ) |
Definition at line 151 of file crypt.c.
| HCATINFO WINAPI CryptCATAdminAddCatalog | ( | HCATADMIN | catAdmin, |
| PWSTR | catalogFile, | ||
| PWSTR | selectBaseName, | ||
| DWORD | flags | ||
| ) |
Definition at line 162 of file crypt.c.
Referenced by InitFunctionPtrs(), and pSetupInstallCatalog().
| BOOL WINAPI CryptCATAdminCalcHashFromFileHandle | ( | HANDLE | hFile, |
| DWORD * | pcbHash, | ||
| BYTE * | pbHash, | ||
| DWORD | dwFlags | ||
| ) |
Definition at line 219 of file crypt.c.
Referenced by InitFunctionPtrs().
| HCATINFO WINAPI CryptCATAdminEnumCatalogFromHash | ( | HCATADMIN | hCatAdmin, |
| BYTE * | pbHash, | ||
| DWORD | cbHash, | ||
| DWORD | dwFlags, | ||
| HCATINFO * | phPrevCatInfo | ||
| ) |
Definition at line 280 of file crypt.c.
| BOOL WINAPI CryptCATAdminReleaseCatalogContext | ( | HCATADMIN | hCatAdmin, |
| HCATINFO | hCatInfo, | ||
| DWORD | dwFlags | ||
| ) |
Definition at line 412 of file crypt.c.
Referenced by CryptCATAdminEnumCatalogFromHash(), InitFunctionPtrs(), and pSetupInstallCatalog().
Definition at line 444 of file crypt.c.
Referenced by InitFunctionPtrs(), and pSetupInstallCatalog().
| BOOL WINAPI CryptCATAdminRemoveCatalog | ( | HCATADMIN | hCatAdmin, |
| LPCWSTR | pwszCatalogFile, | ||
| DWORD | dwFlags | ||
| ) |
Definition at line 475 of file crypt.c.
Referenced by InitFunctionPtrs().
| BOOL WINAPI CryptCATAdminResolveCatalogPath | ( | HCATADMIN | hcatadmin, |
| WCHAR * | catalog_file, | ||
| CATALOG_INFO * | info, | ||
| DWORD | flags | ||
| ) |
| BOOL WINAPI CryptCATCatalogInfoFromContext | ( | HCATINFO | hcatinfo, |
| CATALOG_INFO * | info, | ||
| DWORD | flags | ||
| ) |
Definition at line 835 of file crypt.c.
Referenced by InitFunctionPtrs().
| BOOL WINAPI CryptCATCDFClose | ( | CRYPTCATCDF * | pCDF | ) |
Definition at line 984 of file crypt.c.
Referenced by InitFunctionPtrs().
| CRYPTCATATTRIBUTE *WINAPI CryptCATCDFEnumCatAttributes | ( | CRYPTCATCDF * | pCDF, |
| CRYPTCATATTRIBUTE * | pPrevAttr, | ||
| PFN_CDF_PARSE_ERROR_CALLBACK | pfnParseError | ||
| ) |
Definition at line 994 of file crypt.c.
Referenced by InitFunctionPtrs().
| LPWSTR WINAPI CryptCATCDFEnumMembersByCDFTagEx | ( | CRYPTCATCDF * | pCDF, |
| LPWSTR | pwszPrevCDFTag, | ||
| PFN_CDF_PARSE_ERROR_CALLBACK | pfnParseError, | ||
| CRYPTCATMEMBER ** | ppMember, | ||
| BOOL | fContinueOnError, | ||
| LPVOID | pvReserved | ||
| ) |
Definition at line 1006 of file crypt.c.
Referenced by InitFunctionPtrs().
| CRYPTCATCDF *WINAPI CryptCATCDFOpen | ( | LPWSTR | pwszFilePath, |
| PFN_CDF_PARSE_ERROR_CALLBACK | pfnParseError | ||
| ) |
Definition at line 540 of file crypt.c.
Referenced by CryptCATAdminEnumCatalogFromHash(), and InitFunctionPtrs().
| CRYPTCATATTRIBUTE *WINAPI CryptCATEnumerateAttr | ( | HANDLE | hCatalog, |
| CRYPTCATMEMBER * | member, | ||
| CRYPTCATATTRIBUTE * | prev | ||
| ) |
Definition at line 614 of file crypt.c.
Referenced by InitFunctionPtrs().
| CRYPTCATATTRIBUTE *WINAPI CryptCATEnumerateCatAttr | ( | HANDLE | hCatalog, |
| CRYPTCATATTRIBUTE * | prev | ||
| ) |
Definition at line 632 of file crypt.c.
Referenced by InitFunctionPtrs().
| CRYPTCATMEMBER *WINAPI CryptCATEnumerateMember | ( | HANDLE | hCatalog, |
| CRYPTCATMEMBER * | prev | ||
| ) |
Definition at line 650 of file crypt.c.
Referenced by CryptCATAdminEnumCatalogFromHash(), and InitFunctionPtrs().
| CRYPTCATATTRIBUTE *WINAPI CryptCATGetAttrInfo | ( | HANDLE | hCatalog, |
| CRYPTCATMEMBER * | member, | ||
| LPWSTR | tag | ||
| ) |
| CRYPTCATATTRIBUTE *WINAPI CryptCATGetCatAttrInfo | ( | HANDLE | hCatalog, |
| LPWSTR | tag | ||
| ) |
| CRYPTCATMEMBER *WINAPI CryptCATGetMemberInfo | ( | HANDLE | hCatalog, |
| LPWSTR | tag | ||
| ) |
| HANDLE WINAPI CryptCATOpen | ( | LPWSTR | pwszFileName, |
| DWORD | fdwOpenFlags, | ||
| HCRYPTPROV | hProv, | ||
| DWORD | dwPublicVersion, | ||
| DWORD | dwEncodingType | ||
| ) |
Definition at line 854 of file crypt.c.
Referenced by CryptCATAdminEnumCatalogFromHash(), and InitFunctionPtrs().
| BOOL WINAPI CryptSIPCreateIndirectData | ( | SIP_SUBJECTINFO * | pSubjectInfo, |
| DWORD * | pcbIndirectData, | ||
| SIP_INDIRECT_DATA * | pIndirectData | ||
| ) |
| BOOL WINAPI CryptSIPGetSignedDataMsg | ( | SIP_SUBJECTINFO * | pSubjectInfo, |
| DWORD * | pdwEncodingType, | ||
| DWORD | dwIndex, | ||
| DWORD * | pcbSignedDataMsg, | ||
| BYTE * | pbSignedDataMsg | ||
| ) |
Definition at line 1375 of file crypt.c.
| BOOL WINAPI CryptSIPPutSignedDataMsg | ( | SIP_SUBJECTINFO * | pSubjectInfo, |
| DWORD | pdwEncodingType, | ||
| DWORD * | pdwIndex, | ||
| DWORD | cbSignedDataMsg, | ||
| BYTE * | pbSignedDataMsg | ||
| ) |
Definition at line 1412 of file crypt.c.
| BOOL WINAPI CryptSIPRemoveSignedDataMsg | ( | SIP_SUBJECTINFO * | pSubjectInfo, |
| DWORD | dwIndex | ||
| ) |
| BOOL WINAPI CryptSIPVerifyIndirectData | ( | SIP_SUBJECTINFO * | pSubjectInfo, |
| SIP_INDIRECT_DATA * | pIndirectData | ||
| ) |
Definition at line 796 of file crypt.c.
Referenced by CryptCATOpen().
| WINE_DEFAULT_DEBUG_CHANNEL | ( | wintrust | ) |
|
static |
Definition at line 1187 of file crypt.c.
Referenced by CryptSIPGetSignedDataMsg().
|
static |
Definition at line 1329 of file crypt.c.
Referenced by CryptSIPGetSignedDataMsg().
|
static |
Definition at line 1028 of file crypt.c.
Referenced by CryptSIPGetSignedDataMsg().
|
static |
Definition at line 1119 of file crypt.c.
Referenced by CryptSIPPutSignedDataMsg().
Definition at line 1367 of file crypt.c.
Referenced by CryptSIPGetSignedDataMsg(), CryptSIPRetrieveSubjectGuid(), and test_SIPRetrieveSubjectGUID().
Definition at line 1369 of file crypt.c.
Referenced by CryptSIPGetSignedDataMsg(), CryptSIPRetrieveSubjectGuid(), and IsCatalogFile().
Definition at line 1365 of file crypt.c.
Referenced by CryptSIPGetSignedDataMsg(), CryptSIPPutSignedDataMsg(), and test_context().