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

Unified Diff: net/base/x509_certificate_mac.cc

Issue 7740034: Revert 98288 - Added CreateOriginBound method to x509_certificate.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/base/x509_certificate.h ('k') | net/base/x509_certificate_nss.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/x509_certificate_mac.cc
===================================================================
--- net/base/x509_certificate_mac.cc (revision 98292)
+++ net/base/x509_certificate_mac.cc (working copy)
@@ -695,25 +695,6 @@
return CreateFromHandle(scoped_cert, X509Certificate::OSCertHandles());
}
-// static
-X509Certificate* X509Certificate::CreateOriginBound(
- crypto::RSAPrivateKey* key,
- const std::string& origin,
- uint32 serial_number,
- base::TimeDelta valid_duration) {
- // TODO(wtc): this cannot be implemented by creating a CE_DataAndType for
- // the origin-bound extension and adding it to certReq.extensions because
- // it is not one of the supported extensions in the CE_DataType enum type.
- // Using the DT_Other enum constant does not work.
- //
- // The relevant Apple headers are:
- // - CSSM_APPLE_TP_CERT_REQUEST is defined in cssmapple.h.
- // - CE_DataAndType, CE_DataType, and CE_Data are defined in
- // certextensions.h.
- NOTIMPLEMENTED();
- return NULL;
-}
-
void X509Certificate::GetSubjectAltName(
std::vector<std::string>* dns_names,
std::vector<std::string>* ip_addrs) const {
« no previous file with comments | « net/base/x509_certificate.h ('k') | net/base/x509_certificate_nss.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698