OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 // This file intentionally does not have header guards, it's included | 5 // This file intentionally does not have header guards, it's included |
6 // inside a macro to generate enum. | 6 // inside a macro to generate enum. |
7 | 7 |
8 // This file contains the list of network errors. | 8 // This file contains the list of network errors. |
9 | 9 |
10 // | 10 // |
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
271 NET_ERROR(SSL_HANDSHAKE_NOT_COMPLETED, -148) | 271 NET_ERROR(SSL_HANDSHAKE_NOT_COMPLETED, -148) |
272 | 272 |
273 // SSL peer's public key is invalid. | 273 // SSL peer's public key is invalid. |
274 NET_ERROR(SSL_BAD_PEER_PUBLIC_KEY, -149) | 274 NET_ERROR(SSL_BAD_PEER_PUBLIC_KEY, -149) |
275 | 275 |
276 // The certificate didn't match the built-in public key pins for the host name. | 276 // The certificate didn't match the built-in public key pins for the host name. |
277 // The pins are set in net/base/transport_security_state.cc and require that | 277 // The pins are set in net/base/transport_security_state.cc and require that |
278 // one of a set of public keys exist on the path from the leaf to the root. | 278 // one of a set of public keys exist on the path from the leaf to the root. |
279 NET_ERROR(SSL_PINNED_KEY_NOT_IN_CERT_CHAIN, -150) | 279 NET_ERROR(SSL_PINNED_KEY_NOT_IN_CERT_CHAIN, -150) |
280 | 280 |
| 281 // Server request for client certificate did not contain any types we support. |
| 282 NET_ERROR(CLIENT_AUTH_CERT_TYPE_UNSUPPORTED, -151) |
| 283 |
| 284 // Server requested one type of cert, then requested a different type while the |
| 285 // first was still being generated. |
| 286 NET_ERROR(ORIGIN_BOUND_CERT_GENERATION_TYPE_MISMATCH, -152) |
| 287 |
281 // Certificate error codes | 288 // Certificate error codes |
282 // | 289 // |
283 // The values of certificate error codes must be consecutive. | 290 // The values of certificate error codes must be consecutive. |
284 | 291 |
285 // The server responded with a certificate whose common name did not match | 292 // The server responded with a certificate whose common name did not match |
286 // the host name. This could mean: | 293 // the host name. This could mean: |
287 // | 294 // |
288 // 1. An attacker has redirected our traffic to his server and is | 295 // 1. An attacker has redirected our traffic to his server and is |
289 // presenting a certificate for which he knows the private key. | 296 // presenting a certificate for which he knows the private key. |
290 // | 297 // |
(...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
639 NET_ERROR(DNS_SERVER_FAILED, -802) | 646 NET_ERROR(DNS_SERVER_FAILED, -802) |
640 | 647 |
641 // DNS transaction timed out. | 648 // DNS transaction timed out. |
642 NET_ERROR(DNS_TIMED_OUT, -803) | 649 NET_ERROR(DNS_TIMED_OUT, -803) |
643 | 650 |
644 // The entry was not found in cache, for cache-only lookups. | 651 // The entry was not found in cache, for cache-only lookups. |
645 NET_ERROR(DNS_CACHE_MISS, -804) | 652 NET_ERROR(DNS_CACHE_MISS, -804) |
646 | 653 |
647 // FIXME: Take the next number. | 654 // FIXME: Take the next number. |
648 NET_ERROR(PIPELINE_EVICTION, -900) | 655 NET_ERROR(PIPELINE_EVICTION, -900) |
OLD | NEW |