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

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

Issue 13006020: net: extract net/cert out of net/base (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 8 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
« no previous file with comments | « net/cert/cert_verifier.cc ('k') | net/cert/cert_verify_proc.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_BASE_CERT_VERIFY_PROC_H_ 5 #ifndef NET_CERT_CERT_VERIFY_PROC_H_
6 #define NET_BASE_CERT_VERIFY_PROC_H_ 6 #define NET_CERT_CERT_VERIFY_PROC_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/gtest_prod_util.h" 11 #include "base/gtest_prod_util.h"
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "net/base/net_export.h" 13 #include "net/base/net_export.h"
14 #include "net/base/x509_cert_types.h" 14 #include "net/cert/x509_cert_types.h"
15 15
16 namespace net { 16 namespace net {
17 17
18 class CertVerifyResult; 18 class CertVerifyResult;
19 class CRLSet; 19 class CRLSet;
20 class X509Certificate; 20 class X509Certificate;
21 typedef std::vector<scoped_refptr<X509Certificate> > CertificateList; 21 typedef std::vector<scoped_refptr<X509Certificate> > CertificateList;
22 22
23 // Class to perform certificate path building and verification for various 23 // Class to perform certificate path building and verification for various
24 // certificate uses. All methods of this class must be thread-safe, as they 24 // certificate uses. All methods of this class must be thread-safe, as they
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 // Returns true if |cert| is explicitly blacklisted. 86 // Returns true if |cert| is explicitly blacklisted.
87 static bool IsBlacklisted(X509Certificate* cert); 87 static bool IsBlacklisted(X509Certificate* cert);
88 88
89 // IsPublicKeyBlacklisted returns true iff one of |public_key_hashes| (which 89 // IsPublicKeyBlacklisted returns true iff one of |public_key_hashes| (which
90 // are hashes of SubjectPublicKeyInfo structures) is explicitly blocked. 90 // are hashes of SubjectPublicKeyInfo structures) is explicitly blocked.
91 static bool IsPublicKeyBlacklisted(const HashValueVector& public_key_hashes); 91 static bool IsPublicKeyBlacklisted(const HashValueVector& public_key_hashes);
92 }; 92 };
93 93
94 } // namespace net 94 } // namespace net
95 95
96 #endif // NET_BASE_CERT_VERIFY_PROC_H_ 96 #endif // NET_CERT_CERT_VERIFY_PROC_H_
OLDNEW
« no previous file with comments | « net/cert/cert_verifier.cc ('k') | net/cert/cert_verify_proc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698