2 * Copyright (c) 2008-2010,2012-2014 Apple Inc. All Rights Reserved.
6 #include <CoreFoundation/CoreFoundation.h>
7 #include <Security/SecCertificate.h>
8 #include <Security/SecCertificatePriv.h>
9 #include <Security/SecPolicyPriv.h>
10 #include <Security/SecTrust.h>
11 #include <Security/SecInternal.h>
12 #include <utilities/array_size.h>
13 #include <utilities/SecCFWrappers.h>
15 #include "Security_regressions.h"
17 unsigned char _gsservice
[1030] = {
18 0x30, 0x82, 0x04, 0x02, 0x30, 0x82, 0x02, 0xea, 0xa0, 0x03, 0x02, 0x01,
19 0x02, 0x02, 0x08, 0x52, 0xd0, 0x6f, 0xea, 0xaf, 0xdf, 0xb7, 0x01, 0x30,
20 0x0d, 0x06, 0x09, 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x0d, 0x01, 0x01, 0x0b,
21 0x05, 0x00, 0x30, 0x6d, 0x31, 0x27, 0x30, 0x25, 0x06, 0x03, 0x55, 0x04,
22 0x03, 0x0c, 0x1e, 0x41, 0x70, 0x70, 0x6c, 0x65, 0x20, 0x53, 0x65, 0x72,
23 0x76, 0x65, 0x72, 0x20, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69,
24 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x43, 0x41, 0x31, 0x20, 0x30,
25 0x1e, 0x06, 0x03, 0x55, 0x04, 0x0b, 0x0c, 0x17, 0x43, 0x65, 0x72, 0x74,
26 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x41, 0x75,
27 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x31, 0x13, 0x30, 0x11, 0x06,
28 0x03, 0x55, 0x04, 0x0a, 0x0c, 0x0a, 0x41, 0x70, 0x70, 0x6c, 0x65, 0x20,
29 0x49, 0x6e, 0x63, 0x2e, 0x31, 0x0b, 0x30, 0x09, 0x06, 0x03, 0x55, 0x04,
30 0x06, 0x13, 0x02, 0x55, 0x53, 0x30, 0x1e, 0x17, 0x0d, 0x31, 0x34, 0x30,
31 0x35, 0x31, 0x35, 0x30, 0x30, 0x32, 0x38, 0x34, 0x31, 0x5a, 0x17, 0x0d,
32 0x31, 0x35, 0x30, 0x36, 0x31, 0x34, 0x30, 0x30, 0x32, 0x38, 0x34, 0x31,
33 0x5a, 0x30, 0x49, 0x31, 0x16, 0x30, 0x14, 0x06, 0x03, 0x55, 0x04, 0x03,
34 0x0c, 0x0d, 0x67, 0x73, 0x61, 0x2e, 0x61, 0x70, 0x70, 0x6c, 0x65, 0x2e,
35 0x63, 0x6f, 0x6d, 0x31, 0x0d, 0x30, 0x0b, 0x06, 0x03, 0x55, 0x04, 0x0b,
36 0x0c, 0x04, 0x49, 0x53, 0x26, 0x54, 0x31, 0x13, 0x30, 0x11, 0x06, 0x03,
37 0x55, 0x04, 0x0a, 0x0c, 0x0a, 0x41, 0x70, 0x70, 0x6c, 0x65, 0x20, 0x49,
38 0x6e, 0x63, 0x2e, 0x31, 0x0b, 0x30, 0x09, 0x06, 0x03, 0x55, 0x04, 0x06,
39 0x13, 0x02, 0x55, 0x53, 0x30, 0x82, 0x01, 0x22, 0x30, 0x0d, 0x06, 0x09,
40 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x0d, 0x01, 0x01, 0x01, 0x05, 0x00, 0x03,
41 0x82, 0x01, 0x0f, 0x00, 0x30, 0x82, 0x01, 0x0a, 0x02, 0x82, 0x01, 0x01,
42 0x00, 0xa8, 0xf3, 0x31, 0x6a, 0x17, 0xd3, 0xa1, 0x1b, 0x68, 0x4f, 0x33,
43 0x35, 0x88, 0x62, 0x74, 0xb7, 0x22, 0x42, 0x93, 0x3d, 0x1d, 0xbf, 0xb0,
44 0x4c, 0x31, 0x7c, 0xc5, 0x94, 0xf9, 0x77, 0xfa, 0x82, 0x44, 0x45, 0x1d,
45 0x72, 0x46, 0x79, 0x60, 0x64, 0x30, 0x01, 0xbc, 0x48, 0x63, 0x7b, 0x39,
46 0x4e, 0x00, 0x14, 0x0b, 0x93, 0x4b, 0x9c, 0x5a, 0x58, 0x24, 0xbd, 0xb1,
47 0xc3, 0xed, 0x46, 0xf1, 0x7f, 0x7f, 0x46, 0xaa, 0xfc, 0xd5, 0x1e, 0xd4,
48 0xc0, 0x21, 0x4c, 0x06, 0x84, 0x99, 0x6b, 0x9a, 0x4d, 0x2e, 0xeb, 0xa4,
49 0x03, 0xea, 0x6c, 0xb7, 0x1b, 0xfb, 0x14, 0xab, 0xba, 0x80, 0x53, 0x0d,
50 0xb5, 0xc7, 0x27, 0xc6, 0xa1, 0x2e, 0x3b, 0x5b, 0x9a, 0xa4, 0xe5, 0xc4,
51 0x89, 0x4f, 0x75, 0xd8, 0x72, 0xd0, 0x63, 0x44, 0x84, 0xd2, 0xae, 0x76,
52 0xf5, 0xcf, 0xad, 0x8e, 0x3e, 0xa2, 0xc4, 0x96, 0xe8, 0x19, 0xbc, 0xe9,
53 0x91, 0xad, 0xed, 0xf6, 0x04, 0x19, 0x7f, 0xe0, 0x58, 0xf0, 0x77, 0x06,
54 0x06, 0xef, 0xf7, 0x11, 0x16, 0xe7, 0x42, 0x3b, 0x99, 0x87, 0x34, 0x0b,
55 0x6d, 0xb7, 0x87, 0x79, 0x4c, 0x4b, 0x0a, 0xba, 0xfd, 0x8d, 0x2b, 0x77,
56 0xb9, 0x08, 0xee, 0x61, 0x51, 0x52, 0x86, 0xc1, 0xff, 0x1e, 0x8e, 0xc5,
57 0x81, 0xcd, 0xb8, 0x95, 0x0a, 0x40, 0xf8, 0x53, 0x99, 0x44, 0x64, 0xcb,
58 0x87, 0x7b, 0xf0, 0xf2, 0x9b, 0x89, 0x46, 0x15, 0xbd, 0x1a, 0x18, 0x0a,
59 0x01, 0x0d, 0xae, 0x88, 0xc2, 0x82, 0x6a, 0x45, 0xe1, 0xf4, 0x9e, 0x88,
60 0x6f, 0x2f, 0xec, 0x2f, 0xa3, 0x15, 0x0d, 0x91, 0xe6, 0x49, 0x6b, 0xca,
61 0xa4, 0x95, 0x29, 0x9c, 0x07, 0xcb, 0x79, 0x80, 0xf3, 0x38, 0x9b, 0xdc,
62 0x47, 0x8d, 0xde, 0x85, 0xd7, 0x7c, 0x2e, 0xa7, 0xf5, 0x1e, 0x91, 0xe0,
63 0xb7, 0xbe, 0x6a, 0x46, 0x31, 0x02, 0x03, 0x01, 0x00, 0x01, 0xa3, 0x81,
64 0xc9, 0x30, 0x81, 0xc6, 0x30, 0x1d, 0x06, 0x03, 0x55, 0x1d, 0x0e, 0x04,
65 0x16, 0x04, 0x14, 0x59, 0x6d, 0xaa, 0x5e, 0x68, 0x7b, 0x33, 0xfa, 0x9d,
66 0xab, 0xd0, 0x53, 0xc2, 0xa6, 0xf5, 0x33, 0x27, 0xf4, 0x44, 0x45, 0x30,
67 0x0c, 0x06, 0x03, 0x55, 0x1d, 0x13, 0x01, 0x01, 0xff, 0x04, 0x02, 0x30,
68 0x00, 0x30, 0x1f, 0x06, 0x03, 0x55, 0x1d, 0x23, 0x04, 0x18, 0x30, 0x16,
69 0x80, 0x14, 0x2c, 0xc5, 0x6d, 0x52, 0xdd, 0x31, 0xef, 0x8c, 0xec, 0x08,
70 0x81, 0xed, 0xdf, 0xdc, 0xca, 0x43, 0x00, 0x45, 0x01, 0xd0, 0x30, 0x3c,
71 0x06, 0x03, 0x55, 0x1d, 0x1f, 0x04, 0x35, 0x30, 0x33, 0x30, 0x31, 0xa0,
72 0x2f, 0xa0, 0x2d, 0x86, 0x2b, 0x68, 0x74, 0x74, 0x70, 0x3a, 0x2f, 0x2f,
73 0x63, 0x72, 0x6c, 0x2e, 0x61, 0x70, 0x70, 0x6c, 0x65, 0x2e, 0x63, 0x6f,
74 0x6d, 0x2f, 0x61, 0x70, 0x70, 0x6c, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65,
75 0x72, 0x61, 0x75, 0x74, 0x68, 0x63, 0x61, 0x31, 0x2e, 0x63, 0x72, 0x6c,
76 0x30, 0x0e, 0x06, 0x03, 0x55, 0x1d, 0x0f, 0x01, 0x01, 0xff, 0x04, 0x04,
77 0x03, 0x02, 0x07, 0x80, 0x30, 0x16, 0x06, 0x03, 0x55, 0x1d, 0x25, 0x01,
78 0x01, 0xff, 0x04, 0x0c, 0x30, 0x0a, 0x06, 0x08, 0x2b, 0x06, 0x01, 0x05,
79 0x05, 0x07, 0x03, 0x01, 0x30, 0x10, 0x06, 0x0a, 0x2a, 0x86, 0x48, 0x86,
80 0xf7, 0x63, 0x64, 0x06, 0x1b, 0x02, 0x04, 0x02, 0x05, 0x00, 0x30, 0x0d,
81 0x06, 0x09, 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x0d, 0x01, 0x01, 0x0b, 0x05,
82 0x00, 0x03, 0x82, 0x01, 0x01, 0x00, 0x71, 0x84, 0xf8, 0x3e, 0x59, 0x9e,
83 0xea, 0xbb, 0x8e, 0x6d, 0xd8, 0x8f, 0x4e, 0xb1, 0xef, 0x93, 0xa5, 0x4a,
84 0x78, 0x4b, 0x86, 0x1e, 0x97, 0xe5, 0xe4, 0x04, 0x32, 0x12, 0x8d, 0xcb,
85 0xbb, 0xba, 0x48, 0xe1, 0xee, 0x74, 0x60, 0x86, 0xc2, 0xdb, 0x26, 0xc1,
86 0x7a, 0x42, 0x1c, 0x05, 0xa9, 0x70, 0x04, 0x22, 0xa3, 0x87, 0xf6, 0x74,
87 0xca, 0x86, 0x10, 0x32, 0xa2, 0x42, 0x2e, 0x5d, 0x62, 0x5d, 0xdb, 0x1c,
88 0x6c, 0x88, 0xcb, 0xbe, 0x1a, 0x61, 0xe4, 0x80, 0x63, 0x8b, 0x8d, 0xe3,
89 0x10, 0xda, 0x4b, 0x77, 0xad, 0x54, 0x26, 0x35, 0x5a, 0x07, 0xdd, 0x3c,
90 0x05, 0x15, 0xcc, 0x16, 0xd2, 0xf1, 0xe6, 0xd3, 0x8b, 0xc6, 0x0a, 0x4c,
91 0x71, 0x88, 0x5a, 0x2c, 0xcf, 0xd9, 0x86, 0x85, 0x9d, 0x8e, 0xba, 0xe6,
92 0x9a, 0xd9, 0xb0, 0xcd, 0x03, 0xf7, 0x5d, 0xa2, 0x85, 0x95, 0xe3, 0x47,
93 0x40, 0x73, 0x4b, 0xf7, 0x32, 0xe1, 0xc5, 0x37, 0x5e, 0xc3, 0x1f, 0xf0,
94 0x04, 0x00, 0xa5, 0x1c, 0xe3, 0xd7, 0x75, 0x65, 0xc1, 0xa0, 0x69, 0x56,
95 0xd0, 0xae, 0xa1, 0xda, 0xd3, 0xa5, 0x4c, 0x24, 0x17, 0x63, 0xd0, 0xe8,
96 0x72, 0x51, 0xeb, 0x03, 0x51, 0xed, 0x33, 0x07, 0x20, 0x49, 0x41, 0xd7,
97 0xa8, 0xa9, 0x82, 0x19, 0x07, 0x82, 0x19, 0xf8, 0xca, 0x63, 0x42, 0x5c,
98 0xa6, 0x97, 0x13, 0x46, 0x6c, 0xfa, 0xd5, 0xcb, 0x73, 0x46, 0xd2, 0x34,
99 0xf5, 0xc8, 0x1c, 0x4f, 0x59, 0x93, 0xda, 0x3c, 0x68, 0xc0, 0xe4, 0xbb,
100 0xbe, 0x2f, 0x72, 0x7b, 0x80, 0x96, 0xf3, 0x34, 0xc4, 0x22, 0x28, 0xfa,
101 0x99, 0x1a, 0x95, 0xb6, 0x8a, 0x08, 0x0c, 0xeb, 0x92, 0xa4, 0x74, 0x6b,
102 0xd6, 0xfe, 0x85, 0xa5, 0xa5, 0xbc, 0x8f, 0xbc, 0x16, 0x86, 0x20, 0x8c,
103 0xe5, 0xd0, 0xf0, 0xaa, 0xa3, 0x34, 0x62, 0x15, 0x7f, 0xae
107 unsigned char _apnservice
[1] = {
112 unsigned char _apnserviceLegacy
[1319] = {
113 0x30, 0x82, 0x05, 0x23, 0x30, 0x82, 0x04, 0x0b, 0xa0, 0x03, 0x02, 0x01,
114 0x02, 0x02, 0x04, 0x4c, 0x21, 0xdf, 0x34, 0x30, 0x0d, 0x06, 0x09, 0x2a,
115 0x86, 0x48, 0x86, 0xf7, 0x0d, 0x01, 0x01, 0x05, 0x05, 0x00, 0x30, 0x81,
116 0xb1, 0x31, 0x0b, 0x30, 0x09, 0x06, 0x03, 0x55, 0x04, 0x06, 0x13, 0x02,
117 0x55, 0x53, 0x31, 0x16, 0x30, 0x14, 0x06, 0x03, 0x55, 0x04, 0x0a, 0x13,
118 0x0d, 0x45, 0x6e, 0x74, 0x72, 0x75, 0x73, 0x74, 0x2c, 0x20, 0x49, 0x6e,
119 0x63, 0x2e, 0x31, 0x39, 0x30, 0x37, 0x06, 0x03, 0x55, 0x04, 0x0b, 0x13,
120 0x30, 0x77, 0x77, 0x77, 0x2e, 0x65, 0x6e, 0x74, 0x72, 0x75, 0x73, 0x74,
121 0x2e, 0x6e, 0x65, 0x74, 0x2f, 0x72, 0x70, 0x61, 0x20, 0x69, 0x73, 0x20,
122 0x69, 0x6e, 0x63, 0x6f, 0x72, 0x70, 0x6f, 0x72, 0x61, 0x74, 0x65, 0x64,
123 0x20, 0x62, 0x79, 0x20, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63,
124 0x65, 0x31, 0x1f, 0x30, 0x1d, 0x06, 0x03, 0x55, 0x04, 0x0b, 0x13, 0x16,
125 0x28, 0x63, 0x29, 0x20, 0x32, 0x30, 0x30, 0x39, 0x20, 0x45, 0x6e, 0x74,
126 0x72, 0x75, 0x73, 0x74, 0x2c, 0x20, 0x49, 0x6e, 0x63, 0x2e, 0x31, 0x2e,
127 0x30, 0x2c, 0x06, 0x03, 0x55, 0x04, 0x03, 0x13, 0x25, 0x45, 0x6e, 0x74,
128 0x72, 0x75, 0x73, 0x74, 0x20, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69,
129 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x41, 0x75, 0x74, 0x68, 0x6f,
130 0x72, 0x69, 0x74, 0x79, 0x20, 0x2d, 0x20, 0x4c, 0x31, 0x43, 0x30, 0x1e,
131 0x17, 0x0d, 0x31, 0x34, 0x30, 0x31, 0x32, 0x31, 0x30, 0x31, 0x35, 0x34,
132 0x33, 0x37, 0x5a, 0x17, 0x0d, 0x31, 0x36, 0x30, 0x31, 0x32, 0x31, 0x30,
133 0x36, 0x30, 0x31, 0x31, 0x39, 0x5a, 0x30, 0x6c, 0x31, 0x0b, 0x30, 0x09,
134 0x06, 0x03, 0x55, 0x04, 0x06, 0x13, 0x02, 0x55, 0x53, 0x31, 0x13, 0x30,
135 0x11, 0x06, 0x03, 0x55, 0x04, 0x08, 0x13, 0x0a, 0x43, 0x61, 0x6c, 0x69,
136 0x66, 0x6f, 0x72, 0x6e, 0x69, 0x61, 0x31, 0x12, 0x30, 0x10, 0x06, 0x03,
137 0x55, 0x04, 0x07, 0x13, 0x09, 0x43, 0x75, 0x70, 0x65, 0x72, 0x74, 0x69,
138 0x6e, 0x6f, 0x31, 0x13, 0x30, 0x11, 0x06, 0x03, 0x55, 0x04, 0x0a, 0x13,
139 0x0a, 0x41, 0x70, 0x70, 0x6c, 0x65, 0x20, 0x49, 0x6e, 0x63, 0x2e, 0x31,
140 0x1f, 0x30, 0x1d, 0x06, 0x03, 0x55, 0x04, 0x03, 0x13, 0x16, 0x63, 0x6f,
141 0x75, 0x72, 0x69, 0x65, 0x72, 0x2e, 0x70, 0x75, 0x73, 0x68, 0x2e, 0x61,
142 0x70, 0x70, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x30, 0x82, 0x01, 0x22,
143 0x30, 0x0d, 0x06, 0x09, 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x0d, 0x01, 0x01,
144 0x01, 0x05, 0x00, 0x03, 0x82, 0x01, 0x0f, 0x00, 0x30, 0x82, 0x01, 0x0a,
145 0x02, 0x82, 0x01, 0x01, 0x00, 0xbc, 0xa5, 0x87, 0x51, 0x14, 0xd2, 0x37,
146 0xd9, 0xc7, 0xe0, 0x62, 0xc7, 0x73, 0x60, 0x2e, 0x5f, 0x38, 0x7f, 0xc4,
147 0x1a, 0x58, 0xe8, 0x0b, 0xb5, 0xd0, 0x79, 0xb5, 0xe7, 0xda, 0x22, 0x14,
148 0xf1, 0xa1, 0xb8, 0xe0, 0x28, 0x28, 0xa9, 0x58, 0x43, 0x31, 0x6d, 0x0a,
149 0x5f, 0x45, 0x32, 0x0f, 0xb6, 0x9d, 0x23, 0x79, 0x91, 0xa2, 0xb0, 0xa4,
150 0x7a, 0x6f, 0xf4, 0xf4, 0x18, 0x7b, 0x22, 0xfe, 0x46, 0x96, 0xe7, 0x3a,
151 0xbf, 0xb3, 0xab, 0x4b, 0x29, 0xb1, 0x0e, 0xa0, 0xd4, 0x7c, 0x34, 0x19,
152 0x5d, 0x61, 0x1a, 0xe4, 0x5a, 0x64, 0xa5, 0xf1, 0xed, 0x4a, 0x18, 0xa0,
153 0x4f, 0x78, 0xfa, 0x10, 0x2c, 0x21, 0x13, 0xed, 0x8e, 0x8d, 0xa6, 0x61,
154 0x04, 0x0d, 0xb9, 0xc0, 0x9c, 0xc4, 0x54, 0xeb, 0x37, 0xa2, 0x38, 0xad,
155 0xca, 0x7d, 0x5f, 0xac, 0x47, 0xc9, 0x60, 0xf0, 0x81, 0xa6, 0x4c, 0x68,
156 0xf0, 0xa1, 0x7f, 0x45, 0xa4, 0x18, 0xc9, 0x64, 0x8c, 0xfd, 0x83, 0xb8,
157 0xa9, 0xdc, 0xbd, 0x23, 0xae, 0x90, 0x70, 0xef, 0x8f, 0x42, 0xf4, 0x28,
158 0x35, 0x1a, 0xfa, 0xee, 0x34, 0x3f, 0x25, 0x35, 0x20, 0x9c, 0x52, 0xfd,
159 0x4d, 0xf6, 0x5c, 0xe8, 0x66, 0x53, 0xb9, 0x40, 0xd1, 0x37, 0x39, 0x69,
160 0x71, 0xc4, 0x90, 0x5f, 0xa7, 0x3c, 0x65, 0xae, 0x3e, 0xf3, 0x32, 0x86,
161 0x45, 0x3f, 0xbe, 0x9a, 0xd9, 0x84, 0x6b, 0x13, 0xd0, 0x02, 0x8a, 0x64,
162 0x99, 0xf8, 0x71, 0x10, 0x06, 0xe1, 0xc9, 0x43, 0xaf, 0x26, 0x85, 0xbd,
163 0x98, 0x67, 0xe5, 0x31, 0x26, 0x03, 0x03, 0xdd, 0x85, 0x06, 0x5e, 0xc3,
164 0x6e, 0xd8, 0x31, 0x25, 0x15, 0x7b, 0x4a, 0x05, 0x23, 0xdb, 0xfe, 0xc1,
165 0xb8, 0x1c, 0x80, 0xff, 0x2e, 0x8c, 0x14, 0xce, 0x57, 0x70, 0x09, 0x48,
166 0xa2, 0xd6, 0xd9, 0xb0, 0x96, 0xe6, 0x27, 0x31, 0x37, 0x02, 0x03, 0x01,
167 0x00, 0x01, 0xa3, 0x82, 0x01, 0x85, 0x30, 0x82, 0x01, 0x81, 0x30, 0x0b,
168 0x06, 0x03, 0x55, 0x1d, 0x0f, 0x04, 0x04, 0x03, 0x02, 0x05, 0xa0, 0x30,
169 0x1d, 0x06, 0x03, 0x55, 0x1d, 0x25, 0x04, 0x16, 0x30, 0x14, 0x06, 0x08,
170 0x2b, 0x06, 0x01, 0x05, 0x05, 0x07, 0x03, 0x01, 0x06, 0x08, 0x2b, 0x06,
171 0x01, 0x05, 0x05, 0x07, 0x03, 0x02, 0x30, 0x33, 0x06, 0x03, 0x55, 0x1d,
172 0x1f, 0x04, 0x2c, 0x30, 0x2a, 0x30, 0x28, 0xa0, 0x26, 0xa0, 0x24, 0x86,
173 0x22, 0x68, 0x74, 0x74, 0x70, 0x3a, 0x2f, 0x2f, 0x63, 0x72, 0x6c, 0x2e,
174 0x65, 0x6e, 0x74, 0x72, 0x75, 0x73, 0x74, 0x2e, 0x6e, 0x65, 0x74, 0x2f,
175 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x31, 0x63, 0x2e, 0x63, 0x72, 0x6c, 0x30,
176 0x64, 0x06, 0x08, 0x2b, 0x06, 0x01, 0x05, 0x05, 0x07, 0x01, 0x01, 0x04,
177 0x58, 0x30, 0x56, 0x30, 0x23, 0x06, 0x08, 0x2b, 0x06, 0x01, 0x05, 0x05,
178 0x07, 0x30, 0x01, 0x86, 0x17, 0x68, 0x74, 0x74, 0x70, 0x3a, 0x2f, 0x2f,
179 0x6f, 0x63, 0x73, 0x70, 0x2e, 0x65, 0x6e, 0x74, 0x72, 0x75, 0x73, 0x74,
180 0x2e, 0x6e, 0x65, 0x74, 0x30, 0x2f, 0x06, 0x08, 0x2b, 0x06, 0x01, 0x05,
181 0x05, 0x07, 0x30, 0x02, 0x86, 0x23, 0x68, 0x74, 0x74, 0x70, 0x3a, 0x2f,
182 0x2f, 0x61, 0x69, 0x61, 0x2e, 0x65, 0x6e, 0x74, 0x72, 0x75, 0x73, 0x74,
183 0x2e, 0x6e, 0x65, 0x74, 0x2f, 0x32, 0x30, 0x34, 0x38, 0x2d, 0x6c, 0x31,
184 0x63, 0x2e, 0x63, 0x65, 0x72, 0x30, 0x4a, 0x06, 0x03, 0x55, 0x1d, 0x20,
185 0x04, 0x43, 0x30, 0x41, 0x30, 0x35, 0x06, 0x09, 0x2a, 0x86, 0x48, 0x86,
186 0xf6, 0x7d, 0x07, 0x4b, 0x02, 0x30, 0x28, 0x30, 0x26, 0x06, 0x08, 0x2b,
187 0x06, 0x01, 0x05, 0x05, 0x07, 0x02, 0x01, 0x16, 0x1a, 0x68, 0x74, 0x74,
188 0x70, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x65, 0x6e, 0x74, 0x72,
189 0x75, 0x73, 0x74, 0x2e, 0x6e, 0x65, 0x74, 0x2f, 0x72, 0x70, 0x61, 0x30,
190 0x08, 0x06, 0x06, 0x67, 0x81, 0x0c, 0x01, 0x02, 0x02, 0x30, 0x21, 0x06,
191 0x03, 0x55, 0x1d, 0x11, 0x04, 0x1a, 0x30, 0x18, 0x82, 0x16, 0x63, 0x6f,
192 0x75, 0x72, 0x69, 0x65, 0x72, 0x2e, 0x70, 0x75, 0x73, 0x68, 0x2e, 0x61,
193 0x70, 0x70, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x30, 0x1f, 0x06, 0x03,
194 0x55, 0x1d, 0x23, 0x04, 0x18, 0x30, 0x16, 0x80, 0x14, 0x1e, 0xf1, 0xab,
195 0x89, 0x06, 0xf8, 0x49, 0x0f, 0x01, 0x33, 0x77, 0xee, 0x14, 0x7a, 0xee,
196 0x19, 0x7c, 0x93, 0x28, 0x4d, 0x30, 0x1d, 0x06, 0x03, 0x55, 0x1d, 0x0e,
197 0x04, 0x16, 0x04, 0x14, 0xb7, 0x39, 0x7c, 0x4e, 0x5e, 0x30, 0xf5, 0x1a,
198 0xcf, 0xfc, 0x32, 0xea, 0xc4, 0x62, 0x99, 0x39, 0x11, 0x46, 0x97, 0xc1,
199 0x30, 0x09, 0x06, 0x03, 0x55, 0x1d, 0x13, 0x04, 0x02, 0x30, 0x00, 0x30,
200 0x0d, 0x06, 0x09, 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x0d, 0x01, 0x01, 0x05,
201 0x05, 0x00, 0x03, 0x82, 0x01, 0x01, 0x00, 0x02, 0x52, 0xbe, 0x76, 0xb9,
202 0x87, 0x6d, 0x50, 0xf2, 0x0a, 0x3f, 0xeb, 0x6c, 0xd2, 0xe0, 0x5c, 0xf6,
203 0xff, 0xe8, 0xe0, 0x9c, 0x73, 0x08, 0xab, 0x25, 0xb8, 0xdc, 0x10, 0x21,
204 0x2e, 0xf4, 0x9d, 0x48, 0xe4, 0xfd, 0xc7, 0x08, 0x82, 0x3f, 0x20, 0xac,
205 0x80, 0x14, 0x78, 0x64, 0xe3, 0xd2, 0x26, 0xc4, 0x3f, 0x8f, 0x4f, 0x5d,
206 0xdc, 0x17, 0xda, 0x37, 0x54, 0x40, 0xe2, 0x5b, 0x9b, 0x74, 0x44, 0xfc,
207 0x06, 0x27, 0xe6, 0xf3, 0x4d, 0x3b, 0xd7, 0x11, 0x34, 0x36, 0x75, 0xc9,
208 0xf9, 0xd9, 0x78, 0x5c, 0x68, 0xc8, 0x9b, 0xe2, 0xaa, 0x33, 0x5b, 0x91,
209 0x6f, 0x83, 0x37, 0xbd, 0x5d, 0x32, 0x25, 0xdf, 0xba, 0x5c, 0x7d, 0xa8,
210 0x4a, 0x39, 0x13, 0x97, 0x4e, 0x3e, 0x92, 0x10, 0x73, 0x48, 0x58, 0x70,
211 0x50, 0x41, 0x14, 0xa4, 0x31, 0x8a, 0x1b, 0x25, 0xa7, 0x69, 0xaa, 0x70,
212 0x12, 0x1b, 0x88, 0xc8, 0xf8, 0xa7, 0x2f, 0xad, 0xf7, 0xfb, 0xa6, 0x2c,
213 0x03, 0xe7, 0xc0, 0x6d, 0x66, 0x4a, 0x07, 0xc8, 0x5a, 0x40, 0xb2, 0x74,
214 0xcb, 0xe8, 0x84, 0x05, 0xaf, 0x76, 0x71, 0x05, 0x5d, 0x9e, 0x84, 0x49,
215 0x06, 0x90, 0x65, 0xeb, 0xf7, 0x7c, 0xeb, 0x28, 0x1d, 0x19, 0x6d, 0x08,
216 0x05, 0xbe, 0x09, 0x21, 0x8a, 0x8f, 0x67, 0xcb, 0x74, 0x7e, 0x9a, 0x4a,
217 0x1a, 0x3c, 0x50, 0xe9, 0x64, 0x7f, 0x33, 0x85, 0x98, 0x9d, 0x6e, 0x03,
218 0xf1, 0x22, 0x50, 0xf7, 0xa4, 0xc2, 0xce, 0xab, 0x13, 0xb8, 0x42, 0xda,
219 0x47, 0x6a, 0x89, 0xfd, 0xd6, 0x2b, 0xe1, 0x64, 0xb7, 0x4e, 0x99, 0x2d,
220 0xaa, 0xab, 0x39, 0xc3, 0x7e, 0x94, 0x9f, 0x5e, 0x63, 0x9c, 0x9c, 0xc9,
221 0x51, 0xbb, 0x25, 0x0c, 0x66, 0xd4, 0x98, 0x0e, 0x2c, 0xa5, 0xcd, 0xdf,
222 0x0a, 0xaa, 0x55, 0x1b, 0xf4, 0xab, 0x52, 0x7d, 0x18, 0xcb, 0x11
225 unsigned char _idsservice
[1165] = {
226 0x30, 0x82, 0x04, 0x89, 0x30, 0x82, 0x03, 0x71, 0xa0, 0x03, 0x02, 0x01,
227 0x02, 0x02, 0x08, 0x3f, 0x12, 0x55, 0x6e, 0x83, 0x66, 0x49, 0xaf, 0x30,
228 0x0d, 0x06, 0x09, 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x0d, 0x01, 0x01, 0x0b,
229 0x05, 0x00, 0x30, 0x6d, 0x31, 0x27, 0x30, 0x25, 0x06, 0x03, 0x55, 0x04,
230 0x03, 0x0c, 0x1e, 0x41, 0x70, 0x70, 0x6c, 0x65, 0x20, 0x53, 0x65, 0x72,
231 0x76, 0x65, 0x72, 0x20, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69,
232 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x43, 0x41, 0x31, 0x20, 0x30,
233 0x1e, 0x06, 0x03, 0x55, 0x04, 0x0b, 0x0c, 0x17, 0x43, 0x65, 0x72, 0x74,
234 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x41, 0x75,
235 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x31, 0x13, 0x30, 0x11, 0x06,
236 0x03, 0x55, 0x04, 0x0a, 0x0c, 0x0a, 0x41, 0x70, 0x70, 0x6c, 0x65, 0x20,
237 0x49, 0x6e, 0x63, 0x2e, 0x31, 0x0b, 0x30, 0x09, 0x06, 0x03, 0x55, 0x04,
238 0x06, 0x13, 0x02, 0x55, 0x53, 0x30, 0x1e, 0x17, 0x0d, 0x31, 0x35, 0x30,
239 0x34, 0x32, 0x32, 0x30, 0x34, 0x30, 0x39, 0x34, 0x31, 0x5a, 0x17, 0x0d,
240 0x31, 0x36, 0x30, 0x35, 0x32, 0x31, 0x30, 0x34, 0x30, 0x39, 0x34, 0x31,
241 0x5a, 0x30, 0x57, 0x31, 0x18, 0x30, 0x16, 0x06, 0x03, 0x55, 0x04, 0x03,
242 0x0c, 0x0f, 0x73, 0x63, 0x35, 0x6d, 0x76, 0x2e, 0x61, 0x70, 0x70, 0x6c,
243 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x31, 0x19, 0x30, 0x17, 0x06, 0x03, 0x55,
244 0x04, 0x0b, 0x0c, 0x10, 0x49, 0x53, 0x47, 0x20, 0x44, 0x65, 0x6c, 0x69,
245 0x76, 0x65, 0x72, 0x79, 0x20, 0x4f, 0x70, 0x73, 0x31, 0x13, 0x30, 0x11,
246 0x06, 0x03, 0x55, 0x04, 0x0a, 0x0c, 0x0a, 0x41, 0x70, 0x70, 0x6c, 0x65,
247 0x20, 0x49, 0x6e, 0x63, 0x2e, 0x31, 0x0b, 0x30, 0x09, 0x06, 0x03, 0x55,
248 0x04, 0x06, 0x13, 0x02, 0x55, 0x53, 0x30, 0x82, 0x01, 0x22, 0x30, 0x0d,
249 0x06, 0x09, 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x0d, 0x01, 0x01, 0x01, 0x05,
250 0x00, 0x03, 0x82, 0x01, 0x0f, 0x00, 0x30, 0x82, 0x01, 0x0a, 0x02, 0x82,
251 0x01, 0x01, 0x00, 0xc6, 0xcb, 0xa5, 0x72, 0x45, 0xe2, 0x88, 0xc4, 0x9e,
252 0x17, 0x57, 0x79, 0x05, 0x84, 0x1d, 0x36, 0xa3, 0x61, 0xf8, 0xb6, 0x35,
253 0x41, 0x5b, 0xff, 0xf7, 0xe3, 0x46, 0x06, 0x2b, 0xf6, 0x66, 0x9a, 0x54,
254 0x2c, 0x4a, 0xa3, 0x98, 0xed, 0xb0, 0xcc, 0x9b, 0xc3, 0xd4, 0x2f, 0x62,
255 0x66, 0x18, 0x04, 0x87, 0x42, 0x66, 0x55, 0x64, 0x94, 0xe3, 0xdd, 0xd6,
256 0x1c, 0x20, 0xbe, 0xe8, 0x58, 0xfc, 0x3c, 0x13, 0x18, 0xa4, 0x50, 0xa5,
257 0xe5, 0x63, 0xf7, 0x04, 0xfd, 0x13, 0x14, 0x0b, 0xf6, 0x5f, 0x80, 0x6c,
258 0xd7, 0xc1, 0xb5, 0xaf, 0xc7, 0xc9, 0xd7, 0xf2, 0xac, 0xd4, 0xf1, 0xe0,
259 0x54, 0x35, 0x70, 0x7f, 0x17, 0x81, 0xef, 0x1c, 0x2b, 0x99, 0x63, 0xc3,
260 0x2b, 0xd6, 0x13, 0x02, 0xda, 0x0b, 0x3b, 0xda, 0xfd, 0x92, 0x16, 0x1a,
261 0xe4, 0x78, 0xa8, 0x1c, 0xb4, 0xa4, 0xd3, 0x9a, 0x3e, 0x76, 0x86, 0xe5,
262 0x34, 0xa2, 0xba, 0x25, 0x30, 0x35, 0xa6, 0x04, 0xa8, 0xa6, 0xbf, 0xf8,
263 0x98, 0x5f, 0xc9, 0x91, 0xaa, 0xc3, 0x18, 0x13, 0x01, 0xc0, 0x47, 0xc2,
264 0x97, 0xf4, 0x5e, 0x3e, 0x62, 0x57, 0xad, 0xe5, 0x3a, 0x5d, 0x46, 0x3f,
265 0xc3, 0x96, 0x5e, 0x89, 0xe2, 0x60, 0x27, 0x26, 0x83, 0xb0, 0x01, 0xdf,
266 0x4e, 0x69, 0x4c, 0x08, 0x21, 0xbc, 0x0d, 0xb0, 0x44, 0xae, 0x20, 0xcf,
267 0xef, 0xa7, 0x01, 0xd8, 0x4c, 0x5c, 0xfa, 0x49, 0xb5, 0x97, 0x08, 0xf3,
268 0x4b, 0x1f, 0xba, 0x5e, 0x3f, 0x4b, 0x02, 0xe2, 0x28, 0x06, 0x83, 0x92,
269 0x66, 0x47, 0x8a, 0xdc, 0x19, 0x34, 0xb1, 0x58, 0xec, 0xf3, 0xff, 0x59,
270 0x78, 0x8e, 0x05, 0x11, 0x0d, 0x2a, 0x4f, 0xad, 0xd2, 0x2f, 0xf6, 0x84,
271 0x1e, 0xdf, 0xbb, 0xad, 0x62, 0x9a, 0x29, 0x4c, 0xcc, 0x63, 0xd7, 0xd2,
272 0x16, 0xd1, 0xa1, 0xca, 0x06, 0xc3, 0xe9, 0x02, 0x03, 0x01, 0x00, 0x01,
273 0xa3, 0x82, 0x01, 0x41, 0x30, 0x82, 0x01, 0x3d, 0x30, 0x1d, 0x06, 0x03,
274 0x55, 0x1d, 0x0e, 0x04, 0x16, 0x04, 0x14, 0xe4, 0x66, 0xa1, 0x55, 0x5d,
275 0x18, 0x41, 0xbf, 0x9f, 0xed, 0x9e, 0xd5, 0xec, 0xf6, 0xe8, 0x46, 0x8c,
276 0xf4, 0x0e, 0xb3, 0x30, 0x0c, 0x06, 0x03, 0x55, 0x1d, 0x13, 0x01, 0x01,
277 0xff, 0x04, 0x02, 0x30, 0x00, 0x30, 0x1f, 0x06, 0x03, 0x55, 0x1d, 0x23,
278 0x04, 0x18, 0x30, 0x16, 0x80, 0x14, 0x2c, 0xc5, 0x6d, 0x52, 0xdd, 0x31,
279 0xef, 0x8c, 0xec, 0x08, 0x81, 0xed, 0xdf, 0xdc, 0xca, 0x43, 0x00, 0x45,
280 0x01, 0xd0, 0x30, 0x3c, 0x06, 0x03, 0x55, 0x1d, 0x1f, 0x04, 0x35, 0x30,
281 0x33, 0x30, 0x31, 0xa0, 0x2f, 0xa0, 0x2d, 0x86, 0x2b, 0x68, 0x74, 0x74,
282 0x70, 0x3a, 0x2f, 0x2f, 0x63, 0x72, 0x6c, 0x2e, 0x61, 0x70, 0x70, 0x6c,
283 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x70, 0x70, 0x6c, 0x65, 0x73,
284 0x65, 0x72, 0x76, 0x65, 0x72, 0x61, 0x75, 0x74, 0x68, 0x63, 0x61, 0x31,
285 0x2e, 0x63, 0x72, 0x6c, 0x30, 0x0e, 0x06, 0x03, 0x55, 0x1d, 0x0f, 0x01,
286 0x01, 0xff, 0x04, 0x04, 0x03, 0x02, 0x05, 0xa0, 0x30, 0x13, 0x06, 0x03,
287 0x55, 0x1d, 0x25, 0x04, 0x0c, 0x30, 0x0a, 0x06, 0x08, 0x2b, 0x06, 0x01,
288 0x05, 0x05, 0x07, 0x03, 0x01, 0x30, 0x77, 0x06, 0x03, 0x55, 0x1d, 0x11,
289 0x04, 0x70, 0x30, 0x6e, 0x82, 0x0f, 0x73, 0x63, 0x35, 0x6d, 0x76, 0x2e,
290 0x61, 0x70, 0x70, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x82, 0x0f, 0x70,
291 0x73, 0x32, 0x6c, 0x73, 0x2e, 0x61, 0x70, 0x70, 0x6c, 0x65, 0x2e, 0x63,
292 0x6f, 0x6d, 0x82, 0x14, 0x76, 0x65, 0x6e, 0x69, 0x63, 0x65, 0x2d, 0x71,
293 0x61, 0x31, 0x2e, 0x61, 0x70, 0x70, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d,
294 0x82, 0x14, 0x76, 0x65, 0x6e, 0x69, 0x63, 0x65, 0x2d, 0x71, 0x61, 0x32,
295 0x2e, 0x61, 0x70, 0x70, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x82, 0x0e,
296 0x76, 0x65, 0x6e, 0x31, 0x2e, 0x61, 0x70, 0x70, 0x6c, 0x65, 0x2e, 0x63,
297 0x6f, 0x6d, 0x82, 0x0e, 0x76, 0x65, 0x6e, 0x32, 0x2e, 0x61, 0x70, 0x70,
298 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x30, 0x11, 0x06, 0x0b, 0x2a, 0x86,
299 0x48, 0x86, 0xf7, 0x63, 0x64, 0x06, 0x1b, 0x04, 0x01, 0x04, 0x02, 0x05,
300 0x00, 0x30, 0x0d, 0x06, 0x09, 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x0d, 0x01,
301 0x01, 0x0b, 0x05, 0x00, 0x03, 0x82, 0x01, 0x01, 0x00, 0x8a, 0x5a, 0xb4,
302 0xc5, 0xb7, 0x7c, 0xc0, 0xa8, 0x08, 0x18, 0xa1, 0x46, 0x03, 0x1c, 0x86,
303 0x4c, 0x37, 0x0a, 0x11, 0xe8, 0x8e, 0x69, 0x52, 0x8b, 0xb1, 0x10, 0xf7,
304 0x8d, 0xae, 0xcd, 0x14, 0x6a, 0xf0, 0xd0, 0x9e, 0x92, 0x52, 0x83, 0x5e,
305 0x1d, 0x12, 0xa2, 0x16, 0x9e, 0x79, 0x4c, 0xfe, 0x54, 0x4f, 0x00, 0x66,
306 0x38, 0x5a, 0xab, 0x34, 0xeb, 0xb4, 0x28, 0xb1, 0x75, 0xd1, 0xef, 0x3d,
307 0x79, 0xad, 0x56, 0x07, 0x4d, 0x57, 0xdf, 0x05, 0x32, 0xc4, 0x91, 0x7a,
308 0x7d, 0x4f, 0x7e, 0xe2, 0xa6, 0xca, 0xd3, 0x70, 0xfb, 0x8a, 0x7f, 0x84,
309 0xaa, 0x21, 0xa0, 0x5f, 0x29, 0x6f, 0x78, 0x08, 0x14, 0xda, 0xb9, 0xa8,
310 0xb8, 0xea, 0x3f, 0x77, 0xf0, 0x5f, 0x0f, 0xc7, 0xc0, 0x0a, 0x68, 0xf4,
311 0x41, 0x4d, 0xb3, 0xac, 0xd2, 0xf4, 0xdb, 0x6e, 0xea, 0x91, 0xee, 0x22,
312 0xdc, 0x8d, 0xc8, 0x98, 0x59, 0x95, 0xec, 0x6f, 0x8a, 0x91, 0x3e, 0xe5,
313 0x55, 0x0f, 0x3f, 0xbe, 0x1b, 0xd9, 0x69, 0x6e, 0x8d, 0x97, 0x58, 0x5c,
314 0x73, 0x4b, 0x80, 0x13, 0x40, 0xdc, 0x0e, 0x8d, 0x32, 0xea, 0x60, 0x58,
315 0x3d, 0x3a, 0x71, 0xff, 0xd7, 0x3c, 0xde, 0xd4, 0xcc, 0x61, 0xd9, 0x7c,
316 0xa6, 0xfa, 0x39, 0x66, 0xcd, 0x91, 0xef, 0xea, 0xec, 0xe0, 0x9e, 0xd5,
317 0xd0, 0x24, 0x2d, 0xe3, 0xb1, 0x39, 0x3f, 0x4e, 0xbd, 0x1a, 0xc5, 0x6a,
318 0x24, 0xd9, 0x34, 0xb6, 0xbc, 0xe7, 0x4c, 0x16, 0xe2, 0xc1, 0xfb, 0x83,
319 0xc7, 0x49, 0x77, 0x56, 0x3c, 0x9f, 0x7d, 0xf9, 0x2c, 0xc4, 0x8e, 0x8e,
320 0x15, 0xc5, 0x2f, 0xd3, 0xfe, 0x6a, 0x21, 0xbb, 0x0a, 0x1b, 0xd2, 0x50,
321 0xd2, 0x15, 0x2f, 0x21, 0x86, 0xd7, 0x51, 0x7f, 0xcd, 0xe9, 0xfe, 0x6a,
322 0xa7, 0x4d, 0x07, 0x23, 0x48, 0x53, 0xa7, 0x32, 0x06, 0x77, 0x53, 0x4f,
326 unsigned char _server_auth
[1020] = {
327 0x30, 0x82, 0x03, 0xf8, 0x30, 0x82, 0x02, 0xe0, 0xa0, 0x03, 0x02, 0x01,
328 0x02, 0x02, 0x08, 0x23, 0x69, 0x74, 0x04, 0xad, 0xcb, 0x83, 0x14, 0x30,
329 0x0d, 0x06, 0x09, 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x0d, 0x01, 0x01, 0x0b,
330 0x05, 0x00, 0x30, 0x62, 0x31, 0x0b, 0x30, 0x09, 0x06, 0x03, 0x55, 0x04,
331 0x06, 0x13, 0x02, 0x55, 0x53, 0x31, 0x13, 0x30, 0x11, 0x06, 0x03, 0x55,
332 0x04, 0x0a, 0x13, 0x0a, 0x41, 0x70, 0x70, 0x6c, 0x65, 0x20, 0x49, 0x6e,
333 0x63, 0x2e, 0x31, 0x26, 0x30, 0x24, 0x06, 0x03, 0x55, 0x04, 0x0b, 0x13,
334 0x1d, 0x41, 0x70, 0x70, 0x6c, 0x65, 0x20, 0x43, 0x65, 0x72, 0x74, 0x69,
335 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x41, 0x75, 0x74,
336 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x31, 0x16, 0x30, 0x14, 0x06, 0x03,
337 0x55, 0x04, 0x03, 0x13, 0x0d, 0x41, 0x70, 0x70, 0x6c, 0x65, 0x20, 0x52,
338 0x6f, 0x6f, 0x74, 0x20, 0x43, 0x41, 0x30, 0x1e, 0x17, 0x0d, 0x31, 0x34,
339 0x30, 0x33, 0x30, 0x38, 0x30, 0x31, 0x35, 0x33, 0x30, 0x34, 0x5a, 0x17,
340 0x0d, 0x32, 0x39, 0x30, 0x33, 0x30, 0x38, 0x30, 0x31, 0x35, 0x33, 0x30,
341 0x34, 0x5a, 0x30, 0x6d, 0x31, 0x27, 0x30, 0x25, 0x06, 0x03, 0x55, 0x04,
342 0x03, 0x0c, 0x1e, 0x41, 0x70, 0x70, 0x6c, 0x65, 0x20, 0x53, 0x65, 0x72,
343 0x76, 0x65, 0x72, 0x20, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69,
344 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x43, 0x41, 0x31, 0x20, 0x30,
345 0x1e, 0x06, 0x03, 0x55, 0x04, 0x0b, 0x0c, 0x17, 0x43, 0x65, 0x72, 0x74,
346 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x41, 0x75,
347 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x31, 0x13, 0x30, 0x11, 0x06,
348 0x03, 0x55, 0x04, 0x0a, 0x0c, 0x0a, 0x41, 0x70, 0x70, 0x6c, 0x65, 0x20,
349 0x49, 0x6e, 0x63, 0x2e, 0x31, 0x0b, 0x30, 0x09, 0x06, 0x03, 0x55, 0x04,
350 0x06, 0x13, 0x02, 0x55, 0x53, 0x30, 0x82, 0x01, 0x22, 0x30, 0x0d, 0x06,
351 0x09, 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x0d, 0x01, 0x01, 0x01, 0x05, 0x00,
352 0x03, 0x82, 0x01, 0x0f, 0x00, 0x30, 0x82, 0x01, 0x0a, 0x02, 0x82, 0x01,
353 0x01, 0x00, 0xb9, 0x26, 0x16, 0xb0, 0xcb, 0x87, 0xab, 0x71, 0x15, 0x92,
354 0x8e, 0xdf, 0xaa, 0x3e, 0xe1, 0x80, 0xd7, 0x53, 0xba, 0xa4, 0x60, 0xcc,
355 0x7c, 0x85, 0x72, 0xf7, 0x30, 0x7c, 0x09, 0x4f, 0x57, 0x0d, 0x4a, 0xff,
356 0xe1, 0x5e, 0xc9, 0x4b, 0x50, 0x13, 0x02, 0x64, 0xb1, 0xbd, 0x39, 0x35,
357 0xd1, 0xd7, 0x04, 0x51, 0xc1, 0x18, 0xfa, 0x22, 0xfa, 0xae, 0xdf, 0x98,
358 0x18, 0xd6, 0xbf, 0x4e, 0x4d, 0x43, 0x10, 0xfa, 0x25, 0x88, 0x9f, 0xd3,
359 0x40, 0x85, 0x76, 0xe5, 0x22, 0x81, 0xb6, 0x54, 0x45, 0x73, 0x9a, 0x8b,
360 0xe3, 0x9c, 0x48, 0x1a, 0x86, 0x7a, 0xc3, 0x51, 0xe2, 0xda, 0x95, 0xf8,
361 0xa4, 0x7d, 0xdb, 0x30, 0xde, 0x6c, 0x0e, 0xc4, 0xc5, 0xf5, 0x6c, 0x98,
362 0xe7, 0xa6, 0xfa, 0x57, 0x20, 0x1d, 0x19, 0x73, 0x7a, 0x0e, 0xcd, 0x63,
363 0x0f, 0xb7, 0x27, 0x88, 0x2e, 0xe1, 0x9a, 0x68, 0x82, 0xb8, 0x40, 0x6c,
364 0x63, 0x16, 0x24, 0x66, 0x2b, 0xe7, 0xb2, 0xe2, 0x54, 0x7d, 0xe7, 0x88,
365 0x39, 0xa2, 0x1b, 0x81, 0x3e, 0x02, 0xd3, 0x39, 0xd8, 0x97, 0x77, 0x4a,
366 0x32, 0x0c, 0xd6, 0x0a, 0x0a, 0xb3, 0x04, 0x9b, 0xf1, 0x72, 0x6f, 0x63,
367 0xa8, 0x15, 0x1e, 0x6c, 0x37, 0xe8, 0x0f, 0xdb, 0x53, 0x90, 0xd6, 0x29,
368 0x5c, 0xbc, 0x6a, 0x57, 0x9b, 0x46, 0x78, 0x0a, 0x3e, 0x24, 0xea, 0x9a,
369 0x3f, 0xa1, 0xd8, 0x3f, 0xf5, 0xdb, 0x6e, 0xa8, 0x6c, 0x82, 0xb5, 0xdd,
370 0x99, 0x38, 0xec, 0x92, 0x56, 0x94, 0xa6, 0xc5, 0x73, 0x26, 0xd1, 0xae,
371 0x08, 0xb2, 0xc6, 0x52, 0xe7, 0x8e, 0x76, 0x4b, 0x89, 0xb8, 0x54, 0x0f,
372 0x6e, 0xe0, 0xd9, 0x42, 0xdb, 0x2a, 0x65, 0x87, 0x46, 0x14, 0xbb, 0x96,
373 0xb8, 0x57, 0xbb, 0x51, 0xe6, 0x84, 0x13, 0xf7, 0x0d, 0xa1, 0xb6, 0x89,
374 0xac, 0x7c, 0xd1, 0x21, 0x74, 0xab, 0x02, 0x03, 0x01, 0x00, 0x01, 0xa3,
375 0x81, 0xa6, 0x30, 0x81, 0xa3, 0x30, 0x1d, 0x06, 0x03, 0x55, 0x1d, 0x0e,
376 0x04, 0x16, 0x04, 0x14, 0x2c, 0xc5, 0x6d, 0x52, 0xdd, 0x31, 0xef, 0x8c,
377 0xec, 0x08, 0x81, 0xed, 0xdf, 0xdc, 0xca, 0x43, 0x00, 0x45, 0x01, 0xd0,
378 0x30, 0x0f, 0x06, 0x03, 0x55, 0x1d, 0x13, 0x01, 0x01, 0xff, 0x04, 0x05,
379 0x30, 0x03, 0x01, 0x01, 0xff, 0x30, 0x1f, 0x06, 0x03, 0x55, 0x1d, 0x23,
380 0x04, 0x18, 0x30, 0x16, 0x80, 0x14, 0x2b, 0xd0, 0x69, 0x47, 0x94, 0x76,
381 0x09, 0xfe, 0xf4, 0x6b, 0x8d, 0x2e, 0x40, 0xa6, 0xf7, 0x47, 0x4d, 0x7f,
382 0x08, 0x5e, 0x30, 0x2e, 0x06, 0x03, 0x55, 0x1d, 0x1f, 0x04, 0x27, 0x30,
383 0x25, 0x30, 0x23, 0xa0, 0x21, 0xa0, 0x1f, 0x86, 0x1d, 0x68, 0x74, 0x74,
384 0x70, 0x3a, 0x2f, 0x2f, 0x63, 0x72, 0x6c, 0x2e, 0x61, 0x70, 0x70, 0x6c,
385 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x72, 0x6f, 0x6f, 0x74, 0x2e, 0x63,
386 0x72, 0x6c, 0x30, 0x0e, 0x06, 0x03, 0x55, 0x1d, 0x0f, 0x01, 0x01, 0xff,
387 0x04, 0x04, 0x03, 0x02, 0x01, 0x06, 0x30, 0x10, 0x06, 0x0a, 0x2a, 0x86,
388 0x48, 0x86, 0xf7, 0x63, 0x64, 0x06, 0x02, 0x0c, 0x04, 0x02, 0x05, 0x00,
389 0x30, 0x0d, 0x06, 0x09, 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x0d, 0x01, 0x01,
390 0x0b, 0x05, 0x00, 0x03, 0x82, 0x01, 0x01, 0x00, 0x23, 0xf1, 0x06, 0x7e,
391 0x50, 0x41, 0x81, 0xa2, 0x5e, 0xd3, 0x70, 0xa4, 0x49, 0x91, 0xaf, 0xd8,
392 0xcc, 0x67, 0x8c, 0xa1, 0x25, 0x7d, 0xc4, 0x9a, 0x93, 0x39, 0x2f, 0xd8,
393 0x69, 0xfb, 0x1b, 0x41, 0x5b, 0x44, 0xd7, 0xd9, 0x6b, 0xcb, 0x3b, 0x25,
394 0x09, 0x1a, 0xf2, 0xf4, 0xe3, 0xc7, 0x9c, 0xe8, 0xb0, 0x5b, 0xf0, 0xdf,
395 0xdd, 0x22, 0x25, 0x11, 0x15, 0x93, 0xb9, 0x49, 0x5e, 0xda, 0x0c, 0x66,
396 0x7a, 0x5e, 0xd7, 0x6f, 0xf0, 0x63, 0xd4, 0x65, 0x8c, 0xc4, 0x7a, 0x54,
397 0x7d, 0x56, 0x4f, 0x65, 0x9a, 0xfd, 0xda, 0xc4, 0xb2, 0xc8, 0xb0, 0xb8,
398 0xa1, 0xcb, 0x7d, 0xe0, 0x47, 0xa8, 0x40, 0x15, 0xb8, 0x16, 0x19, 0xed,
399 0x5b, 0x61, 0x8e, 0xdf, 0xaa, 0xd0, 0xcd, 0xd2, 0x3a, 0xc0, 0x7e, 0x3a,
400 0x9f, 0x22, 0x4e, 0xdf, 0xdf, 0xf4, 0x4e, 0x1a, 0xcd, 0x93, 0xff, 0xd0,
401 0xf0, 0x45, 0x55, 0x64, 0x33, 0x3e, 0xd4, 0xe5, 0xda, 0x68, 0xa0, 0x13,
402 0x8a, 0x76, 0x30, 0x27, 0xd4, 0xbf, 0xf8, 0x1e, 0x76, 0xf6, 0xf9, 0xc3,
403 0x00, 0xef, 0xb1, 0x83, 0xea, 0x53, 0x6d, 0x5c, 0x35, 0xc7, 0x0d, 0x07,
404 0x01, 0xba, 0xf8, 0x61, 0xb9, 0xfe, 0xc5, 0x9a, 0x6b, 0x43, 0x61, 0x81,
405 0x03, 0xeb, 0xba, 0x5f, 0x70, 0x9d, 0xe8, 0x6f, 0x94, 0x24, 0x4b, 0xdc,
406 0xce, 0x92, 0xa8, 0x2e, 0xa2, 0x35, 0x3c, 0xe3, 0x49, 0xe0, 0x16, 0x77,
407 0xa2, 0xdc, 0x6b, 0xb9, 0x8d, 0x18, 0x42, 0xb9, 0x36, 0x96, 0x43, 0x32,
408 0xc6, 0xcb, 0x76, 0x99, 0x35, 0x36, 0xd8, 0x56, 0xc6, 0x98, 0x5d, 0xc3,
409 0x6f, 0xa5, 0x7e, 0x95, 0xc2, 0xd5, 0x7a, 0x0a, 0x02, 0x20, 0x66, 0x78,
410 0x92, 0xf2, 0x67, 0xa4, 0x23, 0x0d, 0xe8, 0x09, 0xbd, 0xcc, 0x21, 0x31,
411 0x10, 0xa0, 0xbd, 0xbe, 0xb5, 0xdd, 0x4c, 0xdd, 0x46, 0x03, 0x99, 0x99
414 unsigned char _entrustL1
[1270] = {
415 0x30, 0x82, 0x04, 0xf2, 0x30, 0x82, 0x03, 0xda, 0xa0, 0x03, 0x02, 0x01,
416 0x02, 0x02, 0x04, 0x38, 0x63, 0xe9, 0xfc, 0x30, 0x0d, 0x06, 0x09, 0x2a,
417 0x86, 0x48, 0x86, 0xf7, 0x0d, 0x01, 0x01, 0x05, 0x05, 0x00, 0x30, 0x81,
418 0xb4, 0x31, 0x14, 0x30, 0x12, 0x06, 0x03, 0x55, 0x04, 0x0a, 0x13, 0x0b,
419 0x45, 0x6e, 0x74, 0x72, 0x75, 0x73, 0x74, 0x2e, 0x6e, 0x65, 0x74, 0x31,
420 0x40, 0x30, 0x3e, 0x06, 0x03, 0x55, 0x04, 0x0b, 0x14, 0x37, 0x77, 0x77,
421 0x77, 0x2e, 0x65, 0x6e, 0x74, 0x72, 0x75, 0x73, 0x74, 0x2e, 0x6e, 0x65,
422 0x74, 0x2f, 0x43, 0x50, 0x53, 0x5f, 0x32, 0x30, 0x34, 0x38, 0x20, 0x69,
423 0x6e, 0x63, 0x6f, 0x72, 0x70, 0x2e, 0x20, 0x62, 0x79, 0x20, 0x72, 0x65,
424 0x66, 0x2e, 0x20, 0x28, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x20, 0x6c,
425 0x69, 0x61, 0x62, 0x2e, 0x29, 0x31, 0x25, 0x30, 0x23, 0x06, 0x03, 0x55,
426 0x04, 0x0b, 0x13, 0x1c, 0x28, 0x63, 0x29, 0x20, 0x31, 0x39, 0x39, 0x39,
427 0x20, 0x45, 0x6e, 0x74, 0x72, 0x75, 0x73, 0x74, 0x2e, 0x6e, 0x65, 0x74,
428 0x20, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x65, 0x64, 0x31, 0x33, 0x30, 0x31,
429 0x06, 0x03, 0x55, 0x04, 0x03, 0x13, 0x2a, 0x45, 0x6e, 0x74, 0x72, 0x75,
430 0x73, 0x74, 0x2e, 0x6e, 0x65, 0x74, 0x20, 0x43, 0x65, 0x72, 0x74, 0x69,
431 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x41, 0x75, 0x74,
432 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x20, 0x28, 0x32, 0x30, 0x34, 0x38,
433 0x29, 0x30, 0x1e, 0x17, 0x0d, 0x30, 0x39, 0x31, 0x32, 0x31, 0x30, 0x32,
434 0x30, 0x34, 0x33, 0x35, 0x34, 0x5a, 0x17, 0x0d, 0x31, 0x39, 0x31, 0x32,
435 0x31, 0x30, 0x32, 0x31, 0x31, 0x33, 0x35, 0x34, 0x5a, 0x30, 0x81, 0xb1,
436 0x31, 0x0b, 0x30, 0x09, 0x06, 0x03, 0x55, 0x04, 0x06, 0x13, 0x02, 0x55,
437 0x53, 0x31, 0x16, 0x30, 0x14, 0x06, 0x03, 0x55, 0x04, 0x0a, 0x13, 0x0d,
438 0x45, 0x6e, 0x74, 0x72, 0x75, 0x73, 0x74, 0x2c, 0x20, 0x49, 0x6e, 0x63,
439 0x2e, 0x31, 0x39, 0x30, 0x37, 0x06, 0x03, 0x55, 0x04, 0x0b, 0x13, 0x30,
440 0x77, 0x77, 0x77, 0x2e, 0x65, 0x6e, 0x74, 0x72, 0x75, 0x73, 0x74, 0x2e,
441 0x6e, 0x65, 0x74, 0x2f, 0x72, 0x70, 0x61, 0x20, 0x69, 0x73, 0x20, 0x69,
442 0x6e, 0x63, 0x6f, 0x72, 0x70, 0x6f, 0x72, 0x61, 0x74, 0x65, 0x64, 0x20,
443 0x62, 0x79, 0x20, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65,
444 0x31, 0x1f, 0x30, 0x1d, 0x06, 0x03, 0x55, 0x04, 0x0b, 0x13, 0x16, 0x28,
445 0x63, 0x29, 0x20, 0x32, 0x30, 0x30, 0x39, 0x20, 0x45, 0x6e, 0x74, 0x72,
446 0x75, 0x73, 0x74, 0x2c, 0x20, 0x49, 0x6e, 0x63, 0x2e, 0x31, 0x2e, 0x30,
447 0x2c, 0x06, 0x03, 0x55, 0x04, 0x03, 0x13, 0x25, 0x45, 0x6e, 0x74, 0x72,
448 0x75, 0x73, 0x74, 0x20, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63,
449 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72,
450 0x69, 0x74, 0x79, 0x20, 0x2d, 0x20, 0x4c, 0x31, 0x43, 0x30, 0x82, 0x01,
451 0x22, 0x30, 0x0d, 0x06, 0x09, 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x0d, 0x01,
452 0x01, 0x01, 0x05, 0x00, 0x03, 0x82, 0x01, 0x0f, 0x00, 0x30, 0x82, 0x01,
453 0x0a, 0x02, 0x82, 0x01, 0x01, 0x00, 0x97, 0xa3, 0x2d, 0x3c, 0x9e, 0xde,
454 0x05, 0xda, 0x13, 0xc2, 0x11, 0x8d, 0x9d, 0x8e, 0xe3, 0x7f, 0xc7, 0x4b,
455 0x7e, 0x5a, 0x9f, 0xb3, 0xff, 0x62, 0xab, 0x73, 0xc8, 0x28, 0x6b, 0xba,
456 0x10, 0x64, 0x82, 0x87, 0x13, 0xcd, 0x57, 0x18, 0xff, 0x28, 0xce, 0xc0,
457 0xe6, 0x0e, 0x06, 0x91, 0x50, 0x29, 0x83, 0xd1, 0xf2, 0xc3, 0x2a, 0xdb,
458 0xd8, 0xdb, 0x4e, 0x04, 0xcc, 0x00, 0xeb, 0x8b, 0xb6, 0x96, 0xdc, 0xbc,
459 0xaa, 0xfa, 0x52, 0x77, 0x04, 0xc1, 0xdb, 0x19, 0xe4, 0xae, 0x9c, 0xfd,
460 0x3c, 0x8b, 0x03, 0xef, 0x4d, 0xbc, 0x1a, 0x03, 0x65, 0xf9, 0xc1, 0xb1,
461 0x3f, 0x72, 0x86, 0xf2, 0x38, 0xaa, 0x19, 0xae, 0x10, 0x88, 0x78, 0x28,
462 0xda, 0x75, 0xc3, 0x3d, 0x02, 0x82, 0x02, 0x9c, 0xb9, 0xc1, 0x65, 0x77,
463 0x76, 0x24, 0x4c, 0x98, 0xf7, 0x6d, 0x31, 0x38, 0xfb, 0xdb, 0xfe, 0xdb,
464 0x37, 0x02, 0x76, 0xa1, 0x18, 0x97, 0xa6, 0xcc, 0xde, 0x20, 0x09, 0x49,
465 0x36, 0x24, 0x69, 0x42, 0xf6, 0xe4, 0x37, 0x62, 0xf1, 0x59, 0x6d, 0xa9,
466 0x3c, 0xed, 0x34, 0x9c, 0xa3, 0x8e, 0xdb, 0xdc, 0x3a, 0xd7, 0xf7, 0x0a,
467 0x6f, 0xef, 0x2e, 0xd8, 0xd5, 0x93, 0x5a, 0x7a, 0xed, 0x08, 0x49, 0x68,
468 0xe2, 0x41, 0xe3, 0x5a, 0x90, 0xc1, 0x86, 0x55, 0xfc, 0x51, 0x43, 0x9d,
469 0xe0, 0xb2, 0xc4, 0x67, 0xb4, 0xcb, 0x32, 0x31, 0x25, 0xf0, 0x54, 0x9f,
470 0x4b, 0xd1, 0x6f, 0xdb, 0xd4, 0xdd, 0xfc, 0xaf, 0x5e, 0x6c, 0x78, 0x90,
471 0x95, 0xde, 0xca, 0x3a, 0x48, 0xb9, 0x79, 0x3c, 0x9b, 0x19, 0xd6, 0x75,
472 0x05, 0xa0, 0xf9, 0x88, 0xd7, 0xc1, 0xe8, 0xa5, 0x09, 0xe4, 0x1a, 0x15,
473 0xdc, 0x87, 0x23, 0xaa, 0xb2, 0x75, 0x8c, 0x63, 0x25, 0x87, 0xd8, 0xf8,
474 0x3d, 0xa6, 0xc2, 0xcc, 0x66, 0xff, 0xa5, 0x66, 0x68, 0x55, 0x02, 0x03,
475 0x01, 0x00, 0x01, 0xa3, 0x82, 0x01, 0x0b, 0x30, 0x82, 0x01, 0x07, 0x30,
476 0x0e, 0x06, 0x03, 0x55, 0x1d, 0x0f, 0x01, 0x01, 0xff, 0x04, 0x04, 0x03,
477 0x02, 0x01, 0x06, 0x30, 0x0f, 0x06, 0x03, 0x55, 0x1d, 0x13, 0x01, 0x01,
478 0xff, 0x04, 0x05, 0x30, 0x03, 0x01, 0x01, 0xff, 0x30, 0x33, 0x06, 0x08,
479 0x2b, 0x06, 0x01, 0x05, 0x05, 0x07, 0x01, 0x01, 0x04, 0x27, 0x30, 0x25,
480 0x30, 0x23, 0x06, 0x08, 0x2b, 0x06, 0x01, 0x05, 0x05, 0x07, 0x30, 0x01,
481 0x86, 0x17, 0x68, 0x74, 0x74, 0x70, 0x3a, 0x2f, 0x2f, 0x6f, 0x63, 0x73,
482 0x70, 0x2e, 0x65, 0x6e, 0x74, 0x72, 0x75, 0x73, 0x74, 0x2e, 0x6e, 0x65,
483 0x74, 0x30, 0x32, 0x06, 0x03, 0x55, 0x1d, 0x1f, 0x04, 0x2b, 0x30, 0x29,
484 0x30, 0x27, 0xa0, 0x25, 0xa0, 0x23, 0x86, 0x21, 0x68, 0x74, 0x74, 0x70,
485 0x3a, 0x2f, 0x2f, 0x63, 0x72, 0x6c, 0x2e, 0x65, 0x6e, 0x74, 0x72, 0x75,
486 0x73, 0x74, 0x2e, 0x6e, 0x65, 0x74, 0x2f, 0x32, 0x30, 0x34, 0x38, 0x63,
487 0x61, 0x2e, 0x63, 0x72, 0x6c, 0x30, 0x3b, 0x06, 0x03, 0x55, 0x1d, 0x20,
488 0x04, 0x34, 0x30, 0x32, 0x30, 0x30, 0x06, 0x04, 0x55, 0x1d, 0x20, 0x00,
489 0x30, 0x28, 0x30, 0x26, 0x06, 0x08, 0x2b, 0x06, 0x01, 0x05, 0x05, 0x07,
490 0x02, 0x01, 0x16, 0x1a, 0x68, 0x74, 0x74, 0x70, 0x3a, 0x2f, 0x2f, 0x77,
491 0x77, 0x77, 0x2e, 0x65, 0x6e, 0x74, 0x72, 0x75, 0x73, 0x74, 0x2e, 0x6e,
492 0x65, 0x74, 0x2f, 0x72, 0x70, 0x61, 0x30, 0x1d, 0x06, 0x03, 0x55, 0x1d,
493 0x0e, 0x04, 0x16, 0x04, 0x14, 0x1e, 0xf1, 0xab, 0x89, 0x06, 0xf8, 0x49,
494 0x0f, 0x01, 0x33, 0x77, 0xee, 0x14, 0x7a, 0xee, 0x19, 0x7c, 0x93, 0x28,
495 0x4d, 0x30, 0x1f, 0x06, 0x03, 0x55, 0x1d, 0x23, 0x04, 0x18, 0x30, 0x16,
496 0x80, 0x14, 0x55, 0xe4, 0x81, 0xd1, 0x11, 0x80, 0xbe, 0xd8, 0x89, 0xb9,
497 0x08, 0xa3, 0x31, 0xf9, 0xa1, 0x24, 0x09, 0x16, 0xb9, 0x70, 0x30, 0x0d,
498 0x06, 0x09, 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x0d, 0x01, 0x01, 0x05, 0x05,
499 0x00, 0x03, 0x82, 0x01, 0x01, 0x00, 0x07, 0xf6, 0x5f, 0x82, 0x84, 0x7f,
500 0x80, 0x40, 0xc7, 0x90, 0x34, 0x46, 0x42, 0x24, 0x03, 0xce, 0x2f, 0xab,
501 0xba, 0x83, 0x9e, 0x25, 0x73, 0x0d, 0xed, 0xac, 0x05, 0x69, 0xc6, 0x87,
502 0xed, 0xa3, 0x5c, 0xf2, 0x57, 0xc1, 0xb1, 0x49, 0x76, 0x9a, 0x4d, 0xf2,
503 0x3f, 0xdd, 0xe4, 0x0e, 0xfe, 0x0b, 0x3e, 0xb9, 0x98, 0xd9, 0x32, 0x95,
504 0x1d, 0x32, 0xf4, 0x01, 0xee, 0x9c, 0xc8, 0xc8, 0xe5, 0x3f, 0xe0, 0x53,
505 0x76, 0x62, 0xfc, 0xdd, 0xab, 0x6d, 0x3d, 0x94, 0x90, 0xf2, 0xc0, 0xb3,
506 0x3c, 0x98, 0x27, 0x36, 0x5e, 0x28, 0x97, 0x22, 0xfc, 0x1b, 0x40, 0xd3,
507 0x2b, 0x0d, 0xad, 0xb5, 0x57, 0x6d, 0xdf, 0x0f, 0xe3, 0x4b, 0xef, 0x73,
508 0x02, 0x10, 0x65, 0xfa, 0x1b, 0xd0, 0xac, 0x31, 0xd5, 0xe3, 0x0f, 0xe8,
509 0xba, 0x32, 0x30, 0x83, 0xee, 0x4a, 0xd0, 0xbf, 0xdf, 0x22, 0x90, 0x7a,
510 0xbe, 0xec, 0x3a, 0x1b, 0xc4, 0x49, 0x04, 0x1d, 0xf1, 0xae, 0x80, 0x77,
511 0x3c, 0x42, 0x08, 0xdb, 0xa7, 0x3b, 0x28, 0xa6, 0x80, 0x01, 0x03, 0xe6,
512 0x39, 0xa3, 0xeb, 0xdf, 0x80, 0x59, 0x1b, 0xf3, 0x2c, 0xbe, 0xdc, 0x72,
513 0x44, 0x79, 0xa0, 0x6c, 0x07, 0xa5, 0x6d, 0x4d, 0x44, 0x8e, 0x42, 0x68,
514 0xca, 0x94, 0x7c, 0x2e, 0x36, 0xba, 0x85, 0x9e, 0xcd, 0xaa, 0xc4, 0x5e,
515 0x3c, 0x54, 0xbe, 0xfe, 0x2f, 0xea, 0x69, 0x9d, 0x1c, 0x1e, 0x29, 0x9b,
516 0x96, 0xd8, 0xc8, 0xfe, 0x51, 0x90, 0xf1, 0x24, 0xa6, 0x90, 0x06, 0xb3,
517 0xf0, 0x29, 0xa2, 0xff, 0x78, 0x2e, 0x77, 0x5c, 0x45, 0x21, 0xd9, 0x44,
518 0x00, 0x31, 0xf3, 0xbe, 0x32, 0x4f, 0xf5, 0x0a, 0x32, 0x0d, 0xfc, 0xfc,
519 0xba, 0x16, 0x76, 0x56, 0xb2, 0xd6, 0x48, 0x92, 0xf2, 0x8b, 0xa6, 0x3e,
520 0xb7, 0xac, 0x5c, 0x69, 0xea, 0x0b, 0x3f, 0x66, 0x45, 0xb9
524 static void tests_grandslam(void)
527 SecCertificateRef serverauth
, service
;
530 isnt(serverauth
= SecCertificateCreateWithBytes(NULL
, _server_auth
, sizeof(_server_auth
)),
531 NULL
, "create serverauth");
532 isnt(service
= SecCertificateCreateWithBytes(NULL
, _gsservice
, sizeof(_gsservice
)),
533 NULL
, "create sservice");
535 CFTypeRef certs
[2] = { service
, serverauth
};
537 CFArrayRef array
= CFArrayCreate(NULL
, (const void **)&certs
, sizeof(certs
)/sizeof(certs
[0]), NULL
);
538 isnt(array
, NULL
, "array");
540 isnt(policy
= SecPolicyCreateAppleGSService(CFSTR("gsa.apple.com"), NULL
), NULL
, "create policy");
542 ok_status(SecTrustCreateWithCertificates(array
, policy
, &trust
), "create trust");
544 CFTimeZoneRef tz
= CFTimeZoneCreateWithName(NULL
, CFSTR("CET"), true);
545 CFDateRef date
= CFDateCreateForGregorianMoment(NULL
, tz
, 2015, 04, 20, 19, 10, 0);
547 ok_status(SecTrustSetVerifyDate(trust
, date
), "set date");
550 SecTrustResultType trustResult
;
551 ok_status(SecTrustEvaluate(trust
, &trustResult
), "evaluate trust");
552 is_status(trustResult
, kSecTrustResultUnspecified
,
553 "trust is not kSecTrustResultUnspecified");
555 is(SecTrustGetCertificateCount(trust
), 3, "cert count is 3");
557 CFReleaseNull(trust
);
558 CFReleaseNull(policy
);
560 CFReleaseNull(array
);
563 static void tests_ids(void)
566 SecCertificateRef serverauth
, service
;
569 isnt(serverauth
= SecCertificateCreateWithBytes(NULL
, _server_auth
, sizeof(_server_auth
)),
570 NULL
, "create serverauth");
571 isnt(service
= SecCertificateCreateWithBytes(NULL
, _idsservice
, sizeof(_idsservice
)),
572 NULL
, "create sservice");
574 CFTypeRef certs
[2] = { service
, serverauth
};
576 CFArrayRef array
= CFArrayCreate(NULL
, (const void **)&certs
, sizeof(certs
)/sizeof(certs
[0]), NULL
);
577 isnt(array
, NULL
, "array");
579 CFDictionaryRef context
= CFDictionaryCreateForCFTypes(NULL
,
580 CFSTR("AppleServerAuthenticationAllowUATIDS"), kCFBooleanTrue
,
582 isnt(context
, NULL
, "context");
584 isnt(policy
= SecPolicyCreateAppleIDSServiceContext(CFSTR("sc5mv.apple.com"), context
), NULL
, "create policy");
586 ok_status(SecTrustCreateWithCertificates(array
, policy
, &trust
), "create trust");
588 CFTimeZoneRef tz
= CFTimeZoneCreateWithName(NULL
, CFSTR("CET"), true);
589 CFDateRef date
= CFDateCreateForGregorianMoment(NULL
, tz
, 2015, 05, 11, 19, 10, 0);
591 ok_status(SecTrustSetVerifyDate(trust
, date
), "set date");
594 SecTrustResultType trustResult
;
595 ok_status(SecTrustEvaluate(trust
, &trustResult
), "evaluate trust");
596 is_status(trustResult
, kSecTrustResultUnspecified
,
597 "trust is not kSecTrustResultUnspecified");
599 is(SecTrustGetCertificateCount(trust
), 3, "cert count is 3");
601 CFReleaseNull(trust
);
602 CFReleaseNull(policy
);
604 CFReleaseNull(context
);
605 CFReleaseNull(array
);
609 static void tests_apn(void)
611 #if 0 /* these certs are not cooked yet */
613 SecCertificateRef serverauth
, service
;
616 isnt(serverauth
= SecCertificateCreateWithBytes(NULL
, _server_auth
, sizeof(_server_auth
)),
617 NULL
, "create serverauth");
618 isnt(service
= SecCertificateCreateWithBytes(NULL
, _apnservice
, sizeof(_apnservice
)),
619 NULL
, "create sservice");
621 CFTypeRef certs
[2] = { service
, serverauth
};
623 CFArrayRef array
= CFArrayCreate(NULL
, (const void **)&certs
, sizeof(certs
)/sizeof(certs
[0]), NULL
);
624 isnt(array
, NULL
, "array");
626 isnt(policy
= SecPolicyCreateApplePushService(CFSTR("courier.push.apple.com")), NULL
, "create policy");
628 ok_status(SecTrustCreateWithCertificates(array
, policy
, &trust
), "create trust");
630 CFTimeZoneRef tz
= CFTimeZoneCreateWithName(NULL
, CFSTR("CET"), true);
631 CFDateRef date
= CFDateCreateForGregorianMoment(NULL
, tz
, 2015, 05, 11, 19, 10, 0);
633 ok_status(SecTrustSetVerifyDate(trust
, date
), "set date");
636 SecTrustResultType trustResult
;
637 ok_status(SecTrustEvaluate(trust
, &trustResult
), "evaluate trust");
638 is_status(trustResult
, kSecTrustResultUnspecified
,
639 "trust is kSecTrustResultUnspecified");
641 is(SecTrustGetCertificateCount(trust
), 3, "cert count is 3");
643 CFReleaseNull(trust
);
644 CFReleaseNull(policy
);
646 CFReleaseNull(array
);
650 static void tests_apn_legacy(void)
653 SecCertificateRef serverauth
, service
;
656 isnt(serverauth
= SecCertificateCreateWithBytes(NULL
, _entrustL1
, sizeof(_entrustL1
)),
657 NULL
, "create serverauth");
658 isnt(service
= SecCertificateCreateWithBytes(NULL
, _apnserviceLegacy
, sizeof(_apnserviceLegacy
)),
659 NULL
, "create service");
661 CFTypeRef certs
[2] = { service
, serverauth
};
663 CFArrayRef array
= CFArrayCreate(NULL
, (const void **)&certs
, sizeof(certs
)/sizeof(certs
[0]), NULL
);
664 isnt(array
, NULL
, "array");
666 isnt(policy
= SecPolicyCreateApplePushServiceLegacy(CFSTR("courier.push.apple.com")), NULL
, "create policy");
668 ok_status(SecTrustCreateWithCertificates(array
, policy
, &trust
), "create trust");
670 CFTimeZoneRef tz
= CFTimeZoneCreateWithName(NULL
, CFSTR("CET"), true);
671 CFDateRef date
= CFDateCreateForGregorianMoment(NULL
, tz
, 2015, 05, 11, 19, 10, 0);
673 ok_status(SecTrustSetVerifyDate(trust
, date
), "set date");
676 SecTrustResultType trustResult
;
677 ok_status(SecTrustEvaluate(trust
, &trustResult
), "evaluate trust");
678 is_status(trustResult
, kSecTrustResultUnspecified
,
679 "trust is kSecTrustResultUnspecified");
681 is(SecTrustGetCertificateCount(trust
), 3, "cert count is 3");
683 CFReleaseNull(trust
);
684 CFReleaseNull(policy
);
686 CFReleaseNull(array
);
690 int si_25_sectrust_apple_authentication(int argc
, char *const *argv
)