OLD | NEW |
---|---|
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #include "chromeos/network/onc/onc_constants.h" | 5 #include "chromeos/network/onc/onc_constants.h" |
6 | 6 |
7 namespace chromeos { | 7 namespace chromeos { |
8 | 8 |
9 // Constants for ONC properties. | 9 // Constants for ONC properties. |
10 namespace onc { | 10 namespace onc { |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
133 } // namespace wifi | 133 } // namespace wifi |
134 | 134 |
135 namespace certificate { | 135 namespace certificate { |
136 const char kAuthority[] = "Authority"; | 136 const char kAuthority[] = "Authority"; |
137 const char kClient[] = "Client"; | 137 const char kClient[] = "Client"; |
138 const char kCommonName[] = "CommonName"; | 138 const char kCommonName[] = "CommonName"; |
139 const char kEmailAddress[] = "EmailAddress"; | 139 const char kEmailAddress[] = "EmailAddress"; |
140 const char kEnrollmentURI[] = "EnrollmentURI"; | 140 const char kEnrollmentURI[] = "EnrollmentURI"; |
141 const char kGUID[] = "GUID"; | 141 const char kGUID[] = "GUID"; |
142 const char kIssuerCARef[] = "IssuerCARef"; | 142 const char kIssuerCARef[] = "IssuerCARef"; |
143 const char kIssuerCAPEMs[] = "IssuerCAPEMs"; | |
143 const char kIssuer[] = "Issuer"; | 144 const char kIssuer[] = "Issuer"; |
144 const char kLocality[] = "Locality"; | 145 const char kLocality[] = "Locality"; |
145 const char kNone[] = "None"; | 146 const char kNone[] = "None"; |
146 const char kOrganization[] = "Organization"; | 147 const char kOrganization[] = "Organization"; |
147 const char kOrganizationalUnit[] = "OrganizationalUnit"; | 148 const char kOrganizationalUnit[] = "OrganizationalUnit"; |
148 const char kPKCS12[] = "PKCS12"; | 149 const char kPKCS12[] = "PKCS12"; |
149 const char kPattern[] = "Pattern"; | 150 const char kPattern[] = "Pattern"; |
150 const char kRef[] = "Ref"; | 151 const char kRef[] = "Ref"; |
151 const char kServer[] = "Server"; | 152 const char kServer[] = "Server"; |
152 const char kSubject[] = "Subject"; | 153 const char kSubject[] = "Subject"; |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
185 const char kIdentity[] = "Identity"; | 186 const char kIdentity[] = "Identity"; |
186 const char kInner[] = "Inner"; | 187 const char kInner[] = "Inner"; |
187 const char kLEAP[] = "LEAP"; | 188 const char kLEAP[] = "LEAP"; |
188 const char kMD5[] = "MD5"; | 189 const char kMD5[] = "MD5"; |
189 const char kMSCHAPv2[] = "MSCHAPv2"; | 190 const char kMSCHAPv2[] = "MSCHAPv2"; |
190 const char kOuter[] = "Outer"; | 191 const char kOuter[] = "Outer"; |
191 const char kPAP[] = "PAP"; | 192 const char kPAP[] = "PAP"; |
192 const char kPEAP[] = "PEAP"; | 193 const char kPEAP[] = "PEAP"; |
193 const char kPassword[] = "Password"; | 194 const char kPassword[] = "Password"; |
194 const char kSaveCredentials[] = "SaveCredentials"; | 195 const char kSaveCredentials[] = "SaveCredentials"; |
196 const char kServerCAPEMs[] = "ServerCAPEMs"; | |
195 const char kServerCARef[] = "ServerCARef"; | 197 const char kServerCARef[] = "ServerCARef"; |
196 const char kUseSystemCAs[] = "UseSystemCAs"; | 198 const char kUseSystemCAs[] = "UseSystemCAs"; |
197 } // namespace eap | 199 } // namespace eap |
198 | 200 |
199 namespace vpn { | 201 namespace vpn { |
200 const char kAuthNoCache[] = "AuthNoCache"; | 202 const char kAuthNoCache[] = "AuthNoCache"; |
201 const char kAuthRetry[] = "AuthRetry"; | 203 const char kAuthRetry[] = "AuthRetry"; |
202 const char kAuth[] = "Auth"; | 204 const char kAuth[] = "Auth"; |
203 const char kAuthenticationType[] = "AuthenticationType"; | |
204 const char kAutoConnect[] = "AutoConnect"; | 205 const char kAutoConnect[] = "AutoConnect"; |
205 const char kCert[] = "Cert"; | |
206 const char kCipher[] = "Cipher"; | 206 const char kCipher[] = "Cipher"; |
207 const char kClientCertPattern[] = "ClientCertPattern"; | 207 const char kClientCertPattern[] = "ClientCertPattern"; |
208 const char kClientCertRef[] = "ClientCertRef"; | 208 const char kClientCertRef[] = "ClientCertRef"; |
209 const char kClientCertType[] = "ClientCertType"; | 209 const char kClientCertType[] = "ClientCertType"; |
210 const char kCompLZO[] = "CompLZO"; | 210 const char kCompLZO[] = "CompLZO"; |
211 const char kCompNoAdapt[] = "CompNoAdapt"; | 211 const char kCompNoAdapt[] = "CompNoAdapt"; |
212 const char kEAP[] = "EAP"; | |
213 const char kGroup[] = "Group"; | |
214 const char kHost[] = "Host"; | 212 const char kHost[] = "Host"; |
215 const char kIKEVersion[] = "IKEVersion"; | |
216 const char kIPsec[] = "IPsec"; | 213 const char kIPsec[] = "IPsec"; |
217 const char kKeyDirection[] = "KeyDirection"; | 214 const char kKeyDirection[] = "KeyDirection"; |
218 const char kL2TP[] = "L2TP"; | 215 const char kL2TP[] = "L2TP"; |
219 const char kNsCertType[] = "NsCertType"; | 216 const char kNsCertType[] = "NsCertType"; |
220 const char kOpenVPN[] = "OpenVPN"; | 217 const char kOpenVPN[] = "OpenVPN"; |
221 const char kPSK[] = "PSK"; | |
222 const char kPassword[] = "Password"; | 218 const char kPassword[] = "Password"; |
223 const char kPort[] = "Port"; | 219 const char kPort[] = "Port"; |
224 const char kProto[] = "Proto"; | 220 const char kProto[] = "Proto"; |
225 const char kPushPeerInfo[] = "PushPeerInfo"; | 221 const char kPushPeerInfo[] = "PushPeerInfo"; |
226 const char kRemoteCertEKU[] = "RemoteCertEKU"; | 222 const char kRemoteCertEKU[] = "RemoteCertEKU"; |
227 const char kRemoteCertKU[] = "RemoteCertKU"; | 223 const char kRemoteCertKU[] = "RemoteCertKU"; |
228 const char kRemoteCertTLS[] = "RemoteCertTLS"; | 224 const char kRemoteCertTLS[] = "RemoteCertTLS"; |
229 const char kRenegSec[] = "RenegSec"; | 225 const char kRenegSec[] = "RenegSec"; |
230 const char kSaveCredentials[] = "SaveCredentials"; | 226 const char kSaveCredentials[] = "SaveCredentials"; |
231 const char kServerCARef[] = "ServerCARef"; | 227 const char kServerCertPEM[] = "ServerCertPEM"; |
232 const char kServerCertRef[] = "ServerCertRef"; | 228 const char kServerCertRef[] = "ServerCertRef"; |
233 const char kServerPollTimeout[] = "ServerPollTimeout"; | 229 const char kServerPollTimeout[] = "ServerPollTimeout"; |
234 const char kShaper[] = "Shaper"; | 230 const char kShaper[] = "Shaper"; |
235 const char kStaticChallenge[] = "StaticChallenge"; | 231 const char kStaticChallenge[] = "StaticChallenge"; |
236 const char kTLSAuthContents[] = "TLSAuthContents"; | 232 const char kTLSAuthContents[] = "TLSAuthContents"; |
237 const char kTLSRemote[] = "TLSRemote"; | 233 const char kTLSRemote[] = "TLSRemote"; |
238 const char kTypeL2TP_IPsec[] = "L2TP-IPsec"; | 234 const char kTypeL2TP_IPsec[] = "L2TP-IPsec"; |
239 const char kType[] = "Type"; | 235 const char kType[] = "Type"; |
240 const char kUsername[] = "Username"; | 236 const char kUsername[] = "Username"; |
241 const char kVerb[] = "Verb"; | 237 const char kVerb[] = "Verb"; |
242 const char kXAUTH[] = "XAUTH"; | |
243 } // namespace vpn | 238 } // namespace vpn |
244 | 239 |
240 namespace ipsec { | |
Mattias Nissler (ping if slow)
2013/07/02 13:00:35
You should really try and break these unrelated ch
pneubeck (no reviews)
2013/07/02 14:38:43
Done.
| |
241 const char kAuthenticationType[] = "AuthenticationType"; | |
242 const char kCert[] = "Cert"; | |
243 const char kEAP[] = "EAP"; | |
244 const char kGroup[] = "Group"; | |
245 const char kIKEVersion[] = "IKEVersion"; | |
246 const char kPSK[] = "PSK"; | |
247 const char kServerCAPEMs[] = "ServerCAPEMs"; | |
248 const char kServerCARef[] = "ServerCARef"; | |
249 const char kXAUTH[] = "XAUTH"; | |
250 } // namespace ipsec | |
251 | |
245 namespace openvpn { | 252 namespace openvpn { |
246 const char kNone[] = "none"; | |
247 const char kInteract[] = "interact"; | 253 const char kInteract[] = "interact"; |
248 const char kNoInteract[] = "nointeract"; | 254 const char kNoInteract[] = "nointeract"; |
255 const char kNone[] = "none"; | |
256 const char kServerCAPEMs[] = "ServerCAPEMs"; | |
257 const char kServerCARef[] = "ServerCARef"; | |
249 const char kServer[] = "server"; | 258 const char kServer[] = "server"; |
250 } // namespace openvpn | 259 } // namespace openvpn |
251 | 260 |
252 namespace proxy { | 261 namespace proxy { |
253 const char kDirect[] = "Direct"; | 262 const char kDirect[] = "Direct"; |
254 const char kExcludeDomains[] = "ExcludeDomains"; | 263 const char kExcludeDomains[] = "ExcludeDomains"; |
255 const char kFtp[] = "FTPProxy"; | 264 const char kFtp[] = "FTPProxy"; |
256 const char kHost[] = "Host"; | 265 const char kHost[] = "Host"; |
257 const char kHttp[] = "HTTPProxy"; | 266 const char kHttp[] = "HTTPProxy"; |
258 const char kHttps[] = "SecureHTTPProxy"; | 267 const char kHttps[] = "SecureHTTPProxy"; |
259 const char kManual[] = "Manual"; | 268 const char kManual[] = "Manual"; |
260 const char kPAC[] = "PAC"; | 269 const char kPAC[] = "PAC"; |
261 const char kPort[] = "Port"; | 270 const char kPort[] = "Port"; |
262 const char kSocks[] = "SOCKS"; | 271 const char kSocks[] = "SOCKS"; |
263 const char kType[] = "Type"; | 272 const char kType[] = "Type"; |
264 const char kWPAD[] = "WPAD"; | 273 const char kWPAD[] = "WPAD"; |
265 } // namespace proxy | 274 } // namespace proxy |
266 | 275 |
267 namespace substitutes { | 276 namespace substitutes { |
268 const char kLoginIDField[] = "${LOGIN_ID}"; | 277 const char kLoginIDField[] = "${LOGIN_ID}"; |
269 const char kEmailField[] = "${LOGIN_EMAIL}"; | 278 const char kEmailField[] = "${LOGIN_EMAIL}"; |
270 } // namespace substitutes | 279 } // namespace substitutes |
271 | 280 |
272 } // namespace onc | 281 } // namespace onc |
273 | 282 |
274 } // namespace chromeos | 283 } // namespace chromeos |
OLD | NEW |