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

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

Issue 76443006: Certificate Transparency: Threading the CT verifier into the SSL client socket. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixing compilation on non-NSS platforms 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 | 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_CT_VERIFIER_H_ 5 #ifndef NET_CERT_CT_VERIFIER_H_
6 #define NET_CERT_CT_VERIFIER_H_ 6 #define NET_CERT_CT_VERIFIER_H_
7 7
8 #include "net/base/net_export.h" 8 #include "net/base/net_export.h"
9 9
10 namespace net { 10 namespace net {
(...skipping 10 matching lines...) Expand all
21 virtual ~CTVerifier() {} 21 virtual ~CTVerifier() {}
22 22
23 // Verifies either embedded SCTs or SCTs obtained via the 23 // Verifies either embedded SCTs or SCTs obtained via the
24 // signed_certificate_timestamp TLS extension or OCSP on the given |cert| 24 // signed_certificate_timestamp TLS extension or OCSP on the given |cert|
25 // |result| will be filled with these SCTs, divided into categories based on 25 // |result| will be filled with these SCTs, divided into categories based on
26 // the verification result. 26 // the verification result.
27 virtual int Verify(X509Certificate* cert, 27 virtual int Verify(X509Certificate* cert,
28 const std::string& sct_list_from_ocsp, 28 const std::string& sct_list_from_ocsp,
29 const std::string& sct_list_from_tls_extension, 29 const std::string& sct_list_from_tls_extension,
30 ct::CTVerifyResult* result) = 0; 30 ct::CTVerifyResult* result) = 0;
31
32 }; 31 };
33 32
34 } // namespace net 33 } // namespace net
35 34
36 #endif // NET_CERT_CT_VERIFIER_H_ 35 #endif // NET_CERT_CT_VERIFIER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698