OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef NET_CERT_CT_VERIFY_RESULT_H_ |
| 6 #define NET_CERT_CT_VERIFY_RESULT_H_ |
| 7 |
| 8 #include <vector> |
| 9 |
| 10 #include "net/cert/signed_certificate_timestamp.h" |
| 11 |
| 12 namespace net { |
| 13 |
| 14 namespace ct { |
| 15 |
| 16 // XXX(rsleevi): Track more information for verified SCTs, such as each of |
| 17 // the computed entry types (since both x509_cert and pre_cert are valid entry |
| 18 // types during verification), as well as their respective Merkle leaf hashes |
| 19 // for gossip protocol. |
| 20 // |
| 21 // For now, it's sufficient to leave this as something minimal, since it is |
| 22 // not presently surfaced to users. |
| 23 struct NET_EXPORT CTVerifyResult { |
| 24 CTVerifyResult(); |
| 25 ~CTVerifyResult(); |
| 26 |
| 27 std::vector<SignedCertificateTimestamp> verified_scts; |
| 28 std::vector<SignedCertificateTimestamp> unverified_scts; |
| 29 std::vector<SignedCertificateTimestamp> unknown_logs_scts; |
| 30 }; |
| 31 |
| 32 } // namespace ct |
| 33 |
| 34 } // namespace net |
| 35 |
| 36 #endif // NET_CERT_CT_VERIFY_RESULT_H_ |
OLD | NEW |