summaryrefslogtreecommitdiffstats
path: root/chromeos/docs
diff options
context:
space:
mode:
authorpneubeck@chromium.org <pneubeck@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-25 15:39:09 +0000
committerpneubeck@chromium.org <pneubeck@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-25 15:39:09 +0000
commitba8d3a68e5fac723088640d05ecefcbc12ae583e (patch)
treeb7a094a00848bc2f5b15cdb00e161a1a74f585ad /chromeos/docs
parentd6a696a404a19a1bdb70a923c3581b0437fc6f11 (diff)
downloadchromium_src-ba8d3a68e5fac723088640d05ecefcbc12ae583e.zip
chromium_src-ba8d3a68e5fac723088640d05ecefcbc12ae583e.tar.gz
chromium_src-ba8d3a68e5fac723088640d05ecefcbc12ae583e.tar.bz2
Add a check for server and CA certificates in device policies to the ONC validator.
Checking for empty GUIDs and added a note to the ONC spec. Cleaned up the CertificateImporter on the way. TBR=stevenjb@chromium.org (small NetworkLibrary change reviewed by Greg, added a test file) BUG=170357 Review URL: https://chromiumcodereview.appspot.com/11970012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178820 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chromeos/docs')
-rw-r--r--chromeos/docs/onc_spec.html19
1 files changed, 10 insertions, 9 deletions
diff --git a/chromeos/docs/onc_spec.html b/chromeos/docs/onc_spec.html
index 5220b17..0c44f1e 100644
--- a/chromeos/docs/onc_spec.html
+++ b/chromeos/docs/onc_spec.html
@@ -119,12 +119,12 @@
</p>
<p>
- GUIDs are meant to be stable and unique. When they refer to the same entity,
- they should be the same between ONC files. No two different networks or
- certificates should have the same GUID, similarly a network and certificate
- should not have the same GUID. A single ONC file should not contain the same
- entity twice (with the same GUID). Failing any of these tests indicates the
- ONC file is not valid.
+ GUIDs are non-empty strings that are meant to be stable and unique. When
+ they refer to the same entity, they should be the same between ONC files. No
+ two different networks or certificates should have the same GUID, similarly
+ a network and certificate should not have the same GUID. A single ONC file
+ should not contain the same entity twice (with the same GUID). Failing any
+ of these tests indicates the ONC file is not valid.
</p>
<p>
@@ -245,8 +245,9 @@
(required)
<span class="type">string</span>
</span>
- a unique identifier for this network connection, which exists to make it
- possible to update previously imported configurations
+ A unique identifier for this network connection, which exists to make it
+ possible to update previously imported configurations. Must be a non-empty
+ string.
</dd>
<dt class="field">IPConfigs</dt>
@@ -1586,7 +1587,7 @@
(required)
<span class="type">string</span>
</span>
- unique identification for certificate
+ A unique identifier for this certificate. Must be a non-empty string.
</dd>
<dt class="field">PKCS12</dt>