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

Unified Diff: net/base/x509_certificate.h

Issue 12035105: Move client certificates retrieval logic out of the SSL sockets. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Linux Redux build 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 side-by-side diff with in-line comments
Download patch
Index: net/base/x509_certificate.h
diff --git a/net/base/x509_certificate.h b/net/base/x509_certificate.h
index 1bd6a4b2bb3c77af6a85e13857eabd73f24a1508..ade96559ac90af5b3c0ccc7d25bdad8650974863 100644
--- a/net/base/x509_certificate.h
+++ b/net/base/x509_certificate.h
@@ -279,20 +279,6 @@ class NET_EXPORT X509Certificate
// Does this certificate's usage allow SSL client authentication?
bool SupportsSSLClientAuth() const;
- // Do any of the given issuer names appear in this cert's chain of trust?
- bool IsIssuedBy(const std::vector<CertPrincipal>& valid_issuers);
-
- // Adds all available SSL client identity certs to the given vector.
- // |server_domain| is a hint for which domain the cert is to be sent to
- // (a cert previously specified as the default for that domain will be given
- // precedence and returned first in the output vector.)
- // If valid_issuers is non-empty, only certs that were transitively issued
- // by one of the given names will be included in the list.
- static bool GetSSLClientCertificates(
- const std::string& server_domain,
- const std::vector<CertPrincipal>& valid_issuers,
- CertificateList* certs);
-
// Creates the chain of certs to use for this client identity cert.
CFArrayRef CreateClientCertificateChain() const;

Powered by Google App Engine
This is Rietveld 408576698