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

Issue 9691054: Move X509Certificate::Verify into CertVerifyProc (Closed)

Created:
8 years, 9 months ago by Ryan Sleevi
Modified:
8 years, 9 months ago
Reviewers:
Nico, wtc
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

Move X509Certificate::Verify into CertVerifyProc With this split, CertVerifyProc is responsible for interacting with the underlying PKIX path building and verification library, while X509Certificate is responsible for parsing certificates with the underlying crypto library and exposing a common interface for higher-level code such as UI. BUG=114343 TEST=net_unittests Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=128172

Patch Set 1 #

Patch Set 2 : Mac fixes #

Total comments: 12

Patch Set 3 : A few more fixes #

Patch Set 4 : Rebased #

Patch Set 5 : Remove X509Certificate::VerifyInternal - hes dead Jim #

Patch Set 6 : Remove X509Certificate::VerifyInternal - hes dead Jim #

Total comments: 1

Patch Set 7 : Rebase to ToT #

Patch Set 8 : ToT #

Patch Set 9 : svn time #

Patch Set 10 : Compile fix #

Patch Set 11 : Lint #

Patch Set 12 : Last review comment #

Patch Set 13 : License headers #

Unified diffs Side-by-side diffs Delta from patch set Stats (+944 lines, -6989 lines) Patch
M chrome/browser/ui/cocoa/certificate_viewer_mac.mm View 1 2 3 4 5 6 7 8 3 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/ssl_client_certificate_selector.mm View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +3 lines, -2 lines 0 comments Download
M net/base/cert_verify_proc.h View 1 2 3 4 5 6 7 8 3 chunks +12 lines, -0 lines 0 comments Download
M net/base/cert_verify_proc.cc View 1 2 3 4 5 6 7 8 2 chunks +242 lines, -17 lines 0 comments Download
A net/base/cert_verify_proc_mac.h View 1 2 3 4 5 6 7 8 1 chunk +38 lines, -0 lines 0 comments Download
A + net/base/cert_verify_proc_mac.cc View 1 2 3 4 5 6 7 8 16 chunks +32 lines, -1113 lines 0 comments Download
A net/base/cert_verify_proc_nss.h View 1 2 3 4 5 6 7 8 1 chunk +31 lines, -0 lines 0 comments Download
A + net/base/cert_verify_proc_nss.cc View 1 2 3 4 5 6 7 8 7 chunks +78 lines, -523 lines 0 comments Download
A net/base/cert_verify_proc_openssl.h View 1 2 3 4 5 6 7 8 1 chunk +31 lines, -0 lines 0 comments Download
A + net/base/cert_verify_proc_openssl.cc View 1 2 3 4 5 6 7 8 8 chunks +42 lines, -480 lines 0 comments Download
M net/base/cert_verify_proc_unittest.cc View 1 2 3 4 5 6 7 8 2 chunks +36 lines, -0 lines 0 comments Download
A net/base/cert_verify_proc_win.h View 1 2 3 4 5 6 7 8 1 chunk +32 lines, -0 lines 0 comments Download
A + net/base/cert_verify_proc_win.cc View 1 2 3 4 5 6 7 8 9 10 14 chunks +81 lines, -509 lines 0 comments Download
M net/base/x509_cert_types.h View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +9 lines, -3 lines 0 comments Download
M net/base/x509_cert_types.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +22 lines, -2 lines 0 comments Download
M net/base/x509_certificate.h View 1 2 3 4 5 6 7 8 9 10 11 8 chunks +3 lines, -100 lines 0 comments Download
M net/base/x509_certificate.cc View 1 2 3 4 5 6 7 8 5 chunks +0 lines, -233 lines 0 comments Download
M net/base/x509_certificate_mac.cc View 1 2 3 4 5 6 7 8 13 chunks +17 lines, -776 lines 0 comments Download
M net/base/x509_certificate_nss.cc View 1 2 3 4 5 6 7 8 5 chunks +0 lines, -749 lines 0 comments Download
M net/base/x509_certificate_openssl.cc View 1 2 3 4 5 6 7 8 5 chunks +0 lines, -255 lines 0 comments Download
M net/base/x509_certificate_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -35 lines 0 comments Download
M net/base/x509_certificate_win.cc View 1 2 3 4 5 6 7 8 9 chunks +0 lines, -693 lines 0 comments Download
A net/base/x509_util_mac.h View 1 2 3 4 5 6 7 8 1 chunk +131 lines, -0 lines 0 comments Download
A + net/base/x509_util_mac.cc View 1 2 3 4 5 6 7 8 3 chunks +81 lines, -1497 lines 0 comments Download
M net/net.gyp View 1 2 3 4 5 6 7 8 5 chunks +20 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Ryan Sleevi
This change moves all of the logic for certificate verification out of X509Certificate. This is ...
8 years, 9 months ago (2012-03-14 00:36:11 UTC) #1
wtc
Patch set 6 LGTM. Good refactoring, but it's too bad we'll have a gap in ...
8 years, 9 months ago (2012-03-16 00:48:25 UTC) #2
Ryan Sleevi
On 2012/03/16 00:48:25, wtc wrote: > Patch set 6 LGTM. Good refactoring, but it's too ...
8 years, 9 months ago (2012-03-16 00:52:02 UTC) #3
Nico
8 years, 9 months ago (2012-03-22 04:37:40 UTC) #4
cocoa change lgtm

Powered by Google App Engine
This is Rietveld 408576698