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

Unified Diff: media/mojo/interfaces/platform_verification.mojom

Issue 1053773007: Add Platform Verification Mojo Services. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase only Created 5 years, 7 months 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
« no previous file with comments | « media/mojo/interfaces/mojo_bindings.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mojo/interfaces/platform_verification.mojom
diff --git a/media/mojo/interfaces/platform_verification.mojom b/media/mojo/interfaces/platform_verification.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..e52ac952ff2dff8b47fbff8490e47e8aeb33978c
--- /dev/null
+++ b/media/mojo/interfaces/platform_verification.mojom
@@ -0,0 +1,29 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// TODO(xhwang): Move this out of media if it is needed anywhere else.
+module media.interfaces;
+
+// Allows authorized services to verify that the underlying platform is trusted.
+// An example of a trusted platform is a Chrome OS device in verified boot mode.
+// This can be used for protected content playback.
+//
+// Input parameters:
+// - |service_id|: the service ID for the |challenge|.
+// - |challenge|: the challenge data.
+//
+// Output parameters:
+// - |success|: whether the platform is successfully verified. If true/false the
+// following 3 parameters should be non-empty/empty.
+// - |signed_data|: the data signed by the platform.
+// - |signed_data_signature|: the signature of the signed data block.
+// - |platform_key_certificate|: the device specific certificate for the
+// requested service.
+interface PlatformVerification {
+ ChallengePlatform(string service_id, string challenge) =>
+ (bool success,
+ string? signed_data,
+ string? signed_data_signature,
+ string? platform_key_certificate);
+};
« no previous file with comments | « media/mojo/interfaces/mojo_bindings.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698