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

Side by Side Diff: chrome/test/data/chromeos/network_settings/managed_vpn.onc

Issue 11415148: Adding error handling to ONC validation. (Closed) Base URL: http://git.chromium.org/chromium/src.git@extract_onc_certificate
Patch Set: Initial patch. Created 8 years 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
OLDNEW
1 { "GUID": "123", 1 { "GUID": "123",
2 "Type": "VPN", 2 "Type": "VPN",
3 "Name": "testopenvpn", 3 "Name": "testopenvpn",
4 "IPConfigs": [ 4 "IPConfigs": [
5 { "Type": "IPv4", 5 { "Type": "IPv4",
6 "IPAddress": "127.0.0.1", 6 "IPAddress": "127.0.0.1",
7 "RoutingPrefix": 32 } 7 "RoutingPrefix": 32 }
8 ], 8 ],
9 "VPN": { 9 "VPN": {
10 "Host": "policys host", 10 "Host": "policys host",
11 "Recommended": ["Host"], 11 "Recommended": ["Host"],
12 "Type": "OpenVPN", 12 "Type": "OpenVPN",
13 "OpenVPN": { 13 "OpenVPN": {
14 "Port": 1194, 14 "Port": 1194,
15 "Username": "policy user", 15 "Username": "policy user",
16 "Recommended": [ "Username", "Password" ], 16 "Recommended": [ "Username", "Password" ],
17 "ClientCertType": "Pattern", 17 "ClientCertType": "Pattern",
18 "ClientCertPattern": { 18 "ClientCertPattern": {
19 "IssuerCARef": [ "openvpn-test-ca" ], 19 "IssuerCARef": [ "openvpn-test-ca" ],
20 "Recommended": [ "EnrollmentURI", "IssuerCARef" ] 20 "Recommended": [ "EnrollmentURI", "IssuerCARef" ]
21 } 21 }
22 }, 22 },
23 "IPsec": { 23 "IPsec": {
24 "AuthenticationType": "PSK", 24 "AuthenticationType": "PSK",
25 "PSK": "sharedkey", 25 "PSK": "sharedkey",
26 "IKEVersion": 1 26 "IKEVersion": 1
27 } 27 }
28 } 28 }
29 } 29 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698