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

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

Issue 266243004: Clang format slam. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 months 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_CERT_MULTI_LOG_CT_VERIFIER_H_ 5 #ifndef NET_CERT_MULTI_LOG_CT_VERIFIER_H_
6 #define NET_CERT_MULTI_LOG_CT_VERIFIER_H_ 6 #define NET_CERT_MULTI_LOG_CT_VERIFIER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 49
50 // Verify a list of SCTs from |encoded_sct_list| over |expected_entry|, 50 // Verify a list of SCTs from |encoded_sct_list| over |expected_entry|,
51 // placing the verification results in |result|. The SCTs in the list 51 // placing the verification results in |result|. The SCTs in the list
52 // come from |origin| (as will be indicated in the origin field of each SCT). 52 // come from |origin| (as will be indicated in the origin field of each SCT).
53 bool VerifySCTs(const std::string& encoded_sct_list, 53 bool VerifySCTs(const std::string& encoded_sct_list,
54 const ct::LogEntry& expected_entry, 54 const ct::LogEntry& expected_entry,
55 ct::SignedCertificateTimestamp::Origin origin, 55 ct::SignedCertificateTimestamp::Origin origin,
56 ct::CTVerifyResult* result); 56 ct::CTVerifyResult* result);
57 57
58 // Verifies a single, parsed SCT against all logs. 58 // Verifies a single, parsed SCT against all logs.
59 bool VerifySingleSCT( 59 bool VerifySingleSCT(scoped_refptr<ct::SignedCertificateTimestamp> sct,
60 scoped_refptr<ct::SignedCertificateTimestamp> sct, 60 const ct::LogEntry& expected_entry,
61 const ct::LogEntry& expected_entry, 61 ct::CTVerifyResult* result);
62 ct::CTVerifyResult* result);
63 62
64 IDToLogMap logs_; 63 IDToLogMap logs_;
65 64
66 DISALLOW_COPY_AND_ASSIGN(MultiLogCTVerifier); 65 DISALLOW_COPY_AND_ASSIGN(MultiLogCTVerifier);
67 }; 66 };
68 67
69 } // namespace net 68 } // namespace net
70 69
71 #endif // NET_CERT_MULTI_LOG_CT_VERIFIER_H_ 70 #endif // NET_CERT_MULTI_LOG_CT_VERIFIER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698