|
|
Don't treat trust anchors as certificates during path building.
This clarifies the abstraction for trust anchors, and treats them as
described in RFC 5280 -- as being just an SPKI + name.
Previously anchors were passed around as certificates, wheres this CL:
* Introduces TrustAnchor to describe trust anchor for path validation/building
* Introduces CertPath to describe trust anchor + certificates
* TrustAnchor may optionally have an associated certificate, however properties of that certificate are not processed during validation.
* TrustAnchor will be extended in a follow-up CL (issue 635200) to support describing anchor constraints
BUG= 634509, 410574
Committed: https://crrev.com/96739b74597dba66dce7104b3f058028950d2ce1
Cr-Commit-Position: refs/heads/master@{#411231}
Total comments: 6
Total comments: 11
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+990 lines, -708 lines) |
Patch |
 |
M |
components/cast_certificate/cast_cert_validator.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+7 lines, -3 lines |
0 comments
|
Download
|
 |
M |
components/cast_certificate/cast_crl.h
|
View
|
|
2 chunks |
+3 lines, -5 lines |
0 comments
|
Download
|
 |
M |
components/cast_certificate/cast_crl.cc
|
View
|
1
2
3
4
5
6
|
6 chunks |
+32 lines, -15 lines |
0 comments
|
Download
|
 |
M |
components/cast_certificate/cast_crl_unittest.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+5 lines, -3 lines |
0 comments
|
Download
|
 |
M |
net/cert/internal/path_builder.h
|
View
|
1
2
3
4
5
6
|
5 chunks |
+30 lines, -13 lines |
0 comments
|
Download
|
 |
M |
net/cert/internal/path_builder.cc
|
View
|
|
23 chunks |
+105 lines, -60 lines |
0 comments
|
Download
|
 |
M |
net/cert/internal/path_builder_pkits_unittest.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
net/cert/internal/path_builder_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
|
31 chunks |
+240 lines, -121 lines |
0 comments
|
Download
|
 |
M |
net/cert/internal/path_builder_verify_certificate_chain_unittest.cc
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
net/cert/internal/trust_store.h
|
View
|
1
2
3
4
5
6
|
2 chunks |
+61 lines, -10 lines |
0 comments
|
Download
|
 |
M |
net/cert/internal/trust_store.cc
|
View
|
1
2
3
4
|
2 chunks |
+29 lines, -19 lines |
0 comments
|
Download
|
 |
M |
net/cert/internal/verify_certificate_chain.h
|
View
|
1
2
3
4
5
6
|
3 chunks |
+15 lines, -13 lines |
0 comments
|
Download
|
 |
M |
net/cert/internal/verify_certificate_chain.cc
|
View
|
1
|
8 chunks |
+21 lines, -43 lines |
0 comments
|
Download
|
 |
M |
net/cert/internal/verify_certificate_chain_pkits_unittest.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
M |
net/cert/internal/verify_certificate_chain_typed_unittest.h
|
View
|
1
2
3
4
5
|
4 chunks |
+14 lines, -9 lines |
0 comments
|
Download
|
 |
M |
net/cert/internal/verify_certificate_chain_unittest.cc
|
View
|
|
2 chunks |
+9 lines, -14 lines |
0 comments
|
Download
|
 |
M |
net/data/verify_certificate_chain_unittest/expired-root.pem
|
View
|
|
8 chunks |
+152 lines, -151 lines |
0 comments
|
Download
|
 |
M |
net/data/verify_certificate_chain_unittest/generate-expired-root.py
|
View
|
|
2 chunks |
+5 lines, -3 lines |
0 comments
|
Download
|
 |
M |
net/data/verify_certificate_chain_unittest/generate-violates-pathlen-1-root.py
|
View
|
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
net/data/verify_certificate_chain_unittest/violates-pathlen-1-root.pem
|
View
|
|
10 chunks |
+200 lines, -199 lines |
0 comments
|
Download
|
 |
M |
net/tools/cert_verify_tool/verify_using_path_builder.cc
|
View
|
1
2
3
4
5
|
5 chunks |
+47 lines, -17 lines |
0 comments
|
Download
|
Dependent Patchsets:
Total messages: 45 (31 generated)
|