|
ReactOS 0.4.16-dev-2498-g8632030
|
#include <stdarg.h>#include <stdio.h>#include "windef.h"#include "winbase.h"#include "wintrust.h"#include "winver.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 |
|
static |
Definition at line 335 of file crypt.c.
Referenced by CryptCATAdminCalcHashFromFileHandle(), and CryptCATAdminCalcHashFromFileHandle2().
Definition at line 72 of file crypt.c.
Referenced by CryptCATAdminEnumCatalogFromHash().
Definition at line 101 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 | dwFlags | ||
| ) |
Definition at line 124 of file crypt.c.
Referenced by CryptCATAdminAcquireContext(), and InitFunctionPtrs().
| HCATINFO WINAPI CryptCATAdminAddCatalog | ( | HCATADMIN | catAdmin, |
| PWSTR | catalogFile, | ||
| PWSTR | selectBaseName, | ||
| DWORD | flags | ||
| ) |
Definition at line 207 of file crypt.c.
Referenced by InitFunctionPtrs(), and pSetupInstallCatalog().
| BOOL WINAPI CryptCATAdminCalcHashFromFileHandle | ( | HANDLE | hFile, |
| DWORD * | pcbHash, | ||
| BYTE * | pbHash, | ||
| DWORD | dwFlags | ||
| ) |
Definition at line 424 of file crypt.c.
Referenced by InitFunctionPtrs().
| BOOL WINAPI CryptCATAdminCalcHashFromFileHandle2 | ( | HCATADMIN | catAdmin, |
| HANDLE | hFile, | ||
| DWORD * | pcbHash, | ||
| BYTE * | pbHash, | ||
| DWORD | dwFlags | ||
| ) |
Definition at line 448 of file crypt.c.
Referenced by InitFunctionPtrs().
| HCATINFO WINAPI CryptCATAdminEnumCatalogFromHash | ( | HCATADMIN | hCatAdmin, |
| BYTE * | pbHash, | ||
| DWORD | cbHash, | ||
| DWORD | dwFlags, | ||
| HCATINFO * | phPrevCatInfo | ||
| ) |
Definition at line 466 of file crypt.c.
| BOOL WINAPI CryptCATAdminReleaseCatalogContext | ( | HCATADMIN | hCatAdmin, |
| HCATINFO | hCatInfo, | ||
| DWORD | dwFlags | ||
| ) |
Definition at line 598 of file crypt.c.
Referenced by CryptCATAdminEnumCatalogFromHash(), InitFunctionPtrs(), and pSetupInstallCatalog().
Definition at line 632 of file crypt.c.
Referenced by InitFunctionPtrs(), and pSetupInstallCatalog().
| BOOL WINAPI CryptCATAdminRemoveCatalog | ( | HCATADMIN | hCatAdmin, |
| LPCWSTR | pwszCatalogFile, | ||
| DWORD | dwFlags | ||
| ) |
Definition at line 665 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 1023 of file crypt.c.
Referenced by InitFunctionPtrs().
| BOOL WINAPI CryptCATCDFClose | ( | CRYPTCATCDF * | pCDF | ) |
Definition at line 1234 of file crypt.c.
Referenced by InitFunctionPtrs().
| CRYPTCATATTRIBUTE *WINAPI CryptCATCDFEnumCatAttributes | ( | CRYPTCATCDF * | pCDF, |
| CRYPTCATATTRIBUTE * | pPrevAttr, | ||
| PFN_CDF_PARSE_ERROR_CALLBACK | pfnParseError | ||
| ) |
Definition at line 1244 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 1256 of file crypt.c.
Referenced by InitFunctionPtrs().
| CRYPTCATCDF *WINAPI CryptCATCDFOpen | ( | LPWSTR | pwszFilePath, |
| PFN_CDF_PARSE_ERROR_CALLBACK | pfnParseError | ||
| ) |
Definition at line 730 of file crypt.c.
Referenced by CryptCATAdminEnumCatalogFromHash(), and InitFunctionPtrs().
| CRYPTCATATTRIBUTE *WINAPI CryptCATEnumerateAttr | ( | HANDLE | hCatalog, |
| CRYPTCATMEMBER * | member, | ||
| CRYPTCATATTRIBUTE * | prev | ||
| ) |
Definition at line 805 of file crypt.c.
Referenced by InitFunctionPtrs().
| CRYPTCATATTRIBUTE *WINAPI CryptCATEnumerateCatAttr | ( | HANDLE | hCatalog, |
| CRYPTCATATTRIBUTE * | prev | ||
| ) |
Definition at line 823 of file crypt.c.
Referenced by InitFunctionPtrs().
| CRYPTCATMEMBER *WINAPI CryptCATEnumerateMember | ( | HANDLE | hCatalog, |
| CRYPTCATMEMBER * | prev | ||
| ) |
Definition at line 841 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 | ( | WCHAR * | filename, |
| DWORD | flags, | ||
| HCRYPTPROV | hProv, | ||
| DWORD | dwPublicVersion, | ||
| DWORD | dwEncodingType | ||
| ) |
Definition at line 1092 of file crypt.c.
Referenced by CryptCATAdminEnumCatalogFromHash(), and InitFunctionPtrs().
| CRYPTCATATTRIBUTE *WINAPI CryptCATPutAttrInfo | ( | HANDLE | catalog, |
| CRYPTCATMEMBER * | member, | ||
| WCHAR * | name, | ||
| DWORD | flags, | ||
| DWORD | size, | ||
| BYTE * | data | ||
| ) |
| CRYPTCATATTRIBUTE *WINAPI CryptCATPutCatAttrInfo | ( | HANDLE | catalog, |
| WCHAR * | name, | ||
| DWORD | flags, | ||
| DWORD | size, | ||
| BYTE * | data | ||
| ) |
| CRYPTCATMEMBER *WINAPI CryptCATPutMemberInfo | ( | HANDLE | catalog, |
| WCHAR * | filename, | ||
| WCHAR * | member, | ||
| GUID * | subject, | ||
| DWORD | version, | ||
| DWORD | size, | ||
| BYTE * | data | ||
| ) |
Definition at line 1068 of file crypt.c.
| 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 1625 of file crypt.c.
| BOOL WINAPI CryptSIPPutSignedDataMsg | ( | SIP_SUBJECTINFO * | pSubjectInfo, |
| DWORD | pdwEncodingType, | ||
| DWORD * | pdwIndex, | ||
| DWORD | cbSignedDataMsg, | ||
| BYTE * | pbSignedDataMsg | ||
| ) |
Definition at line 1662 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 984 of file crypt.c.
Referenced by CryptCATOpen().
|
static |
Definition at line 261 of file crypt.c.
Referenced by catadmin_calc_hash_from_filehandle().
| WINE_DEFAULT_DEBUG_CHANNEL | ( | wintrust | ) |
|
static |
Definition at line 1437 of file crypt.c.
Referenced by CryptSIPGetSignedDataMsg().
|
static |
Definition at line 1579 of file crypt.c.
Referenced by CryptSIPGetSignedDataMsg().
|
static |
Definition at line 1278 of file crypt.c.
Referenced by CryptSIPGetSignedDataMsg().
|
static |
Definition at line 1369 of file crypt.c.
Referenced by CryptSIPPutSignedDataMsg().
Definition at line 1617 of file crypt.c.
Referenced by CryptSIPGetSignedDataMsg(), CryptSIPRetrieveSubjectGuid(), and test_SIPRetrieveSubjectGUID().
Definition at line 1619 of file crypt.c.
Referenced by CryptSIPGetSignedDataMsg(), CryptSIPRetrieveSubjectGuid(), and IsCatalogFile().
Definition at line 1615 of file crypt.c.
Referenced by CryptSIPGetSignedDataMsg(), CryptSIPPutSignedDataMsg(), and test_context().