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 CONTENT_PUBLIC_COMMON_SIGNED_CERTIFICATE_TIMESTAMP_ID_AND_STATUS_H_
6 #define CONTENT_PUBLIC_COMMON_SIGNED_CERTIFICATE_TIMESTAMP_ID_AND_STATUS_H_
10 #include "content/common/content_export.h"
11 #include "net/cert/sct_status_flags.h"
15 // Holds the ID of a SignedCertificateTimestamp (as assigned by
16 // SignedCertificateTimestampStore), and its verification status.
17 struct CONTENT_EXPORT SignedCertificateTimestampIDAndStatus
{
18 SignedCertificateTimestampIDAndStatus(
19 int id
, net::ct::SCTVerifyStatus status
);
21 bool operator==(const SignedCertificateTimestampIDAndStatus
& other
) const;
24 net::ct::SCTVerifyStatus status
;
27 typedef std::vector
<SignedCertificateTimestampIDAndStatus
>
28 SignedCertificateTimestampIDStatusList
;
30 } // namespace content
32 #endif // CONTENT_PUBLIC_COMMON_SIGNED_CERTIFICATE_TIMESTAMP_ID_AND_STATUS_H_