| 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 <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/strings/string_piece.h" | 
| 15 #include "net/base/net_export.h" | 15 #include "net/base/net_export.h" | 
| 16 | 16 | 
| 17 namespace base { | 17 namespace base { | 
| 18 class DictionaryValue; | 18 class DictionaryValue; | 
| 19 } | 19 } | 
| 20 | 20 | 
| 21 namespace net { | 21 namespace net { | 
| 22 | 22 | 
| 23 // 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 | 
| 24 // 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... | 
| 109   // to identify a CRL by index. | 109   // to identify a CRL by index. | 
| 110   std::map<std::string, size_t> crls_index_by_issuer_; | 110   std::map<std::string, size_t> crls_index_by_issuer_; | 
| 111   // 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 | 
| 112   // no matter where in a certificate chain they might appear. | 112   // no matter where in a certificate chain they might appear. | 
| 113   std::vector<std::string> blocked_spkis_; | 113   std::vector<std::string> blocked_spkis_; | 
| 114 }; | 114 }; | 
| 115 | 115 | 
| 116 }  // namespace net | 116 }  // namespace net | 
| 117 | 117 | 
| 118 #endif  // NET_CERT_CRL_SET_H_ | 118 #endif  // NET_CERT_CRL_SET_H_ | 
| OLD | NEW | 
|---|