Process Hacker
|
Go to the source code of this file.
Functions | |
VERIFY_RESULT | PhpStatusToVerifyResult (_In_ LONG Status) |
BOOLEAN | PhpGetSignaturesFromStateData (_In_ HANDLE StateData, _Out_ PCERT_CONTEXT **Signatures, _Out_ PULONG NumberOfSignatures) |
VOID | PhpViewSignerInfo (_In_ PPH_VERIFY_FILE_INFO Information, _In_ HANDLE StateData) |
VERIFY_RESULT | PhpVerifyFile (_In_ PPH_VERIFY_FILE_INFO Information, _In_ HANDLE FileHandle, _In_ ULONG UnionChoice, _In_ PVOID UnionData, _In_ PGUID ActionId, _In_opt_ PVOID PolicyCallbackData, _Out_ PCERT_CONTEXT **Signatures, _Out_ PULONG NumberOfSignatures) |
BOOLEAN | PhpCalculateFileHash (_In_ HANDLE FileHandle, _In_ PWSTR HashAlgorithm, _Out_ PUCHAR *FileHash, _Out_ PULONG FileHashLength, _Out_ HANDLE *CatAdminHandle) |
VERIFY_RESULT | PhpVerifyFileFromCatalog (_In_ PPH_VERIFY_FILE_INFO Information, _In_ HANDLE FileHandle, _In_opt_ PWSTR HashAlgorithm, _Out_ PCERT_CONTEXT **Signatures, _Out_ PULONG NumberOfSignatures) |
NTSTATUS | PhVerifyFileEx (_In_ PPH_VERIFY_FILE_INFO Information, _Out_ VERIFY_RESULT *VerifyResult, _Out_opt_ PCERT_CONTEXT **Signatures, _Out_opt_ PULONG NumberOfSignatures) |
VOID | PhFreeVerifySignatures (_In_ PCERT_CONTEXT *Signatures, _In_ ULONG NumberOfSignatures) |
PPH_STRING | PhpGetCertNameString (_In_ PCERT_NAME_BLOB Blob) |
PPH_STRING | PhpGetX500Value (_In_ PPH_STRINGREF String, _In_ PPH_STRINGREF KeyName) |
PPH_STRING | PhGetSignerNameFromCertificate (_In_ PCERT_CONTEXT Certificate) |
VERIFY_RESULT | PhVerifyFile (_In_ PWSTR FileName, _Out_opt_ PPH_STRING *SignerName) |
Verifies a file's digital signature. | |
VOID PhFreeVerifySignatures | ( | _In_ PCERT_CONTEXT * | Signatures, |
_In_ ULONG | NumberOfSignatures | ||
) |
PPH_STRING PhGetSignerNameFromCertificate | ( | _In_ PCERT_CONTEXT | Certificate | ) |
BOOLEAN PhpCalculateFileHash | ( | _In_ HANDLE | FileHandle, |
_In_ PWSTR | HashAlgorithm, | ||
_Out_ PUCHAR * | FileHash, | ||
_Out_ PULONG | FileHashLength, | ||
_Out_ HANDLE * | CatAdminHandle | ||
) |
PPH_STRING PhpGetCertNameString | ( | _In_ PCERT_NAME_BLOB | Blob | ) |
BOOLEAN PhpGetSignaturesFromStateData | ( | _In_ HANDLE | StateData, |
_Out_ PCERT_CONTEXT ** | Signatures, | ||
_Out_ PULONG | NumberOfSignatures | ||
) |
PPH_STRING PhpGetX500Value | ( | _In_ PPH_STRINGREF | String, |
_In_ PPH_STRINGREF | KeyName | ||
) |
VERIFY_RESULT PhpStatusToVerifyResult | ( | _In_ LONG | Status | ) |
VERIFY_RESULT PhpVerifyFile | ( | _In_ PPH_VERIFY_FILE_INFO | Information, |
_In_ HANDLE | FileHandle, | ||
_In_ ULONG | UnionChoice, | ||
_In_ PVOID | UnionData, | ||
_In_ PGUID | ActionId, | ||
_In_opt_ PVOID | PolicyCallbackData, | ||
_Out_ PCERT_CONTEXT ** | Signatures, | ||
_Out_ PULONG | NumberOfSignatures | ||
) |
VERIFY_RESULT PhpVerifyFileFromCatalog | ( | _In_ PPH_VERIFY_FILE_INFO | Information, |
_In_ HANDLE | FileHandle, | ||
_In_opt_ PWSTR | HashAlgorithm, | ||
_Out_ PCERT_CONTEXT ** | Signatures, | ||
_Out_ PULONG | NumberOfSignatures | ||
) |
VOID PhpViewSignerInfo | ( | _In_ PPH_VERIFY_FILE_INFO | Information, |
_In_ HANDLE | StateData | ||
) |
VERIFY_RESULT PhVerifyFile | ( | _In_ PWSTR | FileName, |
_Out_opt_ PPH_STRING * | SignerName | ||
) |
Verifies a file's digital signature.
FileName | A file name. |
SignerName | A variable which receives a pointer to a string containing the signer name. You must free the string using PhDereferenceObject() when you no longer need it. Note that the signer name may be NULL if it is not valid. |
NTSTATUS PhVerifyFileEx | ( | _In_ PPH_VERIFY_FILE_INFO | Information, |
_Out_ VERIFY_RESULT * | VerifyResult, | ||
_Out_opt_ PCERT_CONTEXT ** | Signatures, | ||
_Out_opt_ PULONG | NumberOfSignatures | ||
) |
_CertDuplicateCertificateContext CertDuplicateCertificateContext_I |
_CertFreeCertificateContext CertFreeCertificateContext_I |
_CertNameToStr CertNameToStr_I |
_CryptCATAdminAcquireContext CryptCATAdminAcquireContext |
_CryptCATAdminAcquireContext2 CryptCATAdminAcquireContext2 |
_CryptCATAdminCalcHashFromFileHandle CryptCATAdminCalcHashFromFileHandle |
_CryptCATAdminCalcHashFromFileHandle2 CryptCATAdminCalcHashFromFileHandle2 |
_CryptCATAdminEnumCatalogFromHash CryptCATAdminEnumCatalogFromHash |
_CryptCATAdminReleaseCatalogContext CryptCATAdminReleaseCatalogContext |
_CryptCATAdminReleaseContext CryptCATAdminReleaseContext |
_CryptCATCatalogInfoFromContext CryptCATCatalogInfoFromContext |
_WinVerifyTrust WinVerifyTrust_I |
_WTHelperGetProvSignerFromChain WTHelperGetProvSignerFromChain_I |
_WTHelperProvDataFromStateData WTHelperProvDataFromStateData_I |