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

Unified Diff: net/base/x509_openssl_util.h

Issue 6612013: Add X509Certificate::VerifyCertName(string) API. This will be used... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 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_openssl_util.h
===================================================================
--- net/base/x509_openssl_util.h (revision 76583)
+++ net/base/x509_openssl_util.h (working copy)
@@ -33,13 +33,6 @@
bool ParseDate(ASN1_TIME* x509_time, base::Time* time);
-// Verifies that |hostname| matches one of the names in |cert_names|, based on
-// TLS name matching rules, specifically following http://tools.ietf.org/html/draft-saintandre-tls-server-id-check-09#section-4.4.3
-// The members of |cert_names| must have been extracted from the Subject CN or
-// SAN fields of a certificate.
-bool VerifyHostname(const std::string& hostname,
- const std::vector<std::string>& cert_names);
-
} // namespace x509_openssl_util
} // namespace net

Powered by Google App Engine
This is Rietveld 408576698