Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(41)

Side by Side Diff: net/cert/sct_status_flags.h

Issue 88643002: SignedCertificateTimestamp storing & serialization code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@erans_patches
Patch Set: fixes Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/cert/multi_log_ct_verifier_unittest.cc ('k') | net/cert/signed_certificate_timestamp.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 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_CERT_SCT_STATUS_FLAGS_H_
6 #define NET_CERT_SCT_STATUS_FLAGS_H_
7
8 namespace net {
9
10 namespace ct {
11
12 // The possible verification statuses for a SignedCertificateTimestamp.
13 enum SCTVerifyStatus {
14 // Not a real status, this just prevents a default int value from being
15 // mis-interpreseted as a valid status.
16 SCT_STATUS_NONE = 0,
17
18 // The SCT is from an unknown log, so we cannot verify its signature.
19 SCT_STATUS_LOG_UNKNOWN = 1,
20
21 // The SCT is from a known log, but the signature is invalid.
22 SCT_STATUS_INVALID = 2,
23
24 // The SCT is from a known log, and the signature is valid.
25 SCT_STATUS_OK = 3,
26 };
27
28 } // namespace ct
29
30 } // namespace net
31
32 #endif // NET_CERT_SCT_STATUS_FLAGS_H_
OLDNEW
« no previous file with comments | « net/cert/multi_log_ct_verifier_unittest.cc ('k') | net/cert/signed_certificate_timestamp.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698