| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 is the list of CertStatus flags and their values. | 5 // This is the list of CertStatus flags and their values. |
| 6 // | 6 // |
| 7 // Defines the values using a macro CERT_STATUS_FLAG, | 7 // Defines the values using a macro CERT_STATUS_FLAG, |
| 8 // so it can be expanded differently in some places | 8 // so it can be expanded differently in some places |
| 9 | 9 |
| 10 // The possible status bits for CertStatus. | 10 // The possible status bits for CertStatus. |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 CERT_STATUS_FLAG(PINNED_KEY_MISSING, 1 << 13) | 25 CERT_STATUS_FLAG(PINNED_KEY_MISSING, 1 << 13) |
| 26 CERT_STATUS_FLAG(NAME_CONSTRAINT_VIOLATION, 1 << 14) | 26 CERT_STATUS_FLAG(NAME_CONSTRAINT_VIOLATION, 1 << 14) |
| 27 CERT_STATUS_FLAG(VALIDITY_TOO_LONG, 1 << 15) | 27 CERT_STATUS_FLAG(VALIDITY_TOO_LONG, 1 << 15) |
| 28 | 28 |
| 29 // Bits 16 to 31 are for non-error statuses. | 29 // Bits 16 to 31 are for non-error statuses. |
| 30 CERT_STATUS_FLAG(IS_EV, 1 << 16) | 30 CERT_STATUS_FLAG(IS_EV, 1 << 16) |
| 31 CERT_STATUS_FLAG(REV_CHECKING_ENABLED, 1 << 17) | 31 CERT_STATUS_FLAG(REV_CHECKING_ENABLED, 1 << 17) |
| 32 // Bit 18 was CERT_STATUS_IS_DNSSEC | 32 // Bit 18 was CERT_STATUS_IS_DNSSEC |
| 33 CERT_STATUS_FLAG(SHA1_SIGNATURE_PRESENT, 1 << 19) | 33 CERT_STATUS_FLAG(SHA1_SIGNATURE_PRESENT, 1 << 19) |
| 34 CERT_STATUS_FLAG(CT_COMPLIANCE_FAILED, 1 << 20) | 34 CERT_STATUS_FLAG(CT_COMPLIANCE_FAILED, 1 << 20) |
| 35 CERT_STATUS_FLAG(PKP_BYPASSED, 1 << 21) |
| OLD | NEW |