summaryrefslogtreecommitdiffstats
path: root/net/test/test_certificate_data.h
diff options
context:
space:
mode:
authoragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-04 11:06:04 +0000
committeragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-04 11:06:04 +0000
commitbfea55dc63baf5952a2ca98cf619761eb40348fe (patch)
tree889a63b7630d8bfaf918f940c70bfabd39e09114 /net/test/test_certificate_data.h
parent78a9ee649533c01afe469f8069965ae6d61d99f3 (diff)
downloadchromium_src-bfea55dc63baf5952a2ca98cf619761eb40348fe.zip
chromium_src-bfea55dc63baf5952a2ca98cf619761eb40348fe.tar.gz
chromium_src-bfea55dc63baf5952a2ca98cf619761eb40348fe.tar.bz2
net: fix SHA-256 hashes on Windows.
BUG=226067 Review URL: https://chromiumcodereview.appspot.com/13527008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192288 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/test/test_certificate_data.h')
-rw-r--r--net/test/test_certificate_data.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/test/test_certificate_data.h b/net/test/test_certificate_data.h
index edbbc36..2953273 100644
--- a/net/test/test_certificate_data.h
+++ b/net/test/test_certificate_data.h
@@ -20,6 +20,17 @@ static const char kCertSESPKIs[3][21] = {
"\xe8\x95\x28\xc1\x24\xc9\x9b\x34\xac\xc7",
};
+// kCertSESPKIsSHA256 contains the SHA256 hashes of the SPKIs of the certse.pem
+// certificate chain, in order.
+static const char kCertSESPKIsSHA256[3][33] = {
+ "\x32\xa4\x69\x36\xf0\xae\x10\x71\xe1\x97\xb6\xf8\xf8\x77\x2e\x2a"
+ "\x4e\x3e\xca\x80\xb9\x38\x8c\xfb\xcd\xf0\xf2\xd0\xfb\x67\x76\xe9",
+ "\x39\x35\x7a\x39\x20\x03\x66\xb4\x2e\x14\xc2\x2d\x68\x17\x3e\xe5"
+ "\x7b\xc8\xb4\xad\x4b\x8d\xe8\x9f\xcb\xfc\xaf\x22\xd8\x4d\x8e\xf3",
+ "\x25\xb4\x1b\x50\x6e\x49\x30\x95\x28\x23\xa6\xeb\x9f\x1d\x31\xde"
+ "\xf6\x45\xea\x38\xa5\xc6\xc6\xa9\x6d\x71\x95\x7e\x38\x4d\xf0\x58",
+};
+
// Certificates for test data. They're obtained with:
//
// $ openssl s_client -connect [host]:443 -showcerts > /tmp/host.pem < /dev/null