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 (including the \"B
EGIN CERTIFICATE\" header and \"END CERTIFICATE\" footer) X.509 certificate for
use in verifying the signed data." | 30 "description": "A string containing a PEM-encoded 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." | |
37 }, | 31 }, |
38 "publicKey": { | 32 "publicKey": { |
39 "type": "string", | 33 "type": "string", |
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." | 34 "description": "A string containing a PEM-encoded RSA public key to
be used to compare with the one in signedData" |
41 }, | 35 }, |
42 "nonce": { | 36 "nonce": { |
43 "type": "string", | 37 "type": "string", |
44 "description": "A string containing a base64-encoded random binary d
ata for use in verifying the signed data." | 38 "description": "A string containing a base64-encoded random binary d
ata for use in verifying the signed data." |
45 }, | 39 }, |
46 "signedData": { | 40 "signedData": { |
47 "type": "string", | 41 "type": "string", |
48 "description": "A string containing the identifying data string sign
ed by the device." | 42 "description": "A string containing the identifying data string sign
ed by the device." |
49 }, | 43 }, |
50 "deviceSerial": { | 44 "deviceSerial": { |
(...skipping 465 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
516 }, | 510 }, |
517 { | 511 { |
518 "name": "status", | 512 "name": "status", |
519 "$ref": "CaptivePortalStatus" | 513 "$ref": "CaptivePortalStatus" |
520 } | 514 } |
521 ] | 515 ] |
522 } | 516 } |
523 ] | 517 ] |
524 } | 518 } |
525 ] | 519 ] |
OLD | NEW |