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

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

Issue 2036033002: Add CertIssuerSourceAia: authorityInfoAccess fetching for CertPathBuilder. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cert-parsing-path-building
Patch Set: derp Created 4 years, 6 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_AIA_H_
6 #define NET_CERT_INTERNAL_CERT_ISSUER_SOURCE_AIA_H_
7
8 #include "base/strings/string_piece.h"
9 #include "net/cert/internal/cert_issuer_source.h"
10
11 namespace net {
12
13 class CertNetFetcher;
14
15 class NET_EXPORT CertIssuerSourceAia : public CertIssuerSource {
16 public:
17 // Creates CertIssuerSource that will use |cert_fetcher| to retrieve issuers
18 // using AuthorityInfoAccess URIs. |cert_fetcher| must outlive the
19 // CertIssuerSourceAia. CertIssuerSourceAia must be created and used only on
eroman 2016/06/14 00:22:21 nit: can this be rephrased to avoid speaking about
mattm 2016/06/14 21:37:30 Done.
20 // the network thread.
21 explicit CertIssuerSourceAia(CertNetFetcher* cert_fetcher);
22 ~CertIssuerSourceAia() override;
23
24 // CertIssuerSource implementation:
25 void SyncGetIssuersOf(
26 const ParsedCertificate* cert,
27 std::vector<scoped_refptr<ParsedCertificate>>* issuers) override;
28 void AsyncGetIssuersOf(const ParsedCertificate* cert,
29 const IssuerCallback& issuers_callback,
30 std::unique_ptr<Request>* out_req) override;
31
32 private:
33 CertNetFetcher* cert_fetcher_;
34
35 DISALLOW_COPY_AND_ASSIGN(CertIssuerSourceAia);
36 };
37
38 } // namespace net
39
40 #endif // NET_CERT_INTERNAL_CERT_ISSUER_SOURCE_AIA_H_
OLDNEW
« no previous file with comments | « no previous file | net/cert/internal/cert_issuer_source_aia.cc » ('j') | net/cert/internal/cert_issuer_source_aia.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698