|
Certificate Transparency: Parse Signed Tree Heads and validate them
This change lays the groundwork for fetching STHs from CT logs and
using them for proof inclusion validation.
This change contains:
* A SignedTreeHead struct representing a signed tree head.
* CTLogResponseParser - a class to parse the STH returned by the log in
JSON format and fill in SignedTreeHead.
* An encoding function to create the binary blob over which the signature
in the STH applies.
* Addition to the CTLogVerifier class to validate and store provided STHs,
which uses the encoding function mentioned above.
BUG=
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=269887
Total comments: 8
Total comments: 16
Total comments: 8
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+471 lines, -14 lines) |
Patch |
 |
A |
net/cert/ct_log_response_parser.h
|
View
|
1
2
3
4
|
1 chunk |
+27 lines, -0 lines |
0 comments
|
Download
|
 |
A |
net/cert/ct_log_response_parser.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+140 lines, -0 lines |
0 comments
|
Download
|
 |
A |
net/cert/ct_log_response_parser_unittest.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+106 lines, -0 lines |
0 comments
|
Download
|
 |
M |
net/cert/ct_log_verifier.h
|
View
|
1
2
3
4
|
3 chunks |
+14 lines, -0 lines |
0 comments
|
Download
|
 |
M |
net/cert/ct_log_verifier.cc
|
View
|
1
2
3
4
|
3 chunks |
+31 lines, -10 lines |
0 comments
|
Download
|
 |
M |
net/cert/ct_log_verifier_nss.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
net/cert/ct_log_verifier_openssl.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
net/cert/ct_log_verifier_unittest.cc
|
View
|
|
2 chunks |
+14 lines, -0 lines |
0 comments
|
Download
|
 |
M |
net/cert/ct_serialization.h
|
View
|
1
2
3
4
|
2 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
net/cert/ct_serialization.cc
|
View
|
1
2
3
4
|
3 chunks |
+21 lines, -3 lines |
0 comments
|
Download
|
 |
M |
net/cert/ct_serialization_unittest.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+18 lines, -0 lines |
0 comments
|
Download
|
 |
M |
net/cert/signed_certificate_timestamp.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
net/cert/signed_certificate_timestamp.cc
|
View
|
1
2
3
4
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
A |
net/cert/signed_tree_head.h
|
View
|
1
|
1 chunk |
+40 lines, -0 lines |
0 comments
|
Download
|
 |
M |
net/net.gypi
|
View
|
1
2
3
4
5
6
|
3 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
net/test/ct_test_util.h
|
View
|
1
2
3
4
5
6
|
2 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
net/test/ct_test_util.cc
|
View
|
1
2
3
4
5
6
|
3 chunks |
+27 lines, -0 lines |
0 comments
|
Download
|
Total messages: 12 (0 generated)
|