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

Unified Diff: net/ssl/client_cert_store_mac.h

Issue 2910893002: Improved support for loading client certificates on smart cards on macOS
Patch Set: Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | net/ssl/client_cert_store_mac.cc » ('j') | net/ssl/client_cert_store_mac.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/ssl/client_cert_store_mac.h
diff --git a/net/ssl/client_cert_store_mac.h b/net/ssl/client_cert_store_mac.h
index 1bad779dd35377fb284356148a9d8eb1f1f5bd3d..94d9436468961e72bc8e650a6edab2cd87114754 100644
--- a/net/ssl/client_cert_store_mac.h
+++ b/net/ssl/client_cert_store_mac.h
@@ -5,6 +5,8 @@
#ifndef NET_SSL_CLIENT_CERT_STORE_MAC_H_
#define NET_SSL_CLIENT_CERT_STORE_MAC_H_
+#include <Security/Security.h>
+
#include "base/callback.h"
#include "base/macros.h"
#include "net/base/net_export.h"
@@ -45,6 +47,16 @@ class NET_EXPORT ClientCertStoreMac : public ClientCertStore {
const SSLCertRequestInfo& request,
CertificateList* selected_certs);
+
+ // Given an |identity|, adds it to either |regular_certs| or assigns
+ // |preferred_cert| if it it shte |preferred_identity.
Ryan Sleevi 2017/05/30 18:00:01 typo: if it is the |preferred_identity|
Ryan Sleevi 2017/05/30 18:00:01 Could you expand on what you're trying to document
agaynor 2017/05/31 02:37:33 Done.
+ void AddIdentity(
+ CertificateList& regular_certs,
+ scoped_refptr<X509Certificate>& preferred_cert,
+ SecIdentityRef preferred_identity,
+ SecIdentityRef identity);
+
+
DISALLOW_COPY_AND_ASSIGN(ClientCertStoreMac);
};
« no previous file with comments | « no previous file | net/ssl/client_cert_store_mac.cc » ('j') | net/ssl/client_cert_store_mac.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698