OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 [ | 5 [ |
6 { | 6 { |
7 "namespace":"networkingPrivate", | 7 "namespace":"networkingPrivate", |
8 "description": "none", | 8 "description": "none", |
9 "compiler_options": { | 9 "compiler_options": { |
10 "implemented_in": "chrome/browser/extensions/api/networking_private/networ
king_private_api.h" | 10 "implemented_in": "chrome/browser/extensions/api/networking_private/networ
king_private_api.h" |
11 }, | 11 }, |
12 "platforms": ["chromeos", "win", "mac", "linux"], | 12 "platforms": ["chromeos", "win", "mac", "linux"], |
13 "types" : [ | 13 "types" : [ |
14 { | 14 { |
15 "id": "NetworkProperties", | 15 "id": "NetworkProperties", |
16 "type": "object", | 16 "type": "object", |
17 "additionalProperties": { "type": "any" } | 17 "additionalProperties": { "type": "any" } |
18 }, | 18 }, |
19 { | 19 { |
20 "id": "ManagedNetworkProperties", | 20 "id": "ManagedNetworkProperties", |
21 "type": "object", | 21 "type": "object", |
22 "additionalProperties": { "type": "any" } | 22 "additionalProperties": { "type": "any" } |
23 }, | 23 }, |
24 { | 24 { |
25 "id": "VerificationProperties", | 25 "id": "VerificationProperties", |
26 "type": "object", | 26 "type": "object", |
27 "properties": { | 27 "properties": { |
28 "certificate": { | 28 "certificate": { |
29 "type": "string", | 29 "type": "string", |
30 "description": "A string containing a PEM-encoded X.509 certificate
for use in verifying the signed data." | 30 "description": "A string containing a PEM-encoded (including the \"B
EGIN CERTIFICATE\" header and \"END CERTIFICATE\" footer) X.509 certificate for
use in verifying the signed data." |
| 31 }, |
| 32 "intermediateCertificates": { |
| 33 "type": "array", |
| 34 "items": { "type": "string" }, |
| 35 "optional": true, |
| 36 "description": "An array of PEM-encoded X.509 intermediate certifica
te authority certificates. Each PEM-encoded certificate is expected to have the
\"BEGIN CERTIFICATE\" header and \"END CERTIFICATE\" footer." |
31 }, | 37 }, |
32 "publicKey": { | 38 "publicKey": { |
33 "type": "string", | 39 "type": "string", |
34 "description": "A string containing a PEM-encoded RSA public key to
be used to compare with the one in signedData" | 40 "description": "A string containing a Base64-encoded RSAPublicKey AS
N.1 structure, representing the public key to be used by verifyAndEncryptCredent
ials and verifyAndEncryptData methods." |
35 }, | 41 }, |
36 "nonce": { | 42 "nonce": { |
37 "type": "string", | 43 "type": "string", |
38 "description": "A string containing a base64-encoded random binary d
ata for use in verifying the signed data." | 44 "description": "A string containing a base64-encoded random binary d
ata for use in verifying the signed data." |
39 }, | 45 }, |
40 "signedData": { | 46 "signedData": { |
41 "type": "string", | 47 "type": "string", |
42 "description": "A string containing the identifying data string sign
ed by the device." | 48 "description": "A string containing the identifying data string sign
ed by the device." |
43 }, | 49 }, |
44 "deviceSerial": { | 50 "deviceSerial": { |
(...skipping 465 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
510 }, | 516 }, |
511 { | 517 { |
512 "name": "status", | 518 "name": "status", |
513 "$ref": "CaptivePortalStatus" | 519 "$ref": "CaptivePortalStatus" |
514 } | 520 } |
515 ] | 521 ] |
516 } | 522 } |
517 ] | 523 ] |
518 } | 524 } |
519 ] | 525 ] |
OLD | NEW |