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

Issue 687063002: Refactor: Expose JwkReader/JwkWriter helper classes. (Closed)

Created:
6 years, 1 month ago by eroman
Modified:
6 years, 1 month ago
Reviewers:
Ryan Sleevi
CC:
chromium-reviews, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Refactor: Expose JwkReader/JwkWriter helper classes. This tidies the code up a bit, and I use these interfaces in a subsequent changelist (for EC keys). The vision is that jwk.h/jwk.cc should just define these two helpers, and all the other algorithm-specific logic (EC keys, RSA keys, AES keys, HMAC keys etc..) is built using JwkReader/JwkWriter, and lives in the algorithm-specific files. BUG=399094 Committed: https://crrev.com/4ccb5e4ec3cf49ab49d47a2cd59fe5165cf42f79 Cr-Commit-Position: refs/heads/master@{#302697}

Patch Set 1 : #

Total comments: 7

Patch Set 2 : Expose JwkReader::GetAlg() #

Total comments: 19

Patch Set 3 : Address feedback from sleevi: property/key --> member #

Patch Set 4 : utf-8 --> UTF-8 #

Total comments: 4

Patch Set 5 : update moar comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+323 lines, -241 lines) Patch
M content/child/webcrypto/jwk.h View 1 2 3 4 5 chunks +112 lines, -7 lines 0 comments Download
M content/child/webcrypto/jwk.cc View 1 2 11 chunks +211 lines, -234 lines 0 comments Download

Messages

Total messages: 12 (3 generated)
eroman
https://codereview.chromium.org/687063002/diff/20001/content/child/webcrypto/jwk.cc File content/child/webcrypto/jwk.cc (left): https://codereview.chromium.org/687063002/diff/20001/content/child/webcrypto/jwk.cc#oldcode223 content/child/webcrypto/jwk.cc:223: class JwkWriter { This class declaration was moved into ...
6 years, 1 month ago (2014-10-29 02:35:11 UTC) #3
Ryan Sleevi
https://codereview.chromium.org/687063002/diff/40001/content/child/webcrypto/jwk.h File content/child/webcrypto/jwk.h (right): https://codereview.chromium.org/687063002/diff/40001/content/child/webcrypto/jwk.h#newcode23 content/child/webcrypto/jwk.h:23: // Helper class for parsing a JWK from JSON. ...
6 years, 1 month ago (2014-10-30 02:30:40 UTC) #4
eroman
https://codereview.chromium.org/687063002/diff/40001/content/child/webcrypto/jwk.h File content/child/webcrypto/jwk.h (right): https://codereview.chromium.org/687063002/diff/40001/content/child/webcrypto/jwk.h#newcode23 content/child/webcrypto/jwk.h:23: // Helper class for parsing a JWK from JSON. ...
6 years, 1 month ago (2014-10-30 16:04:35 UTC) #5
eroman
https://codereview.chromium.org/687063002/diff/40001/content/child/webcrypto/jwk.h File content/child/webcrypto/jwk.h (right): https://codereview.chromium.org/687063002/diff/40001/content/child/webcrypto/jwk.h#newcode23 content/child/webcrypto/jwk.h:23: // Helper class for parsing a JWK from JSON. ...
6 years, 1 month ago (2014-10-30 17:00:30 UTC) #6
Ryan Sleevi
lgtm https://codereview.chromium.org/687063002/diff/80001/content/child/webcrypto/jwk.h File content/child/webcrypto/jwk.h (right): https://codereview.chromium.org/687063002/diff/80001/content/child/webcrypto/jwk.h#newcode26 content/child/webcrypto/jwk.h:26: // type and presence of particular fields is ...
6 years, 1 month ago (2014-11-04 20:59:50 UTC) #7
eroman
https://codereview.chromium.org/687063002/diff/80001/content/child/webcrypto/jwk.h File content/child/webcrypto/jwk.h (right): https://codereview.chromium.org/687063002/diff/80001/content/child/webcrypto/jwk.h#newcode26 content/child/webcrypto/jwk.h:26: // type and presence of particular fields is security ...
6 years, 1 month ago (2014-11-04 21:50:45 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/687063002/100001
6 years, 1 month ago (2014-11-04 21:52:31 UTC) #10
commit-bot: I haz the power
Committed patchset #5 (id:100001)
6 years, 1 month ago (2014-11-04 23:05:25 UTC) #11
commit-bot: I haz the power
6 years, 1 month ago (2014-11-04 23:06:14 UTC) #12
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/4ccb5e4ec3cf49ab49d47a2cd59fe5165cf42f79
Cr-Commit-Position: refs/heads/master@{#302697}

Powered by Google App Engine
This is Rietveld 408576698