| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 #ifndef NET_CERT_INTERNAL_NAME_CONSTRAINTS_H_ | 5 #ifndef NET_CERT_INTERNAL_NAME_CONSTRAINTS_H_ |
| 6 #define NET_CERT_INTERNAL_NAME_CONSTRAINTS_H_ | 6 #define NET_CERT_INTERNAL_NAME_CONSTRAINTS_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
| 14 #include "net/base/ip_address.h" | 14 #include "net/base/ip_address.h" |
| 15 #include "net/base/net_export.h" |
| 15 | 16 |
| 16 namespace net { | 17 namespace net { |
| 17 | 18 |
| 18 namespace der { | 19 namespace der { |
| 19 class Input; | 20 class Input; |
| 20 } // namespace der | 21 } // namespace der |
| 21 | 22 |
| 22 // Bitfield values for the GeneralName types defined in RFC 5280. The ordering | 23 // Bitfield values for the GeneralName types defined in RFC 5280. The ordering |
| 23 // and exact values are not important, but match the order from the RFC for | 24 // and exact values are not important, but match the order from the RFC for |
| 24 // convenience. | 25 // convenience. |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 bool Parse(const der::Input& extension_value, | 134 bool Parse(const der::Input& extension_value, |
| 134 bool is_critical) WARN_UNUSED_RESULT; | 135 bool is_critical) WARN_UNUSED_RESULT; |
| 135 | 136 |
| 136 GeneralNames permitted_subtrees_; | 137 GeneralNames permitted_subtrees_; |
| 137 GeneralNames excluded_subtrees_; | 138 GeneralNames excluded_subtrees_; |
| 138 }; | 139 }; |
| 139 | 140 |
| 140 } // namespace net | 141 } // namespace net |
| 141 | 142 |
| 142 #endif // NET_CERT_INTERNAL_NAME_CONSTRAINTS_H_ | 143 #endif // NET_CERT_INTERNAL_NAME_CONSTRAINTS_H_ |
| OLD | NEW |