|
Use NSS to generate Origin-Bound Certs on Win and Mac.
The platform RSAPrivateKey is used to generate the private key, which is then imported into NSS to generate the certificate.
X509Certificate::CreateOriginBound is moved to x509_util::CreateOriginBoundCert so it can be shared by those platforms, and removes the unnecessary X509Certificate generation step.
BUG= 88782
TEST=X509UtilNSSTest.CreateOriginBoundCert & manual testing: try on win or mac, check if generated cert has the OBC extension.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=105997
Total comments: 33
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+583 lines, -382 lines) |
Patch |
 |
M |
crypto/scoped_nss_types.h
|
View
|
|
2 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
net/base/net_error_list.h
|
View
|
1
2
|
1 chunk |
+0 lines, -3 lines |
1 comment
|
Download
|
 |
M |
net/base/origin_bound_cert_service.cc
|
View
|
1
|
3 chunks |
+5 lines, -17 lines |
0 comments
|
Download
|
 |
M |
net/base/x509_certificate.h
|
View
|
|
1 chunk |
+0 lines, -12 lines |
0 comments
|
Download
|
 |
M |
net/base/x509_certificate_mac.cc
|
View
|
|
1 chunk |
+0 lines, -19 lines |
0 comments
|
Download
|
 |
M |
net/base/x509_certificate_nss.cc
|
View
|
1
|
5 chunks |
+8 lines, -231 lines |
0 comments
|
Download
|
 |
M |
net/base/x509_certificate_openssl.cc
|
View
|
|
1 chunk |
+0 lines, -11 lines |
0 comments
|
Download
|
 |
M |
net/base/x509_certificate_unittest.cc
|
View
|
|
2 chunks |
+0 lines, -79 lines |
0 comments
|
Download
|
 |
M |
net/base/x509_certificate_win.cc
|
View
|
|
1 chunk |
+0 lines, -10 lines |
0 comments
|
Download
|
 |
A |
net/base/x509_util.h
|
View
|
1
2
|
1 chunk |
+39 lines, -0 lines |
0 comments
|
Download
|
 |
A |
net/base/x509_util_nss.h
|
View
|
1
2
|
1 chunk |
+37 lines, -0 lines |
0 comments
|
Download
|
 |
A |
net/base/x509_util_nss.cc
|
View
|
1
2
|
1 chunk |
+318 lines, -0 lines |
0 comments
|
Download
|
 |
A |
net/base/x509_util_nss_unittest.cc
|
View
|
1
2
|
1 chunk |
+106 lines, -0 lines |
0 comments
|
Download
|
 |
M |
net/base/x509_util_openssl.cc
|
View
|
1
2
|
2 chunks |
+11 lines, -0 lines |
0 comments
|
Download
|
 |
A |
net/base/x509_util_openssl_unittest.cc
|
View
|
1
|
1 chunk |
+29 lines, -0 lines |
0 comments
|
Download
|
 |
M |
net/net.gyp
|
View
|
1
2
|
5 chunks |
+23 lines, -0 lines |
0 comments
|
Download
|
Total messages: 4 (0 generated)
|