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

Side by Side Diff: net/third_party/nss/ssl/cmpcert.h

Issue 2185403003: Return the certificate chain in ClientCertStoreNSS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rsleevi comments 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 /*
2 * NSS utility functions
3 *
4 * This Source Code Form is subject to the terms of the Mozilla Public
5 * License, v. 2.0. If a copy of the MPL was not distributed with this
6 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7
8 #ifndef NET_THIRD_PARTY_NSS_SSL_CMPCERT_H_
9 #define NET_THIRD_PARTY_NSS_SSL_CMPCERT_H_
10
11 #include <cert.h>
12
13 #include <string>
14 #include <vector>
15
16 #include "net/cert/scoped_nss_types.h"
17
18 namespace net {
19
20 // Checks if |cert| matches |cert_authorities|. If so, it sets |*intermediates|
21 // to a list of intermediates to send and returns true. Otherwise, it returns
22 // false.
23 bool MatchClientCertificateIssuers(
24 CERTCertificate* cert,
25 const std::vector<std::string>& cert_authorities,
26 std::vector<ScopedCERTCertificate>* intermediates);
27
28 } // namespace net
29
30 #endif // NET_THIRD_PARTY_NSS_SSL_CMPCERT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698