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_BASE_CRL_SET_H_ | 5 #ifndef NET_BASE_CRL_SET_H_ |
6 #define NET_BASE_CRL_SET_H_ | 6 #define NET_BASE_CRL_SET_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 #include <string> | 10 #include <string> |
11 #include <utility> | 11 #include <utility> |
12 #include <vector> | 12 #include <vector> |
13 | 13 |
14 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
15 #include "base/memory/scoped_ptr.h" | |
16 #include "base/string_piece.h" | 15 #include "base/string_piece.h" |
17 #include "base/time.h" | 16 #include "base/time.h" |
18 #include "net/base/net_export.h" | 17 #include "net/base/net_export.h" |
19 | 18 |
20 namespace base { | 19 namespace base { |
21 class DictionaryValue; | 20 class DictionaryValue; |
22 } | 21 } |
23 | 22 |
24 namespace net { | 23 namespace net { |
25 | 24 |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 // to identify a CRL by index. | 111 // to identify a CRL by index. |
113 std::map<std::string, size_t> crls_index_by_issuer_; | 112 std::map<std::string, size_t> crls_index_by_issuer_; |
114 // blocked_spkis_ contains the SHA256 hashes of SPKIs which are to be blocked | 113 // blocked_spkis_ contains the SHA256 hashes of SPKIs which are to be blocked |
115 // no matter where in a certificate chain they might appear. | 114 // no matter where in a certificate chain they might appear. |
116 std::vector<std::string> blocked_spkis_; | 115 std::vector<std::string> blocked_spkis_; |
117 }; | 116 }; |
118 | 117 |
119 } // namespace net | 118 } // namespace net |
120 | 119 |
121 #endif // NET_BASE_CRL_SET_H_ | 120 #endif // NET_BASE_CRL_SET_H_ |
OLD | NEW |