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

Side by Side Diff: components/onc/docs/onc_spec.html

Issue 759663004: ONC: add support for non-utf-8 SSIDs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed issues Created 6 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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <meta charset="utf-8"> 4 <meta charset="utf-8">
5 <link rel="stylesheet" href="onc_spec.css" > 5 <link rel="stylesheet" href="onc_spec.css" >
6 <script src="onc_spec.js"></script> 6 <script src="onc_spec.js"></script>
7 <title>Open Network Configuration Format</title> 7 <title>Open Network Configuration Format</title>
8 </head> 8 </head>
9 <body> 9 <body>
10 10
(...skipping 651 matching lines...) Expand 10 before | Expand all | Expand 10 after
662 <dd> 662 <dd>
663 <span class="field_meta"> 663 <span class="field_meta">
664 (required if <span class="field">Security</span> is 664 (required if <span class="field">Security</span> is
665 <span class="value">WEP-8021X</span> or 665 <span class="value">WEP-8021X</span> or
666 <span class="value">WPA-EAP</span>, otherwise ignored) 666 <span class="value">WPA-EAP</span>, otherwise ignored)
667 <span class="type">EAP</span> 667 <span class="type">EAP</span>
668 </span> 668 </span>
669 EAP settings. 669 EAP settings.
670 </dd> 670 </dd>
671 671
672 <dt class="field">HexSSID</dt>
673 <dd>
674 <span class="field_meta">
675 (optional if <span class="field">SSID</span> is set, if so defaults to
676 a hex representation of <span class="field">SSID</span>)
677 <span class="type">string</span>
678 </span>
679 Hex representation of the network's SSID. If the
680 <span class="field">SSID</span> field is set, but
681 <span class="field">HexSSID</span> is not, converts the contents of the
682 <span class="field">SSID</span> field to UTF-8 encoding,
683 creates the hex representation and assigns the result to
684 <span class="field">HexSSID</span>.
685 </dd>
686
672 <dt class="field">HiddenSSID</dt> 687 <dt class="field">HiddenSSID</dt>
673 <dd> 688 <dd>
674 <span class="field_meta"> 689 <span class="field_meta">
675 (optional, defaults to <span class="value">false</span>) 690 (optional, defaults to <span class="value">false</span>)
676 <span class="type">boolean</span> 691 <span class="type">boolean</span>
677 </span> 692 </span>
678 Indicating if the SSID will be broadcast. 693 Indicating if the SSID will be broadcast.
679 </dd> 694 </dd>
680 695
681 <dt class="field">Passphrase</dt> 696 <dt class="field">Passphrase</dt>
(...skipping 22 matching lines...) Expand all
704 <span class="value">WEP-PSK</span>, 719 <span class="value">WEP-PSK</span>,
705 <span class="value">WEP-8021X</span>, 720 <span class="value">WEP-8021X</span>,
706 <span class="value">WPA-PSK</span>, and 721 <span class="value">WPA-PSK</span>, and
707 <span class="value">WPA-EAP</span>. 722 <span class="value">WPA-EAP</span>.
708 </span> 723 </span>
709 </dd> 724 </dd>
710 725
711 <dt class="field">SSID</dt> 726 <dt class="field">SSID</dt>
712 <dd> 727 <dd>
713 <span class="field_meta"> 728 <span class="field_meta">
714 (required) 729 (optional if <span class="field">HexSSID</span> is set)
715 <span class="type">string</span> 730 <span class="type">string</span>
716 </span> 731 </span>
717 SSID of the network. 732 SSID of the network. This field can only used for unicode strings in the
733 UTF-8 encoding. For non-UTF-8 encodings the
734 <span class="field">HexSSID</span> field must be used.
718 </dd> 735 </dd>
719 736
720 <dt class="field">SignalStrength</dt> 737 <dt class="field">SignalStrength</dt>
721 <dd> 738 <dd>
722 <span class="field_meta"> 739 <span class="field_meta">
723 (optional, read-only) 740 (optional, read-only)
724 <span class="type">integer</span> 741 <span class="type">integer</span>
725 </span> 742 </span>
726 The current signal strength for this network in the range [0, 100], 743 The current signal strength for this network in the range [0, 100],
727 provided by the system. If the network is not in range this field will 744 provided by the system. If the network is not in range this field will
728 be set to '0' or not present. 745 be set to '0' or not present.
729 </dd> 746 </dd>
730 </dl> 747 </dl>
748 <span class="rule">
749 <span class="rule_id"></span>
750 At least one of the fields <span class="field">HexSSID</span> or
751 <span class="field">SSID</span> must be present. If both
752 <span class="field">HexSSID</span> and <span class="field">SSID</span>
753 are set, the values must be consistent.
754 </span>
755 </span>
731 </section> 756 </section>
732 757
733 <section> 758 <section>
734 <h1>VPN networks</h1> 759 <h1>VPN networks</h1>
735 <p> 760 <p>
736 There are many kinds of VPNs with widely varying configuration options. We 761 There are many kinds of VPNs with widely varying configuration options. We
737 offer standard configuration options for a few common configurations at this 762 offer standard configuration options for a few common configurations at this
738 time, and may add more later. For all others, implementation specific fields 763 time, and may add more later. For all others, implementation specific fields
739 should be used. 764 should be used.
740 </p> 765 </p>
(...skipping 2257 matching lines...) Expand 10 before | Expand all | Expand 10 after
2998 is transmitted or saved to disk should be secure. On client device, when 3023 is transmitted or saved to disk should be secure. On client device, when
2999 user names for connections that are user-specific are persisted to disk, 3024 user names for connections that are user-specific are persisted to disk,
3000 they should be stored in a location that is encrypted. Users can also opt in 3025 they should be stored in a location that is encrypted. Users can also opt in
3001 these cases to not save their user credentials in the config file and will 3026 these cases to not save their user credentials in the config file and will
3002 instead be prompted when they are needed. 3027 instead be prompted when they are needed.
3003 </p> 3028 </p>
3004 </section> 3029 </section>
3005 </section> 3030 </section>
3006 </body> 3031 </body>
3007 </html> 3032 </html>
OLDNEW
« no previous file with comments | « chromeos/test/data/network/toplevel_wifi_ssid_and_hexssid.onc ('k') | components/onc/onc_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698