Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 namespace { | 5 namespace { |
| 6 | 6 |
| 7 // This is the SHA1 hash of the SubjectPublicKeyInfo of nist.der. | 7 // This is the SHA1 hash of the SubjectPublicKeyInfo of nist.der. |
| 8 static const char kNistSPKIHash[] = | 8 static const char kNistSPKIHash[] = |
|
Ryan Sleevi
2013/03/27 17:21:25
I find it a bit inconsistent that you split up cer
Paweł Hajdan Jr.
2013/03/28 00:25:35
The reason was minimalism. Moving cert_test_util t
| |
| 9 "\x15\x60\xde\x65\x4e\x03\x9f\xd0\x08\x82" | 9 "\x15\x60\xde\x65\x4e\x03\x9f\xd0\x08\x82" |
| 10 "\xa9\x6a\xc4\x65\x8e\x6f\x92\x06\x84\x35"; | 10 "\xa9\x6a\xc4\x65\x8e\x6f\x92\x06\x84\x35"; |
| 11 | 11 |
| 12 // kCertSESPKIs contains the SHA1 hashes of the SPKIs of the certse.pem | 12 // kCertSESPKIs contains the SHA1 hashes of the SPKIs of the certse.pem |
| 13 // certificate chain, in order. | 13 // certificate chain, in order. |
| 14 static const char kCertSESPKIs[3][21] = { | 14 static const char kCertSESPKIs[3][21] = { |
| 15 "\x3f\x6c\xf3\xf1\xc9\xdf\xb6\x63\xa8\x05" | 15 "\x3f\x6c\xf3\xf1\xc9\xdf\xb6\x63\xa8\x05" |
| 16 "\x44\x75\x9a\xac\x21\x4a\x74\xb2\xa5\xa4", | 16 "\x44\x75\x9a\xac\x21\x4a\x74\xb2\xa5\xa4", |
| 17 "\xae\x4a\xd7\xf9\xb3\x80\xe1\x12\x93\x32" | 17 "\xae\x4a\xd7\xf9\xb3\x80\xe1\x12\x93\x32" |
| 18 "\xbb\x52\xde\x5a\x09\x0c\x52\x1b\x33\xd0", | 18 "\xbb\x52\xde\x5a\x09\x0c\x52\x1b\x33\xd0", |
| (...skipping 815 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 834 0x02, 0x55, 0x53, 0x31, 0x18, 0x30, 0x16, 0x06, 0x03, 0x55, 0x04, 0x0a, | 834 0x02, 0x55, 0x53, 0x31, 0x18, 0x30, 0x16, 0x06, 0x03, 0x55, 0x04, 0x0a, |
| 835 0x13, 0x0f, 0x55, 0x2e, 0x53, 0x2e, 0x20, 0x47, 0x6f, 0x76, 0x65, 0x72, | 835 0x13, 0x0f, 0x55, 0x2e, 0x53, 0x2e, 0x20, 0x47, 0x6f, 0x76, 0x65, 0x72, |
| 836 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x31, 0x0c, 0x30, 0x0a, 0x06, 0x03, 0x55, | 836 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x31, 0x0c, 0x30, 0x0a, 0x06, 0x03, 0x55, |
| 837 0x04, 0x0b, 0x13, 0x03, 0x44, 0x6f, 0x44, 0x31, 0x0c, 0x30, 0x0a, 0x06, | 837 0x04, 0x0b, 0x13, 0x03, 0x44, 0x6f, 0x44, 0x31, 0x0c, 0x30, 0x0a, 0x06, |
| 838 0x03, 0x55, 0x04, 0x0b, 0x13, 0x03, 0x50, 0x4b, 0x49, 0x31, 0x12, 0x30, | 838 0x03, 0x55, 0x04, 0x0b, 0x13, 0x03, 0x50, 0x4b, 0x49, 0x31, 0x12, 0x30, |
| 839 0x10, 0x06, 0x03, 0x55, 0x04, 0x03, 0x13, 0x09, 0x44, 0x4f, 0x44, 0x20, | 839 0x10, 0x06, 0x03, 0x55, 0x04, 0x03, 0x13, 0x09, 0x44, 0x4f, 0x44, 0x20, |
| 840 0x43, 0x41, 0x2d, 0x31, 0x37 | 840 0x43, 0x41, 0x2d, 0x31, 0x37 |
| 841 }; | 841 }; |
| 842 | 842 |
| 843 } // namespace | 843 } // namespace |
| OLD | NEW |