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 #ifndef NET_TEST_TEST_CERTIFICATE_DATA_H_ |
| 6 #define NET_TEST_TEST_CERTIFICATE_DATA_H_ |
| 7 |
5 #include <stdint.h> | 8 #include <stdint.h> |
6 | 9 |
7 namespace { | 10 namespace { |
8 | 11 |
9 // This is the SHA1 hash of the SubjectPublicKeyInfo of nist.der. | 12 // This is the SHA1 hash of the SubjectPublicKeyInfo of nist.der. |
10 static const char kNistSPKIHash[] = | 13 static const char kNistSPKIHash[] = |
11 "\x15\x60\xde\x65\x4e\x03\x9f\xd0\x08\x82" | 14 "\x15\x60\xde\x65\x4e\x03\x9f\xd0\x08\x82" |
12 "\xa9\x6a\xc4\x65\x8e\x6f\x92\x06\x84\x35"; | 15 "\xa9\x6a\xc4\x65\x8e\x6f\x92\x06\x84\x35"; |
13 | 16 |
14 // kTwitterSPKIs contains the SHA1 hashes of the SPKIs of the twitter-chain.pem | 17 // kTwitterSPKIs contains the SHA1 hashes of the SPKIs of the twitter-chain.pem |
(...skipping 760 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
775 0x04, 0x08, 0x13, 0x0D, 0x4D, 0x61, 0x73, 0x73, 0x61, 0x63, 0x68, | 778 0x04, 0x08, 0x13, 0x0D, 0x4D, 0x61, 0x73, 0x73, 0x61, 0x63, 0x68, |
776 0x75, 0x73, 0x65, 0x74, 0x74, 0x73, 0x31, 0x2E, 0x30, 0x2C, 0x06, | 779 0x75, 0x73, 0x65, 0x74, 0x74, 0x73, 0x31, 0x2E, 0x30, 0x2C, 0x06, |
777 0x03, 0x55, 0x04, 0x0A, 0x13, 0x25, 0x4D, 0x61, 0x73, 0x73, 0x61, | 780 0x03, 0x55, 0x04, 0x0A, 0x13, 0x25, 0x4D, 0x61, 0x73, 0x73, 0x61, |
778 0x63, 0x68, 0x75, 0x73, 0x65, 0x74, 0x74, 0x73, 0x20, 0x49, 0x6E, | 781 0x63, 0x68, 0x75, 0x73, 0x65, 0x74, 0x74, 0x73, 0x20, 0x49, 0x6E, |
779 0x73, 0x74, 0x69, 0x74, 0x75, 0x74, 0x65, 0x20, 0x6F, 0x66, 0x20, | 782 0x73, 0x74, 0x69, 0x74, 0x75, 0x74, 0x65, 0x20, 0x6F, 0x66, 0x20, |
780 0x54, 0x65, 0x63, 0x68, 0x6E, 0x6F, 0x6C, 0x6F, 0x67, 0x79, 0x31, | 783 0x54, 0x65, 0x63, 0x68, 0x6E, 0x6F, 0x6C, 0x6F, 0x67, 0x79, 0x31, |
781 0x15, 0x30, 0x13, 0x06, 0x03, 0x55, 0x04, 0x0B, 0x13, 0x0C, 0x43, | 784 0x15, 0x30, 0x13, 0x06, 0x03, 0x55, 0x04, 0x0B, 0x13, 0x0C, 0x43, |
782 0x6C, 0x69, 0x65, 0x6E, 0x74, 0x20, 0x43, 0x41, 0x20, 0x76, 0x31}; | 785 0x6C, 0x69, 0x65, 0x6E, 0x74, 0x20, 0x43, 0x41, 0x20, 0x76, 0x31}; |
783 | 786 |
784 } // namespace | 787 } // namespace |
| 788 |
| 789 #endif // NET_TEST_TEST_CERTIFICATE_DATA_H_ |
OLD | NEW |