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_SCT_STATUS_FLAGS_H_
6 #define NET_CERT_SCT_STATUS_FLAGS_H_
12 // The possible verification statuses for a SignedCertificateTimestamp.
13 // Note: The numeric values are used within histograms and should not change
15 enum SCTVerifyStatus
{
16 // Not a real status, this just prevents a default int value from being
17 // mis-interpreseted as a valid status.
18 // Also used to count SCTs that cannot be decoded in the histogram.
21 // The SCT is from an unknown log, so we cannot verify its signature.
22 SCT_STATUS_LOG_UNKNOWN
= 1,
24 // The SCT is from a known log, but the signature is invalid.
25 SCT_STATUS_INVALID
= 2,
27 // The SCT is from a known log, and the signature is valid.
30 // Used to bound the enum values.
38 #endif // NET_CERT_SCT_STATUS_FLAGS_H_