We started redesigning GpuMemoryBuffer interface to handle multiple buffers [0].
[chromium-blink-merge.git] / net / cert / ct_verify_result.h
blobaa90164193b0cdf9c532d5e13ba2994491348766
1 // Copyright 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.
5 #ifndef NET_CERT_CT_VERIFY_RESULT_H_
6 #define NET_CERT_CT_VERIFY_RESULT_H_
8 #include <vector>
10 #include "net/cert/signed_certificate_timestamp.h"
12 namespace net {
14 namespace ct {
16 typedef std::vector<scoped_refptr<SignedCertificateTimestamp> > SCTList;
18 // Holds Signed Certificate Timestamps, depending on their verification results.
19 // More information could be tracked here about SCTs, but for the current UI
20 // this categorization is enough.
21 struct NET_EXPORT CTVerifyResult {
22 CTVerifyResult();
23 ~CTVerifyResult();
25 // SCTs from known logs where the signature verified correctly.
26 SCTList verified_scts;
27 // SCTs from known logs where the signature failed to verify.
28 SCTList invalid_scts;
29 // SCTs from unknown logs and as such are unverifiable.
30 SCTList unknown_logs_scts;
33 } // namespace ct
35 } // namespace net
37 #endif // NET_CERT_CT_VERIFY_RESULT_H_