OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 [JavaPackage="org.chromium.payments.mojom"] | 5 [JavaPackage="org.chromium.payments.mojom"] |
6 module payments.mojom; | 6 module payments.mojom; |
7 | 7 |
8 struct PaymentManifestSection { | 8 struct PaymentManifestSection { |
9 string package_name; | 9 string package_name; |
10 // Optional version number. 0 if not defined. | 10 // Optional version number. 0 if not defined. |
11 int64 version; | 11 int64 version; |
12 // The result of SHA256(signing certificate bytes) for each certificate in the | 12 // The result of SHA256(signing certificate bytes) for each certificate in the |
13 // package. | 13 // package. |
14 array<array<uint8, 32>> sha256_cert_fingerprints; | 14 array<array<uint8, 32>> sha256_cert_fingerprints; |
15 }; | 15 }; |
16 | 16 |
17 interface PaymentManifestParser { | 17 interface PaymentManifestParser { |
18 Parse(string content) => (array<PaymentManifestSection> manifest); | 18 Parse(string content) => (array<PaymentManifestSection> manifest); |
19 }; | 19 }; |
OLD | NEW |