LibreOffice Module onlineupdate (master) 1
certificatecheck.hxx
Go to the documentation of this file.
1/* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4
5#ifndef _CERTIFICATECHECK_H_
6#define _CERTIFICATECHECK_H_
7
8#include <wincrypt.h>
9
11{
12 LPCWSTR name;
13 LPCWSTR issuer;
14};
15
16BOOL DoCertificateAttributesMatch(PCCERT_CONTEXT pCertContext,
17 CertificateCheckInfo &infoToMatch);
18DWORD VerifyCertificateTrustForFile(LPCWSTR filePath);
19DWORD CheckCertificateForPEFile(LPCWSTR filePath,
20 CertificateCheckInfo &infoToMatch);
21
22#endif
DWORD CheckCertificateForPEFile(LPCWSTR filePath, CertificateCheckInfo &infoToMatch)
Checks to see if a file stored at filePath matches the specified info.
BOOL DoCertificateAttributesMatch(PCCERT_CONTEXT pCertContext, CertificateCheckInfo &infoToMatch)
Checks to see if a file stored at filePath matches the specified info.
DWORD VerifyCertificateTrustForFile(LPCWSTR filePath)
Verifies the trust of the specified file path.
const wchar_t *typedef BOOL