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

Side by Side Diff: net/cert/x509_util_nss.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/x509_util_mac.cc ('k') | net/cert/x509_util_nss.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_X509_UTIL_NSS_H_ 5 #ifndef NET_CERT_X509_UTIL_NSS_H_
6 #define NET_BASE_X509_UTIL_NSS_H_ 6 #define NET_CERT_X509_UTIL_NSS_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/time.h" 11 #include "base/time.h"
12 #include "net/base/x509_certificate.h" 12 #include "net/cert/x509_certificate.h"
13 13
14 class PickleIterator; 14 class PickleIterator;
15 15
16 typedef struct CERTCertificateStr CERTCertificate; 16 typedef struct CERTCertificateStr CERTCertificate;
17 typedef struct CERTNameStr CERTName; 17 typedef struct CERTNameStr CERTName;
18 typedef struct PLArenaPool PLArenaPool; 18 typedef struct PLArenaPool PLArenaPool;
19 typedef struct SECKEYPrivateKeyStr SECKEYPrivateKey; 19 typedef struct SECKEYPrivateKeyStr SECKEYPrivateKey;
20 typedef struct SECItemStr SECItem; 20 typedef struct SECItemStr SECItem;
21 typedef struct SECKEYPublicKeyStr SECKEYPublicKey; 21 typedef struct SECKEYPublicKeyStr SECKEYPublicKey;
22 22
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 // a DER-encoded X.509 Distinguished Name. 91 // a DER-encoded X.509 Distinguished Name.
92 bool IsCertificateIssuedBy(const std::vector<CERTCertificate*>& cert_chain, 92 bool IsCertificateIssuedBy(const std::vector<CERTCertificate*>& cert_chain,
93 const std::vector<CERTName*>& valid_issuers); 93 const std::vector<CERTName*>& valid_issuers);
94 94
95 #endif // defined(USE_NSS) || defined(OS_IOS) 95 #endif // defined(USE_NSS) || defined(OS_IOS)
96 96
97 } // namespace x509_util 97 } // namespace x509_util
98 98
99 } // namespace net 99 } // namespace net
100 100
101 #endif // NET_BASE_X509_UTIL_NSS_H_ 101 #endif // NET_CERT_X509_UTIL_NSS_H_
OLDNEW
« no previous file with comments | « net/cert/x509_util_mac.cc ('k') | net/cert/x509_util_nss.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698