Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(570)

Unified Diff: components/policy/core/common/cloud/cloud_policy_constants.h

Issue 2507423002: Remove unnecessary plumbing for policy verification key (Closed)
Patch Set: git cl format and rebase. Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/policy/core/common/cloud/cloud_policy_constants.h
diff --git a/components/policy/core/common/cloud/cloud_policy_constants.h b/components/policy/core/common/cloud/cloud_policy_constants.h
index f6249ec98bbfe92c91857b22dedbd333f11b9aa4..d92d66a0d3489b87a674de84e5ff4319ea3b7f6a 100644
--- a/components/policy/core/common/cloud/cloud_policy_constants.h
+++ b/components/policy/core/common/cloud/cloud_policy_constants.h
@@ -62,9 +62,12 @@ enum PolicyFetchStatus {
// The header used to transmit the policy ID for this client.
POLICY_EXPORT extern const char kChromePolicyHeader[];
-// Information about the verification key used to verify that policy signing
-// keys are valid.
+// Public half of the verification key that is used to verify that policy
+// signing keys are originating from DM server. Returns empty string in case
+// policy key verification is disabled on the command line.
POLICY_EXPORT std::string GetPolicyVerificationKey();
+
+// Corresponding hash.
POLICY_EXPORT extern const char kPolicyVerificationKeyHash[];
// Status codes for communication errors with the device management service.

Powered by Google App Engine
This is Rietveld 408576698