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 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <utility> | 10 #include <utility> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
14 #include "base/string_piece.h" | 14 #include "base/string_piece.h" |
15 #include "base/time.h" | |
16 #include "net/base/net_export.h" | 15 #include "net/base/net_export.h" |
17 | 16 |
18 namespace base { | 17 namespace base { |
19 class DictionaryValue; | 18 class DictionaryValue; |
20 } | 19 } |
21 | 20 |
22 namespace net { | 21 namespace net { |
23 | 22 |
24 // A CRLSet is a structure that lists the serial numbers of revoked | 23 // A CRLSet is a structure that lists the serial numbers of revoked |
25 // certificates from a number of issuers where issuers are identified by the | 24 // certificates from a number of issuers where issuers are identified by the |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 // to identify a CRL by index. | 109 // to identify a CRL by index. |
111 std::map<std::string, size_t> crls_index_by_issuer_; | 110 std::map<std::string, size_t> crls_index_by_issuer_; |
112 // blocked_spkis_ contains the SHA256 hashes of SPKIs which are to be blocked | 111 // blocked_spkis_ contains the SHA256 hashes of SPKIs which are to be blocked |
113 // no matter where in a certificate chain they might appear. | 112 // no matter where in a certificate chain they might appear. |
114 std::vector<std::string> blocked_spkis_; | 113 std::vector<std::string> blocked_spkis_; |
115 }; | 114 }; |
116 | 115 |
117 } // namespace net | 116 } // namespace net |
118 | 117 |
119 #endif // NET_BASE_CRL_SET_H_ | 118 #endif // NET_BASE_CRL_SET_H_ |
OLD | NEW |