Home | History | Annotate | Download | only in ssl
      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/cert/sct_status_flags.h"
     12 
     13 namespace net {
     14 
     15 namespace ct {
     16 struct SignedCertificateTimestamp;
     17 }
     18 
     19 struct SignedCertificateTimestampAndStatus {
     20   SignedCertificateTimestampAndStatus(
     21       const scoped_refptr<ct::SignedCertificateTimestamp>& sct,
     22       ct::SCTVerifyStatus status);
     23 
     24   ~SignedCertificateTimestampAndStatus();
     25 
     26   scoped_refptr<ct::SignedCertificateTimestamp> sct_;
     27   ct::SCTVerifyStatus status_;
     28 };
     29 
     30 typedef std::vector<SignedCertificateTimestampAndStatus>
     31     SignedCertificateTimestampAndStatusList;
     32 
     33 }  // namespace net
     34 
     35 #endif  // NET_SSL_SIGNED_CERTIFICATE_TIMESTAMP_AND_STATUS_H_
     36