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

Side by Side Diff: net/cert/internal/cert_issuer_source_collection.h

Issue 2126803004: WIP: NSS trust store integration for path builder. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cert-command-line-path-builder-add_certpathbuilder
Patch Set: . Created 4 years, 4 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
OLDNEW
(Empty)
1 // Copyright 2016 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_INTERNAL_CERT_ISSUER_SOURCE_COLLECTION_H_
6 #define NET_CERT_INTERNAL_CERT_ISSUER_SOURCE_COLLECTION_H_
7
8 #include <vector>
9
10 #include "net/cert/internal/cert_issuer_source.h"
11
12 namespace net {
13
14 // Returns results from a collection of other CertIssuerSources.
15 class NET_EXPORT CertIssuerSourceCollection : public CertIssuerSource {
16 public:
17 CertIssuerSourceCollection();
18 ~CertIssuerSourceCollection() override;
19
20 // Adds |source| to the list of CertIssuerSources that will provide issuers.
21 void AddSource(CertIssuerSource* source);
22
23 // CertIssuerSource implementation:
24 void SyncGetIssuersOf(const ParsedCertificate* cert,
25 ParsedCertificateList* issuers) override;
26 void AsyncGetIssuersOf(scoped_refptr<ParsedCertificate> cert,
27 const IssuerCallback& issuers_callback,
28 std::unique_ptr<Request>* out_req) override;
29
30 private:
31 std::vector<CertIssuerSource*> sources_;
32
33 DISALLOW_COPY_AND_ASSIGN(CertIssuerSourceCollection);
34 };
35
36 } // namespace net
37
38 #endif // NET_CERT_INTERNAL_CERT_ISSUER_SOURCE_COLLECTION_H_
OLDNEW
« no previous file with comments | « net/cert/internal/cert_issuer_source_aia_unittest.cc ('k') | net/cert/internal/cert_issuer_source_collection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698