-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add device management (DM) request/response parser.
This is part of the changes for enterprise support in Chromium updater. The added code is to construct the request send to DM server and parse the response into an internal data structure. This feature is a rewrite of a similar feature already present in Omaha (Google Update). This CL also introduces the dependency on //crypto. This is to enable the parser to verify the SHA256 signature in the response and to extract the public key for future response verification. In the unit test, crypto lib is also used for signature creation. Bug: 1068797 Change-Id: Ieaa3565ff7293cfb52858ae39d18a794ef7a8823 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2276535 Commit-Queue: Xiaoling Bao <xiaolingbao@chromium.org> Reviewed-by: Adam Langley <agl@chromium.org> Reviewed-by: Sorin Jianu <sorin@chromium.org> Reviewed-by: S. Ganesh <ganesh@chromium.org> Cr-Commit-Position: refs/heads/master@{#785582}
- Loading branch information
1 parent
b968841
commit 43989c7
Showing
10 changed files
with
1,136 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.