Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(53)

Issue 10928107: Support x509 certificate on iOS. (Closed)

Created:
8 years, 3 months ago by droger
Modified:
8 years, 3 months ago
Reviewers:
Ryan Sleevi
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org, stuartmorgan
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Support x509 certificate on iOS. The iOS implementation uses both NSS and system API. This CL creates x509_certificate_nss_util to allow iOS to share code with the NSS implementation. The iOS specific code is in x509_certificate_ios. BUG=145954 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=157325

Patch Set 1 #

Patch Set 2 : comments #

Patch Set 3 : Added unittests and fixed compilation issues. #

Total comments: 2

Patch Set 4 : merged x509_certificate_nss_util into x509_util_nss #

Patch Set 5 : whitespace and includes #

Patch Set 6 : Revert unneeded changes #

Total comments: 10

Patch Set 7 : Review comments #

Patch Set 8 : Handle NULL cert handles #

Patch Set 9 : Fix windows compilation #

Unified diffs Side-by-side diffs Delta from patch set Stats (+684 lines, -229 lines) Patch
M net/base/ev_root_ca_metadata.h View 1 2 4 chunks +4 lines, -4 lines 0 comments Download
M net/base/ev_root_ca_metadata.cc View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
A net/base/x509_certificate_ios.cc View 1 2 3 4 5 6 7 1 chunk +230 lines, -0 lines 0 comments Download
M net/base/x509_certificate_nss.cc View 1 2 3 4 5 7 chunks +9 lines, -200 lines 0 comments Download
M net/base/x509_certificate_unittest.cc View 1 2 3 chunks +5 lines, -0 lines 0 comments Download
A net/base/x509_util_ios.h View 1 2 3 4 5 6 1 chunk +43 lines, -0 lines 0 comments Download
A net/base/x509_util_ios.cc View 1 2 3 4 5 6 7 1 chunk +77 lines, -0 lines 0 comments Download
M net/base/x509_util_nss.h View 1 2 3 4 5 6 7 8 2 chunks +43 lines, -1 line 0 comments Download
M net/base/x509_util_nss.cc View 1 2 3 4 5 6 7 8 4 chunks +222 lines, -2 lines 0 comments Download
M net/net.gyp View 1 2 3 4 5 6 8 chunks +48 lines, -19 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
droger
Ryan Sleevi: following our discussions, I applied your suggestions and put together a Chromium CL.
8 years, 3 months ago (2012-09-11 12:24:15 UTC) #1
Ryan Sleevi
On 2012/09/11 12:24:15, droger wrote: > Ryan Sleevi: > following our discussions, I applied your ...
8 years, 3 months ago (2012-09-11 16:49:34 UTC) #2
droger
On 2012/09/11 16:49:34, Ryan Sleevi wrote: > Sorry, any reason why x509_certificate_nss_util.h instead of just ...
8 years, 3 months ago (2012-09-11 17:26:34 UTC) #3
droger
https://chromiumcodereview.appspot.com/10928107/diff/10001/net/net.gyp File net/net.gyp (right): https://chromiumcodereview.appspot.com/10928107/diff/10001/net/net.gyp#newcode999 net/net.gyp:999: 'base/x509_certificate_nss_util.h', x509_util_nss does not show here.
8 years, 3 months ago (2012-09-11 17:26:49 UTC) #4
Ryan Sleevi
https://chromiumcodereview.appspot.com/10928107/diff/10001/net/net.gyp File net/net.gyp (right): https://chromiumcodereview.appspot.com/10928107/diff/10001/net/net.gyp#newcode999 net/net.gyp:999: 'base/x509_certificate_nss_util.h', On 2012/09/11 17:26:49, droger wrote: > x509_util_nss does ...
8 years, 3 months ago (2012-09-11 18:39:27 UTC) #5
droger
Thanks for the comments. Please take another look.
8 years, 3 months ago (2012-09-12 09:23:25 UTC) #6
Ryan Sleevi
Thanks! This LGTM as a faithful change, although I have a few nits related to ...
8 years, 3 months ago (2012-09-12 19:34:44 UTC) #7
droger
I applied your comments, thanks. I have not committed yet. https://chromiumcodereview.appspot.com/10928107/diff/12005/net/base/x509_certificate_ios.cc File net/base/x509_certificate_ios.cc (right): https://chromiumcodereview.appspot.com/10928107/diff/12005/net/base/x509_certificate_ios.cc#newcode115 ...
8 years, 3 months ago (2012-09-13 13:03:05 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/10928107/7014
8 years, 3 months ago (2012-09-14 08:31:10 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/10928107/7014
8 years, 3 months ago (2012-09-14 11:32:55 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/10928107/7014
8 years, 3 months ago (2012-09-14 17:46:53 UTC) #11
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build. Your ...
8 years, 3 months ago (2012-09-14 22:48:57 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/10928107/7014
8 years, 3 months ago (2012-09-17 08:09:53 UTC) #13
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build. Your ...
8 years, 3 months ago (2012-09-17 08:24:04 UTC) #14
droger
It does not compile on win debug (win rel is fine though?), because of unresolved ...
8 years, 3 months ago (2012-09-17 08:57:49 UTC) #15
Ryan Sleevi
On 2012/09/17 08:57:49, droger wrote: > It does not compile on win debug (win rel ...
8 years, 3 months ago (2012-09-17 16:37:46 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/10928107/35
8 years, 3 months ago (2012-09-18 07:51:23 UTC) #17
commit-bot: I haz the power
8 years, 3 months ago (2012-09-18 09:04:35 UTC) #18
Change committed as 157325

Powered by Google App Engine
This is Rietveld 408576698