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 #ifndef NET_CERT_CRL_SET_H_ | 5 #ifndef NET_CERT_CRL_SET_H_ |
6 #define NET_CERT_CRL_SET_H_ | 6 #define NET_CERT_CRL_SET_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 #include <stdint.h> |
| 10 |
8 #include <string> | 11 #include <string> |
9 #include <utility> | 12 #include <utility> |
10 #include <vector> | 13 #include <vector> |
11 | 14 |
12 #include "base/containers/hash_tables.h" | 15 #include "base/containers/hash_tables.h" |
13 #include "base/memory/ref_counted.h" | 16 #include "base/memory/ref_counted.h" |
14 #include "base/strings/string_piece.h" | 17 #include "base/strings/string_piece.h" |
15 #include "net/base/net_export.h" | 18 #include "net/base/net_export.h" |
16 #include "net/cert/x509_cert_types.h" | 19 #include "net/cert/x509_cert_types.h" |
17 | 20 |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 // to identify a CRL by index. | 96 // to identify a CRL by index. |
94 base::hash_map<std::string, size_t> crls_index_by_issuer_; | 97 base::hash_map<std::string, size_t> crls_index_by_issuer_; |
95 // blocked_spkis_ contains the SHA256 hashes of SPKIs which are to be blocked | 98 // blocked_spkis_ contains the SHA256 hashes of SPKIs which are to be blocked |
96 // no matter where in a certificate chain they might appear. | 99 // no matter where in a certificate chain they might appear. |
97 std::vector<std::string> blocked_spkis_; | 100 std::vector<std::string> blocked_spkis_; |
98 }; | 101 }; |
99 | 102 |
100 } // namespace net | 103 } // namespace net |
101 | 104 |
102 #endif // NET_CERT_CRL_SET_H_ | 105 #endif // NET_CERT_CRL_SET_H_ |
OLD | NEW |