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

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

Issue 27026002: CT: Adding preliminary Certificate Transparency support to Chromium. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Distinguish between SCTs from unknown logs and unverified ones 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « net/cert/ct_serialization_unittest.cc ('k') | net/cert/ct_verify_result.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_CT_VERIFIER_H_
6 #define NET_CERT_CT_VERIFIER_H_
7
8 #include "net/base/completion_callback.h"
9 #include "net/base/net_export.h"
10
11 namespace net {
12
13 namespace ct {
14 struct CTVerifyResult;
15 } // namespace ct
16
17 class BoundNetLog;
18 class X509Certificate;
19
20 class NET_EXPORT CTVerifier {
21 public:
22 virtual ~CTVerifier() {}
23
24 virtual int Verify(X509Certificate* server_cert,
25 X509Certificate* verified_cert,
26 ct::CTVerifyResult* result,
27 const CompletionCallback& callback,
28 const BoundNetLog& net_log) = 0;
29
30 };
31
32 } // namespace net
33
34 #endif // NET_CERT_CT_VERIFIER_H_
OLDNEW
« no previous file with comments | « net/cert/ct_serialization_unittest.cc ('k') | net/cert/ct_verify_result.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698