| Index: net/cert/ct_known_logs.h
|
| diff --git a/net/cert/ct_known_logs.h b/net/cert/ct_known_logs.h
|
| index 48904c2cc54771c4a0da73a8e9c622cc850222fe..22c2e8035a9b7703e5aa1bb79270465b57921c80 100644
|
| --- a/net/cert/ct_known_logs.h
|
| +++ b/net/cert/ct_known_logs.h
|
| @@ -12,6 +12,10 @@
|
| #include "build/build_config.h"
|
| #include "net/base/net_export.h"
|
|
|
| +namespace base {
|
| +class Time;
|
| +} // namespace base
|
| +
|
| namespace net {
|
|
|
| class CTLogVerifier;
|
| @@ -20,13 +24,23 @@ namespace ct {
|
|
|
| #if !defined(OS_NACL)
|
| // CreateLogVerifiersForKnownLogs returns a vector of CT logs for all the known
|
| -// and trusted logs.
|
| +// logs. This set includes logs that are presently qualified for inclusion and
|
| +// logs which were previously qualifying, but have since been removed. To
|
| +// determine the status of a given log, use |IsLogDisqualified()|.
|
| NET_EXPORT std::vector<scoped_refptr<const CTLogVerifier>>
|
| CreateLogVerifiersForKnownLogs();
|
| #endif
|
|
|
| NET_EXPORT bool IsLogOperatedByGoogle(base::StringPiece log_id);
|
|
|
| +// Returns true if the CT log identified by |log_id| has been disqualified
|
| +// from inclusion, and sets |*disqualification_date| to the date of
|
| +// disqualification. Any SCTs which have embedded in certificates issued
|
| +// after this date should not count towards any uniqueness/freshness
|
| +// requirements.
|
| +NET_EXPORT bool IsLogDisqualified(base::StringPiece log_id,
|
| + base::Time* disqualification_date);
|
| +
|
| } // namespace ct
|
|
|
| } // namespace net
|
|
|