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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « media/mojo/interfaces/mojo_bindings.gyp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // TODO(xhwang): Move this out of media if it is needed anywhere else.
6 module media.interfaces;
7
8 // Allows authorized services to verify that the underlying platform is trusted.
9 // An example of a trusted platform is a Chrome OS device in verified boot mode.
10 // This can be used for protected content playback.
11 //
12 // Input parameters:
13 // - |service_id|: the service ID for the |challenge|.
14 // - |challenge|: the challenge data.
15 //
16 // Output parameters:
17 // - |success|: whether the platform is successfully verified. If true/false the
18 // following 3 parameters should be non-empty/empty.
19 // - |signed_data|: the data signed by the platform.
20 // - |signed_data_signature|: the signature of the signed data block.
21 // - |platform_key_certificate|: the device specific certificate for the
22 // requested service.
23 interface PlatformVerification {
24 ChallengePlatform(string service_id, string challenge) =>
25 (bool success,
26 string? signed_data,
27 string? signed_data_signature,
28 string? platform_key_certificate);
29 };
OLDNEW
« 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