Chromium Code Reviews
Help | Chromium Project | Sign in
(14)

Issue 10377025: Parse an application/x-x509-user-cert response with (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
1 year, 11 months ago by wtc
Modified:
1 year, 11 months ago
Reviewers:
Ryan Sleevi, mattm
CC:
chromium-reviews_chromium.org, joi+watch-content_chromium.org, darin-cc_chromium.org, cbentzel+watch_chromium.org, jam
Visibility:
Public.

Description

[This CL is for reference only.]

Parse an application/x-x509-user-cert response with
net::X509Certificate::CreateCertificateListFromBytes(), which supports
three formats (in particular PKCS #7).

Save the response in a file named "keygen-response". Print messages
about the format and contents of the response.

Import the intermediate CA certificates in the response (only implemented
for NSS). NOTE: we must verify the CA certificates before importing them.

Sign PublicKeyAndChallenge with sha1WithRSAEncryption.

R=rsleevi@chromium.org,mattm@chromium.org
BUG=37142
TEST=none

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -4 lines) Lint Patch
M content/browser/renderer_host/x509_user_cert_resource_handler.cc View 1 chunk +19 lines, -2 lines 0 comments 1 errors Download
M net/base/cert_database_nss.cc View 1 chunk +11 lines, -0 lines 0 comments 0 errors Download
M net/base/x509_certificate.cc View 4 chunks +10 lines, -1 line 0 comments 3 errors Download
M net/third_party/mozilla_security_manager/nsKeygenHandler.h View 1 chunk +1 line, -1 line 0 comments 0 errors Download
Trybot results:
Commit:

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld 1280:2d3e6564b7b6