certificatecheck.cpp |
Checks to see if a file stored at filePath matches the specified info.
@param filePath The PE file path to check
@param infoToMatch The acceptable information to match
@return ERROR_SUCCESS if successful, ERROR_NOT_FOUND if the info
does not match, or the last error otherwise.
|
7942 |
certificatecheck.h |
|
691 |
commonupdatedir.cpp |
This file does not use many of the features Firefox provides such as
nsAString and nsIFile because code in this file will be included not only
in Firefox, but also in the Mozilla Maintenance Service, the Mozilla
Maintenance Service installer, and TestAUSHelper.
|
24884 |
commonupdatedir.h |
|
1665 |
moz.build |
|
1942 |
pathhash.cpp |
Converts a binary sequence into a hex string
@param hash The binary data sequence
@param hashSize The size of the binary data sequence
@param hexString A buffer to store the hex string, must be of
size 2 * @hashSize
|
3898 |
pathhash.h |
Converts a file path into a unique registry location for cert storage
@param filePath The input file path to get a registry path from
@param registryPath A buffer to write the registry path to, must
be of size in WCHARs MAX_PATH + 1
@return TRUE if successful
|
716 |
readstrings.cpp |
Find a key in a keyList containing zero-delimited keys ending with "\0\0".
Returns a zero-based index of the key in the list, or -1 if the key is not
found.
|
11551 |
readstrings.h |
This function reads in localized strings from updater.ini
|
3567 |
registrycertificates.cpp |
Verifies if the file path matches any certificate stored in the registry.
@param filePath
The file path of the application to check if allowed.
@param allowFallbackKeySkip
When this is TRUE the fallback registry key can be used to skip the
certificate check. This is the default since the fallback registry
key is located under HKEY_LOCAL_MACHINE which can't be written to by
a low integrity process.
Note: The maintenance service binary can be used to perform this
check for testing or troubleshooting.
Note: When this is `TRUE` and we are building with
`DISABLE_UPDATER_AUTHENTICODE_CHECK`, this function will
unconditionally return `TRUE` since that flag is meant to
disable specifically this. We don't fall through in the `FALSE`
case since currently the only time when we don't allow the
fallback key is when we are running this for debugging purposes
and, in that case, it's more helpful if we return something
meaningful here.
@return TRUE if the binary matches any of the allowed certificates.
|
6455 |
registrycertificates.h |
|
512 |
uachelper.cpp |
Opens a user token for the given session ID
@param sessionID The session ID for the token to obtain
@return A handle to the token to obtain which will be primary if enough
permissions exist. Caller should close the handle.
|
6697 |
uachelper.h |
|
734 |
updatecommon.cpp |
|
15104 |
updatecommon.h |
|
1216 |
updatedefines.h |
|
4239 |
updatehelper.cpp |
Obtains the path of a file in the same directory as the specified file.
@param destinationBuffer A buffer of size MAX_PATH + 1 to store the result.
@param siblingFilePath The path of another file in the same directory
@param newFileName The filename of another file in the same directory
@return TRUE if successful
|
24274 |
updatehelper.h |
|
1746 |
updatererrors.h |
|
4914 |
updateutils_win.cpp |
Note: The reason that these functions are separated from those in
updatehelper.h/updatehelper.cpp is that those functions are strictly
used within the updater, whereas changing functions in updateutils_win
will have effects reaching beyond application update.
|
5073 |
updateutils_win.h |
Note: The reason that these functions are separated from those in
updatehelper.h/updatehelper.cpp is that those functions are strictly
used within the updater, whereas changing functions in updateutils_win
will have effects reaching beyond application update.
|
1333 |