Chromium Code Reviews| Index: net/cert/ct_verify_result.h |
| diff --git a/net/cert/ct_verify_result.h b/net/cert/ct_verify_result.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..58657f6bf14f0be09efb61667f2a952acb849ced |
| --- /dev/null |
| +++ b/net/cert/ct_verify_result.h |
| @@ -0,0 +1,35 @@ |
| +// Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef NET_CERT_CT_VERIFY_RESULT_H_ |
| +#define NET_CERT_CT_VERIFY_RESULT_H_ |
| + |
| +#include <vector> |
| + |
| +#include "net/cert/signed_certificate_timestamp.h" |
| + |
| +namespace net { |
| + |
| +namespace ct { |
| + |
| +// Holds Signed Certificate Timestamps, depending on their verification results. |
| +// More information could be tracked here about SCTs, but for the current UI |
| +// this categorization is enough. |
| +struct NET_EXPORT CTVerifyResult { |
| + CTVerifyResult(); |
| + ~CTVerifyResult(); |
| + |
| + // SCTs from known logs where the signature verified correctly. |
| + std::vector<SignedCertificateTimestamp> verified_scts; |
| + // SCTs from known logs where the signature failed to verify. |
| + std::vector<SignedCertificateTimestamp> unverified_scts; |
| + // SCTs from unknown logs |
|
wtc
2013/11/21 02:05:02
Nit: add a period (.) at the end of line.
Eran M. (Google)
2013/11/21 20:06:02
Done.
|
| + std::vector<SignedCertificateTimestamp> unknown_logs_scts; |
| +}; |
| + |
| +} // namespace ct |
| + |
| +} // namespace net |
| + |
| +#endif // NET_CERT_CT_VERIFY_RESULT_H_ |