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

Side by Side Diff: net/base/x509_util_ios.h

Issue 11579002: Add X509Certificate::IsIssuedByEncoded() (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: simple rebase to check that everything's still ok Created 7 years, 11 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
« no previous file with comments | « net/base/x509_certificate_win.cc ('k') | net/base/x509_util_ios.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 // This file contains functions for iOS to glue NSS and Security.framework 5 // This file contains functions for iOS to glue NSS and Security.framework
6 // together. 6 // together.
7 7
8 #ifndef NET_BASE_X509_UTIL_IOS_H_ 8 #ifndef NET_BASE_X509_UTIL_IOS_H_
9 #define NET_BASE_X509_UTIL_IOS_H_ 9 #define NET_BASE_X509_UTIL_IOS_H_
10 10
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 }; 54 };
55 55
56 // A wrapper class that loads a certificate and all of its intermediates into 56 // A wrapper class that loads a certificate and all of its intermediates into
57 // NSS. This is necessary for libpkix path building to be able to locate 57 // NSS. This is necessary for libpkix path building to be able to locate
58 // needed intermediates. 58 // needed intermediates.
59 class NSSCertChain { 59 class NSSCertChain {
60 public: 60 public:
61 explicit NSSCertChain(X509Certificate* certificate); 61 explicit NSSCertChain(X509Certificate* certificate);
62 ~NSSCertChain(); 62 ~NSSCertChain();
63 CERTCertificate* cert_handle() const; 63 CERTCertificate* cert_handle() const;
64 const std::vector<CERTCertificate*>& cert_chain() const;
64 private: 65 private:
65 std::vector<CERTCertificate*> certs_; 66 std::vector<CERTCertificate*> certs_;
66 }; 67 };
67 68
68 } // namespace x509_util_ios 69 } // namespace x509_util_ios
69 } // namespace net 70 } // namespace net
70 71
71 #endif // NET_BASE_X509_UTIL_IOS_H_ 72 #endif // NET_BASE_X509_UTIL_IOS_H_
OLDNEW
« no previous file with comments | « net/base/x509_certificate_win.cc ('k') | net/base/x509_util_ios.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698