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

Unified Diff: net/cert/sct_status_flags.h

Issue 71633002: Convert SignedCertificateClass to be ref_counted, and add an SCTStore in which to store them. Add S… Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: few lint fixes Created 7 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/cert/ct_verify_result.h ('k') | net/cert/signed_certificate_timestamp.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/cert/sct_status_flags.h
diff --git a/net/cert/sct_status_flags.h b/net/cert/sct_status_flags.h
new file mode 100644
index 0000000000000000000000000000000000000000..83cec5d82c4542a0d2a6d66b215a930985cf6ada
--- /dev/null
+++ b/net/cert/sct_status_flags.h
@@ -0,0 +1,21 @@
+// Copyright (c) 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef NET_CERT_SCT_STATUS_H_
+#define NET_CERT_SCT_STATUS_H_
+
+namespace net {
+
+typedef uint16 SignedCertificateTimestampVerificationStatus;
+
+const SignedCertificateTimestampVerificationStatus kSctStatusAll = 0x0003;
+const SignedCertificateTimestampVerificationStatus kSctStatusOk = 0x0000;
+
+const SignedCertificateTimestampVerificationStatus kSctStatusInvalid = 1 << 1;
+const SignedCertificateTimestampVerificationStatus kSctStatusLogUnknown = 1
+ << 2;
+
+} // namespace net
+
+#endif // NET_CERT_SCT_STATUS_H_
« no previous file with comments | « net/cert/ct_verify_result.h ('k') | net/cert/signed_certificate_timestamp.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698