OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 struct CTLogInfo { | 5 struct CTLogInfo { |
6 // The DER-encoded SubjectPublicKeyInfo for the log. | 6 // The DER-encoded SubjectPublicKeyInfo for the log. |
7 const char* const log_key; | 7 const char* const log_key; |
8 // The length, in bytes, of |log_key|. | 8 // The length, in bytes, of |log_key|. |
9 const size_t log_key_length; | 9 const size_t log_key_length; |
10 // The user-friendly log name. | 10 // The user-friendly log name. |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 "\xb9\x50\x36\x16\x6e\x71\xf6\x1f\x01\xf7\x12\xa7\xfc\xbf\xf6\x21\xa3" | 104 "\xb9\x50\x36\x16\x6e\x71\xf6\x1f\x01\xf7\x12\xa7\xfc\xbf\xf6\x21\xa3" |
105 "\x29\x90\x86\x2d\x77\xde\xbb\x4c\xd4\xcf\xfd\xd2\xcf\x82\x2c\x4d\xd4" | 105 "\x29\x90\x86\x2d\x77\xde\xbb\x4c\xd4\xcf\xfd\xd2\xcf\x82\x2c\x4d\xd4" |
106 "\xf2\xc2\x2d\xac\xa9\xbe\xea\xc3\x19\x25\x43\xb2\xe5\x9a\x6c\x0d\xc5" | 106 "\xf2\xc2\x2d\xac\xa9\xbe\xea\xc3\x19\x25\x43\xb2\xe5\x9a\x6c\x0d\xc5" |
107 "\x1c\xa5\x8b\xf7\x3f\x30\xaf\xb9\x01\x91\xb7\x69\x12\x12\xe5\x83\x61" | 107 "\x1c\xa5\x8b\xf7\x3f\x30\xaf\xb9\x01\x91\xb7\x69\x12\x12\xe5\x83\x61" |
108 "\xfe\x34\x00\xbe\xf6\x71\x8a\xc7\xeb\x50\x92\xe8\x59\xfe\x15\x91\xeb" | 108 "\xfe\x34\x00\xbe\xf6\x71\x8a\xc7\xeb\x50\x92\xe8\x59\xfe\x15\x91\xeb" |
109 "\x96\x97\xf8\x23\x54\x3f\x2d\x8e\x07\xdf\xee\xda\xb3\x4f\xc8\x3c\x9d" | 109 "\x96\x97\xf8\x23\x54\x3f\x2d\x8e\x07\xdf\xee\xda\xb3\x4f\xc8\x3c\x9d" |
110 "\x6f\xdf\x3c\x2c\x43\x57\xa1\x47\x0c\x91\x04\xf4\x75\x4d\xda\x89\x81" | 110 "\x6f\xdf\x3c\x2c\x43\x57\xa1\x47\x0c\x91\x04\xf4\x75\x4d\xda\x89\x81" |
111 "\xa4\x14\x06\x34\xb9\x98\xc3\xda\xf1\xfd\xed\x33\x36\xd3\x16\x2d\x35" | 111 "\xa4\x14\x06\x34\xb9\x98\xc3\xda\xf1\xfd\xed\x33\x36\xd3\x16\x2d\x35" |
112 "\x02\x03\x01\x00\x01", | 112 "\x02\x03\x01\x00\x01", |
113 294, "CNNIC CT log", "https://ctserver.cnnic.cn/", | 113 294, "CNNIC CT log", "https://ctserver.cnnic.cn/", |
114 "cnnic.ct.googleapis.com"}}; | 114 "cnnic.ct.googleapis.com"}, |
| 115 {"\x30\x59\x30\x13\x06\x07\x2a\x86\x48\xce\x3d\x02\x01\x06\x08\x2a\x86" |
| 116 "\x48\xce\x3d\x03\x01\x07\x03\x42\x00\x04\xcc\x11\x88\x7b\x2d\x66\xcb" |
| 117 "\xae\x8f\x4d\x30\x66\x27\x19\x25\x22\x93\x21\x46\xb4\x2f\x01\xd3\xc6" |
| 118 "\xf9\x2b\xd5\xc8\xba\x73\x9b\x06\xa2\xf0\x8a\x02\x9c\xd0\x6b\x46\x18" |
| 119 "\x30\x85\xba\xe9\x24\x8b\x0e\xd1\x5b\x70\x28\x0c\x7e\xf1\x3a\x45\x7f" |
| 120 "\x5a\xf3\x82\x42\x60\x31", |
| 121 91, "WoSign log", "https://ctlog.wosign.com/", |
| 122 "wosign1.ct.googleapis.com"}}; |
115 | 123 |
116 // Information related to previously-qualified, but now disqualified, CT | 124 // Information related to previously-qualified, but now disqualified, CT |
117 // logs. | 125 // logs. |
118 struct DisqualifiedCTLogInfo { | 126 struct DisqualifiedCTLogInfo { |
119 // The ID of the log (the SHA-256 hash of |log_info.log_key|. | 127 // The ID of the log (the SHA-256 hash of |log_info.log_key|. |
120 const char log_id[33]; | 128 const char log_id[33]; |
121 | 129 |
122 const CTLogInfo log_info; | 130 const CTLogInfo log_info; |
123 | 131 |
124 // The offset from the Unix Epoch of when the log was disqualified. | 132 // The offset from the Unix Epoch of when the log was disqualified. |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 }; | 168 }; |
161 | 169 |
162 // The list is sorted. | 170 // The list is sorted. |
163 const char kGoogleLogIDs[][33] = { | 171 const char kGoogleLogIDs[][33] = { |
164 "\x68\xf6\x98\xf8\x1f\x64\x82\xbe\x3a\x8c\xee\xb9\x28\x1d\x4c\xfc\x71" | 172 "\x68\xf6\x98\xf8\x1f\x64\x82\xbe\x3a\x8c\xee\xb9\x28\x1d\x4c\xfc\x71" |
165 "\x51\x5d\x67\x93\xd4\x44\xd1\x0a\x67\xac\xbb\x4f\x4f\xfb\xc4", | 173 "\x51\x5d\x67\x93\xd4\x44\xd1\x0a\x67\xac\xbb\x4f\x4f\xfb\xc4", |
166 "\xa4\xb9\x09\x90\xb4\x18\x58\x14\x87\xbb\x13\xa2\xcc\x67\x70\x0a\x3c" | 174 "\xa4\xb9\x09\x90\xb4\x18\x58\x14\x87\xbb\x13\xa2\xcc\x67\x70\x0a\x3c" |
167 "\x35\x98\x04\xf9\x1b\xdf\xb8\xe3\x77\xcd\x0e\xc8\x0d\xdc\x10", | 175 "\x35\x98\x04\xf9\x1b\xdf\xb8\xe3\x77\xcd\x0e\xc8\x0d\xdc\x10", |
168 "\xee\x4b\xbd\xb7\x75\xce\x60\xba\xe1\x42\x69\x1f\xab\xe1\x9e\x66\xa3" | 176 "\xee\x4b\xbd\xb7\x75\xce\x60\xba\xe1\x42\x69\x1f\xab\xe1\x9e\x66\xa3" |
169 "\x0f\x7e\x5f\xb0\x72\xd8\x83\x00\xc4\x7b\x89\x7a\xa8\xfd\xcb"}; | 177 "\x0f\x7e\x5f\xb0\x72\xd8\x83\x00\xc4\x7b\x89\x7a\xa8\xfd\xcb"}; |
OLD | NEW |