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. 4 5 #ifndef NET_SSL_SIGNED_CERTIFICATE_TIMESTAMP_AND_STATUS_H_ 6 #define NET_SSL_SIGNED_CERTIFICATE_TIMESTAMP_AND_STATUS_H_ 7 8 #include <vector> 9 10 #include "base/memory/ref_counted.h" 11 #include "net/base/net_export.h" 12 #include "net/cert/sct_status_flags.h" 13 #include "net/cert/signed_certificate_timestamp.h" 14 15 namespace net { 16 17 struct NET_EXPORT SignedCertificateTimestampAndStatus { 18 SignedCertificateTimestampAndStatus( 19 const scoped_refptr<ct::SignedCertificateTimestamp>& sct, 20 ct::SCTVerifyStatus status); 21 22 ~SignedCertificateTimestampAndStatus(); 23 24 scoped_refptr<ct::SignedCertificateTimestamp> sct; 25 ct::SCTVerifyStatus status; 26 }; 27 28 typedef std::vector<SignedCertificateTimestampAndStatus> 29 SignedCertificateTimestampAndStatusList; 30 31 } // namespace net 32 33 #endif // NET_SSL_SIGNED_CERTIFICATE_TIMESTAMP_AND_STATUS_H_ 34