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

Side by Side Diff: chromeos/test/data/network/openvpn_clientcert_with_cert_pems.onc

Issue 16946002: Resolve certificate references in ONC by PEM. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added a unit test for the resolve function. Created 7 years, 5 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 | Annotate | Revision Log
OLDNEW
1 { 1 {
2 "GUID": "{84391467-dd8b-4c66-9b52-860583038351}", 2 "GUID": "{84391467-dd8b-4c66-9b52-860583038351}",
3 "Name": "TestOpenVPN", 3 "Name": "TestOpenVPN",
4 "ProxySettings": { 4 "ProxySettings": {
5 "Type": "Direct" 5 "Type": "Direct"
6 }, 6 },
7 "Type": "VPN", 7 "Type": "VPN",
8 "VPN": { 8 "VPN": {
9 "Host": "terminus.muc", 9 "Host": "terminus.muc",
10 "OpenVPN": { 10 "OpenVPN": {
11 "ClientCertPattern": { 11 "ClientCertPattern": {
12 "EnrollmentURI": [ "my.enrollment.url" ], 12 "EnrollmentURI": [ "my.enrollment.url" ],
13 "IssuerCARef": [ 13 "IssuerCAPEMs": [
14 "def", 14 "pem1",
15 "abc" 15 "pem2"
16 ], 16 ],
17 "Subject": { 17 "Subject": {
18 "CommonName": "common_name", 18 "CommonName": "common_name",
19 "Locality": "locality", 19 "Locality": "locality",
20 "Organization": "organization", 20 "Organization": "organization",
21 "OrganizationalUnit": "unit" 21 "OrganizationalUnit": "unit"
22 } 22 }
23 }, 23 },
24 "ClientCertType": "Pattern", 24 "ClientCertType": "Pattern",
25 "Password": "********", 25 "Password": "********",
26 "Port": 1234, 26 "Port": 1234,
27 "Proto": "udp", 27 "Proto": "udp",
28 "Recommended": [ "Username", "Password" ], 28 "Recommended": [ "Username", "Password" ],
29 "SaveCredentials": true, 29 "SaveCredentials": true,
30 "ServerCARef": "{126ea985-9ece-4250-8a32-6badf52a99e5}",
31 "Username": "hans" 30 "Username": "hans"
32 }, 31 },
33 "Type": "OpenVPN" 32 "Type": "OpenVPN"
34 } 33 }
35 } 34 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698