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 // Holds Signed Certificate Timestamps, depending on their verification results. |
| 17 // More information could be tracked here about SCTs, but for the current UI |
| 18 // this categorization is enough. |
| 19 struct NET_EXPORT CTVerifyResult { |
| 20 CTVerifyResult(); |
| 21 ~CTVerifyResult(); |
| 22 |
| 23 // SCTs from known logs where the signature verified correctly. |
| 24 std::vector<SignedCertificateTimestamp> verified_scts; |
| 25 // SCTs from known logs where the signature failed to verify. |
| 26 std::vector<SignedCertificateTimestamp> unverified_scts; |
| 27 // SCTs from unknown logs |
| 28 std::vector<SignedCertificateTimestamp> unknown_logs_scts; |
| 29 }; |
| 30 |
| 31 } // namespace ct |
| 32 |
| 33 } // namespace net |
| 34 |
| 35 #endif // NET_CERT_CT_VERIFY_RESULT_H_ |
OLD | NEW |