| 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 kAutoConnect[] = "AutoConnect"; | 202 const char kAutoConnect[] = "AutoConnect"; |
| 201 const char kClientCertPattern[] = "ClientCertPattern"; | 203 const char kClientCertPattern[] = "ClientCertPattern"; |
| 202 const char kClientCertRef[] = "ClientCertRef"; | 204 const char kClientCertRef[] = "ClientCertRef"; |
| 203 const char kClientCertType[] = "ClientCertType"; | 205 const char kClientCertType[] = "ClientCertType"; |
| 204 const char kHost[] = "Host"; | 206 const char kHost[] = "Host"; |
| 205 const char kIPsec[] = "IPsec"; | 207 const char kIPsec[] = "IPsec"; |
| 206 const char kL2TP[] = "L2TP"; | 208 const char kL2TP[] = "L2TP"; |
| 207 const char kOpenVPN[] = "OpenVPN"; | 209 const char kOpenVPN[] = "OpenVPN"; |
| 208 const char kPassword[] = "Password"; | 210 const char kPassword[] = "Password"; |
| 209 const char kSaveCredentials[] = "SaveCredentials"; | 211 const char kSaveCredentials[] = "SaveCredentials"; |
| 210 const char kTypeL2TP_IPsec[] = "L2TP-IPsec"; | 212 const char kTypeL2TP_IPsec[] = "L2TP-IPsec"; |
| 211 const char kType[] = "Type"; | 213 const char kType[] = "Type"; |
| 212 const char kUsername[] = "Username"; | 214 const char kUsername[] = "Username"; |
| 213 } // namespace vpn | 215 } // namespace vpn |
| 214 | 216 |
| 215 namespace ipsec { | 217 namespace ipsec { |
| 216 const char kAuthenticationType[] = "AuthenticationType"; | 218 const char kAuthenticationType[] = "AuthenticationType"; |
| 217 const char kCert[] = "Cert"; | 219 const char kCert[] = "Cert"; |
| 218 const char kEAP[] = "EAP"; | 220 const char kEAP[] = "EAP"; |
| 219 const char kGroup[] = "Group"; | 221 const char kGroup[] = "Group"; |
| 220 const char kIKEVersion[] = "IKEVersion"; | 222 const char kIKEVersion[] = "IKEVersion"; |
| 221 const char kPSK[] = "PSK"; | 223 const char kPSK[] = "PSK"; |
| 222 const char kServerCARef[] = "ServerCARef"; | 224 const char kServerCARef[] = "ServerCARef"; |
| 225 const char kServerCAPEMs[] = "ServerCAPEMs"; |
| 223 const char kXAUTH[] = "XAUTH"; | 226 const char kXAUTH[] = "XAUTH"; |
| 224 } // namespace ipsec | 227 } // namespace ipsec |
| 225 | 228 |
| 226 namespace openvpn { | 229 namespace openvpn { |
| 227 const char kAuthNoCache[] = "AuthNoCache"; | 230 const char kAuthNoCache[] = "AuthNoCache"; |
| 228 const char kAuthRetry[] = "AuthRetry"; | 231 const char kAuthRetry[] = "AuthRetry"; |
| 229 const char kAuth[] = "Auth"; | 232 const char kAuth[] = "Auth"; |
| 230 const char kCipher[] = "Cipher"; | 233 const char kCipher[] = "Cipher"; |
| 231 const char kCompLZO[] = "CompLZO"; | 234 const char kCompLZO[] = "CompLZO"; |
| 232 const char kCompNoAdapt[] = "CompNoAdapt"; | 235 const char kCompNoAdapt[] = "CompNoAdapt"; |
| 233 const char kInteract[] = "interact"; | 236 const char kInteract[] = "interact"; |
| 234 const char kKeyDirection[] = "KeyDirection"; | 237 const char kKeyDirection[] = "KeyDirection"; |
| 235 const char kNoInteract[] = "nointeract"; | 238 const char kNoInteract[] = "nointeract"; |
| 236 const char kNone[] = "none"; | 239 const char kNone[] = "none"; |
| 237 const char kNsCertType[] = "NsCertType"; | 240 const char kNsCertType[] = "NsCertType"; |
| 238 const char kPort[] = "Port"; | 241 const char kPort[] = "Port"; |
| 239 const char kProto[] = "Proto"; | 242 const char kProto[] = "Proto"; |
| 240 const char kPushPeerInfo[] = "PushPeerInfo"; | 243 const char kPushPeerInfo[] = "PushPeerInfo"; |
| 241 const char kRemoteCertEKU[] = "RemoteCertEKU"; | 244 const char kRemoteCertEKU[] = "RemoteCertEKU"; |
| 242 const char kRemoteCertKU[] = "RemoteCertKU"; | 245 const char kRemoteCertKU[] = "RemoteCertKU"; |
| 243 const char kRemoteCertTLS[] = "RemoteCertTLS"; | 246 const char kRemoteCertTLS[] = "RemoteCertTLS"; |
| 244 const char kRenegSec[] = "RenegSec"; | 247 const char kRenegSec[] = "RenegSec"; |
| 245 const char kServerCARef[] = "ServerCARef"; | 248 const char kServerCARef[] = "ServerCARef"; |
| 249 const char kServerCAPEMs[] = "ServerCAPEMs"; |
| 250 const char kServerCertPEM[] = "ServerCertPEM"; |
| 246 const char kServerCertRef[] = "ServerCertRef"; | 251 const char kServerCertRef[] = "ServerCertRef"; |
| 247 const char kServerPollTimeout[] = "ServerPollTimeout"; | 252 const char kServerPollTimeout[] = "ServerPollTimeout"; |
| 248 const char kServer[] = "server"; | 253 const char kServer[] = "server"; |
| 249 const char kShaper[] = "Shaper"; | 254 const char kShaper[] = "Shaper"; |
| 250 const char kStaticChallenge[] = "StaticChallenge"; | 255 const char kStaticChallenge[] = "StaticChallenge"; |
| 251 const char kTLSAuthContents[] = "TLSAuthContents"; | 256 const char kTLSAuthContents[] = "TLSAuthContents"; |
| 252 const char kTLSRemote[] = "TLSRemote"; | 257 const char kTLSRemote[] = "TLSRemote"; |
| 253 const char kVerb[] = "Verb"; | 258 const char kVerb[] = "Verb"; |
| 254 } // namespace openvpn | 259 } // namespace openvpn |
| 255 | 260 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 269 } // namespace proxy | 274 } // namespace proxy |
| 270 | 275 |
| 271 namespace substitutes { | 276 namespace substitutes { |
| 272 const char kLoginIDField[] = "${LOGIN_ID}"; | 277 const char kLoginIDField[] = "${LOGIN_ID}"; |
| 273 const char kEmailField[] = "${LOGIN_EMAIL}"; | 278 const char kEmailField[] = "${LOGIN_EMAIL}"; |
| 274 } // namespace substitutes | 279 } // namespace substitutes |
| 275 | 280 |
| 276 } // namespace onc | 281 } // namespace onc |
| 277 | 282 |
| 278 } // namespace chromeos | 283 } // namespace chromeos |
| OLD | NEW |