common_cert_set_2.c revision a74702c6
1/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc.  See LICENSE. */
2/* Copyright (c) 2015 The Chromium Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE.chrome file.
5 */
6
7/* This file contains common certificates. It's designed to be #included in
8 * another file, in a namespace. */
9
10/* Updated for C style, David Shue */
11/*
12 * Replace "kDERCert"  to "der_cert2_"
13 *
14 */
15
16#include <stdint.h>
17
18#include "common_cert_set_2a.inc"
19#include "common_cert_set_2b.inc"
20
21#define common_certs2_num 54
22static const unsigned char * const common_certs2[common_certs2_num] = {
23  der_cert2_0,
24  der_cert2_1,
25  der_cert2_2,
26  der_cert2_3,
27  der_cert2_4,
28  der_cert2_5,
29  der_cert2_6,
30  der_cert2_7,
31  der_cert2_8,
32  der_cert2_9,
33  der_cert2_10,
34  der_cert2_11,
35  der_cert2_12,
36  der_cert2_13,
37  der_cert2_14,
38  der_cert2_15,
39  der_cert2_16,
40  der_cert2_17,
41  der_cert2_18,
42  der_cert2_19,
43  der_cert2_20,
44  der_cert2_21,
45  der_cert2_22,
46  der_cert2_23,
47  der_cert2_24,
48  der_cert2_25,
49  der_cert2_26,
50  der_cert2_27,
51  der_cert2_28,
52  der_cert2_29,
53  der_cert2_30,
54  der_cert2_31,
55  der_cert2_32,
56  der_cert2_33,
57  der_cert2_34,
58  der_cert2_35,
59  der_cert2_36,
60  der_cert2_37,
61  der_cert2_38,
62  der_cert2_39,
63  der_cert2_40,
64  der_cert2_41,
65  der_cert2_42,
66  der_cert2_43,
67  der_cert2_44,
68  der_cert2_45,
69  der_cert2_46,
70  der_cert2_47,
71  der_cert2_48,
72  der_cert2_49,
73  der_cert2_50,
74  der_cert2_51,
75  der_cert2_52,
76  der_cert2_53,
77};
78
79static const size_t common_certs2_lens[common_certs2_num] = {
80  897,
81  911,
82  985,
83  1012,
84  1049,
85  1062,
86  1065,
87  1071,
88  1084,
89  1096,
90  1097,
91  1105,
92  1107,
93  1117,
94  1127,
95  1133,
96  1136,
97  1138,
98  1153,
99  1171,
100  1172,
101  1176,
102  1182,
103  1188,
104  1194,
105  1203,
106  1205,
107  1206,
108  1210,
109  1222,
110  1226,
111  1236,
112  1236,
113  1236,
114  1238,
115  1256,
116  1270,
117  1280,
118  1283,
119  1284,
120  1287,
121  1315,
122  1327,
123  1340,
124  1418,
125  1447,
126  1509,
127  1520,
128  1570,
129  1581,
130  1592,
131  1628,
132  1632,
133  1770,
134};
135
136#define common_certs2_hash UINT64_C(0xe81a92926081e801)
137