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

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: 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
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_H_
6 #define NET_CERT_SCT_STATUS_H_
7
8 namespace net {
9
10 typedef uint16 SignedCertificateTimestampVerificationStatus;
11
12 const SignedCertificateTimestampVerificationStatus kSctStatusAll = 0x0003;
Eran M. (Google) 2013/11/26 21:33:22 You may be able to use values I defined in the oth
alcutter 2013/11/26 23:00:05 Could you give your enum a type name ?
13 const SignedCertificateTimestampVerificationStatus kSctStatusOk = 0x0000;
Eran M. (Google) 2013/11/26 21:33:22 Nit: I'd suggest having the OK status as non-zero,
alcutter 2013/11/26 23:00:05 This was actually a bit-field, which is why zero w
14
15 const SignedCertificateTimestampVerificationStatus kSctStatusInvalid = 1 << 0;
16 const SignedCertificateTimestampVerificationStatus kSctStatusLogUnknown = 1
17 << 1;
18
19 } // namespace net
20
21 #endif // NET_CERT_SCT_STATUS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698