]>
Commit | Line | Data |
---|---|---|
49e747e6 UM |
1 | /* lib/obj/obj_dat.h */ |
2 | /* Copyright (C) 1995-1997 Eric Young (eay@cryptsoft.com) | |
3 | * All rights reserved. | |
4 | * | |
5 | * This package is an SSL implementation written | |
6 | * by Eric Young (eay@cryptsoft.com). | |
7 | * The implementation was written so as to conform with Netscapes SSL. | |
8 | * | |
9 | * This library is free for commercial and non-commercial use as long as | |
10 | * the following conditions are aheared to. The following conditions | |
11 | * apply to all code found in this distribution, be it the RC4, RSA, | |
12 | * lhash, DES, etc., code; not just the SSL code. The SSL documentation | |
13 | * included with this distribution is covered by the same copyright terms | |
14 | * except that the holder is Tim Hudson (tjh@cryptsoft.com). | |
15 | * | |
16 | * Copyright remains Eric Young's, and as such any Copyright notices in | |
17 | * the code are not to be removed. | |
18 | * If this package is used in a product, Eric Young should be given attribution | |
19 | * as the author of the parts of the library used. | |
20 | * This can be in the form of a textual message at program startup or | |
21 | * in documentation (online or textual) provided with the package. | |
22 | * | |
23 | * Redistribution and use in source and binary forms, with or without | |
24 | * modification, are permitted provided that the following conditions | |
25 | * are met: | |
26 | * 1. Redistributions of source code must retain the copyright | |
27 | * notice, this list of conditions and the following disclaimer. | |
28 | * 2. Redistributions in binary form must reproduce the above copyright | |
29 | * notice, this list of conditions and the following disclaimer in the | |
30 | * documentation and/or other materials provided with the distribution. | |
31 | * 3. All advertising materials mentioning features or use of this software | |
32 | * must display the following acknowledgement: | |
33 | * "This product includes cryptographic software written by | |
34 | * Eric Young (eay@cryptsoft.com)" | |
35 | * The word 'cryptographic' can be left out if the rouines from the library | |
36 | * being used are not cryptographic related :-). | |
37 | * 4. If you include any Windows specific code (or a derivative thereof) from | |
38 | * the apps directory (application code) you must include an acknowledgement: | |
39 | * "This product includes software written by Tim Hudson (tjh@cryptsoft.com)" | |
40 | * | |
41 | * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND | |
42 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | |
43 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | |
44 | * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE | |
45 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | |
46 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | |
47 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | |
48 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | |
49 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | |
50 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | |
51 | * SUCH DAMAGE. | |
52 | * | |
53 | * The licence and distribution terms for any publically available version or | |
54 | * derivative of this code cannot be changed. i.e. this code cannot simply be | |
55 | * copied and put under another distribution licence | |
56 | * [including the GNU Public Licence.] | |
57 | */ | |
58 | ||
59 | /* THIS FILE IS GENERATED FROM Objects.h by obj_dat.pl via the | |
60 | * following command: | |
61 | * perl obj_dat.pl objects.h obj_dat.h | |
62 | */ | |
63 | ||
d4cec6a1 | 64 | #define NUM_NID 181 |
525f51f6 | 65 | #define NUM_SN 140 |
d4cec6a1 | 66 | #define NUM_LN 175 |
f45f40ff | 67 | #define NUM_OBJ 154 |
49e747e6 | 68 | |
f45f40ff | 69 | static unsigned char lvalues[1085]={ |
49e747e6 UM |
70 | 0x00, /* [ 0] OBJ_undef */ |
71 | 0x2A,0x86,0x48,0x86,0xF7,0x0D, /* [ 1] OBJ_rsadsi */ | |
72 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01, /* [ 7] OBJ_pkcs */ | |
73 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x02,0x02, /* [ 14] OBJ_md2 */ | |
74 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x02,0x05, /* [ 22] OBJ_md5 */ | |
75 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x03,0x04, /* [ 30] OBJ_rc4 */ | |
76 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x01,0x01,/* [ 38] OBJ_rsaEncryption */ | |
77 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x01,0x02,/* [ 47] OBJ_md2WithRSAEncryption */ | |
78 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x01,0x04,/* [ 56] OBJ_md5WithRSAEncryption */ | |
79 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x05,0x01,/* [ 65] OBJ_pbeWithMD2AndDES_CBC */ | |
80 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x05,0x03,/* [ 74] OBJ_pbeWithMD5AndDES_CBC */ | |
81 | 0x55, /* [ 83] OBJ_X500 */ | |
82 | 0x55,0x04, /* [ 84] OBJ_X509 */ | |
83 | 0x55,0x04,0x03, /* [ 86] OBJ_commonName */ | |
84 | 0x55,0x04,0x06, /* [ 89] OBJ_countryName */ | |
85 | 0x55,0x04,0x07, /* [ 92] OBJ_localityName */ | |
86 | 0x55,0x04,0x08, /* [ 95] OBJ_stateOrProvinceName */ | |
87 | 0x55,0x04,0x0A, /* [ 98] OBJ_organizationName */ | |
88 | 0x55,0x04,0x0B, /* [101] OBJ_organizationalUnitName */ | |
89 | 0x55,0x08,0x01,0x01, /* [104] OBJ_rsa */ | |
90 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x07, /* [108] OBJ_pkcs7 */ | |
91 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x07,0x01,/* [116] OBJ_pkcs7_data */ | |
92 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x07,0x02,/* [125] OBJ_pkcs7_signed */ | |
93 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x07,0x03,/* [134] OBJ_pkcs7_enveloped */ | |
94 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x07,0x04,/* [143] OBJ_pkcs7_signedAndEnveloped */ | |
95 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x07,0x05,/* [152] OBJ_pkcs7_digest */ | |
96 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x07,0x06,/* [161] OBJ_pkcs7_encrypted */ | |
97 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x03, /* [170] OBJ_pkcs3 */ | |
98 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x03,0x01,/* [178] OBJ_dhKeyAgreement */ | |
99 | 0x2B,0x0E,0x03,0x02,0x06, /* [187] OBJ_des_ecb */ | |
100 | 0x2B,0x0E,0x03,0x02,0x09, /* [192] OBJ_des_cfb64 */ | |
101 | 0x2B,0x0E,0x03,0x02,0x07, /* [197] OBJ_des_cbc */ | |
102 | 0x2B,0x0E,0x03,0x02,0x11, /* [202] OBJ_des_ede */ | |
f45f40ff DSH |
103 | 0x2B,0x06,0x01,0x04,0x01,0x81,0x3C,0x07,0x01,0x01,0x02,/* [207] OBJ_idea_cbc */ |
104 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x03,0x02, /* [218] OBJ_rc2_cbc */ | |
105 | 0x2B,0x0E,0x03,0x02,0x12, /* [226] OBJ_sha */ | |
106 | 0x2B,0x0E,0x03,0x02,0x0F, /* [231] OBJ_shaWithRSAEncryption */ | |
107 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x03,0x07, /* [236] OBJ_des_ede3_cbc */ | |
108 | 0x2B,0x0E,0x03,0x02,0x08, /* [244] OBJ_des_ofb64 */ | |
109 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x09, /* [249] OBJ_pkcs9 */ | |
110 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x09,0x01,/* [257] OBJ_pkcs9_emailAddress */ | |
111 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x09,0x02,/* [266] OBJ_pkcs9_unstructuredName */ | |
112 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x09,0x03,/* [275] OBJ_pkcs9_contentType */ | |
113 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x09,0x04,/* [284] OBJ_pkcs9_messageDigest */ | |
114 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x09,0x05,/* [293] OBJ_pkcs9_signingTime */ | |
115 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x09,0x06,/* [302] OBJ_pkcs9_countersignature */ | |
116 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x09,0x07,/* [311] OBJ_pkcs9_challengePassword */ | |
117 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x09,0x08,/* [320] OBJ_pkcs9_unstructuredAddress */ | |
118 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x09,0x09,/* [329] OBJ_pkcs9_extCertAttributes */ | |
119 | 0x60,0x86,0x48,0x01,0x86,0xF8,0x42, /* [338] OBJ_netscape */ | |
120 | 0x60,0x86,0x48,0x01,0x86,0xF8,0x42,0x01, /* [345] OBJ_netscape_cert_extension */ | |
121 | 0x60,0x86,0x48,0x01,0x86,0xF8,0x42,0x02, /* [353] OBJ_netscape_data_type */ | |
122 | 0x2B,0x0E,0x03,0x02,0x1A, /* [361] OBJ_sha1 */ | |
123 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x01,0x05,/* [366] OBJ_sha1WithRSAEncryption */ | |
124 | 0x2B,0x0E,0x03,0x02,0x0D, /* [375] OBJ_dsaWithSHA */ | |
125 | 0x2B,0x0E,0x03,0x02,0x0C, /* [380] OBJ_dsa_2 */ | |
126 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x05,0x0B,/* [385] OBJ_pbeWithSHA1AndRC2_CBC */ | |
127 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x05,0x0C,/* [394] OBJ_id_pbkdf2 */ | |
128 | 0x2B,0x0E,0x03,0x02,0x1B, /* [403] OBJ_dsaWithSHA1_2 */ | |
129 | 0x60,0x86,0x48,0x01,0x86,0xF8,0x42,0x01,0x01,/* [408] OBJ_netscape_cert_type */ | |
130 | 0x60,0x86,0x48,0x01,0x86,0xF8,0x42,0x01,0x02,/* [417] OBJ_netscape_base_url */ | |
131 | 0x60,0x86,0x48,0x01,0x86,0xF8,0x42,0x01,0x03,/* [426] OBJ_netscape_revocation_url */ | |
132 | 0x60,0x86,0x48,0x01,0x86,0xF8,0x42,0x01,0x04,/* [435] OBJ_netscape_ca_revocation_url */ | |
133 | 0x60,0x86,0x48,0x01,0x86,0xF8,0x42,0x01,0x07,/* [444] OBJ_netscape_renewal_url */ | |
134 | 0x60,0x86,0x48,0x01,0x86,0xF8,0x42,0x01,0x08,/* [453] OBJ_netscape_ca_policy_url */ | |
135 | 0x60,0x86,0x48,0x01,0x86,0xF8,0x42,0x01,0x0C,/* [462] OBJ_netscape_ssl_server_name */ | |
136 | 0x60,0x86,0x48,0x01,0x86,0xF8,0x42,0x01,0x0D,/* [471] OBJ_netscape_comment */ | |
137 | 0x60,0x86,0x48,0x01,0x86,0xF8,0x42,0x02,0x05,/* [480] OBJ_netscape_cert_sequence */ | |
138 | 0x55,0x1D, /* [489] OBJ_ld_ce */ | |
139 | 0x55,0x1D,0x0E, /* [491] OBJ_subject_key_identifier */ | |
140 | 0x55,0x1D,0x0F, /* [494] OBJ_key_usage */ | |
141 | 0x55,0x1D,0x10, /* [497] OBJ_private_key_usage_period */ | |
142 | 0x55,0x1D,0x11, /* [500] OBJ_subject_alt_name */ | |
143 | 0x55,0x1D,0x12, /* [503] OBJ_issuer_alt_name */ | |
144 | 0x55,0x1D,0x13, /* [506] OBJ_basic_constraints */ | |
145 | 0x55,0x1D,0x14, /* [509] OBJ_crl_number */ | |
146 | 0x55,0x1D,0x20, /* [512] OBJ_certificate_policies */ | |
147 | 0x55,0x1D,0x23, /* [515] OBJ_authority_key_identifier */ | |
148 | 0x2B,0x06,0x01,0x04,0x01,0x97,0x55,0x01,0x02,/* [518] OBJ_bf_cbc */ | |
149 | 0x55,0x08,0x03,0x65, /* [527] OBJ_mdc2 */ | |
150 | 0x55,0x08,0x03,0x64, /* [531] OBJ_mdc2WithRSA */ | |
151 | 0x55,0x04,0x2A, /* [535] OBJ_givenName */ | |
152 | 0x55,0x04,0x04, /* [538] OBJ_surname */ | |
153 | 0x55,0x04,0x2B, /* [541] OBJ_initials */ | |
154 | 0x55,0x04,0x2D, /* [544] OBJ_uniqueIdentifier */ | |
155 | 0x55,0x1D,0x1F, /* [547] OBJ_crl_distribution_points */ | |
156 | 0x2B,0x0E,0x03,0x02,0x03, /* [550] OBJ_md5WithRSA */ | |
157 | 0x55,0x04,0x05, /* [555] OBJ_serialNumber */ | |
158 | 0x55,0x04,0x0C, /* [558] OBJ_title */ | |
159 | 0x55,0x04,0x0D, /* [561] OBJ_description */ | |
160 | 0x2A,0x86,0x48,0x86,0xF6,0x7D,0x07,0x42,0x0A,/* [564] OBJ_cast5_cbc */ | |
161 | 0x2A,0x86,0x48,0x86,0xF6,0x7D,0x07,0x42,0x0C,/* [573] OBJ_pbeWithMD5AndCast5_CBC */ | |
162 | 0x2A,0x86,0x48,0xCE,0x38,0x04,0x03, /* [582] OBJ_dsaWithSHA1 */ | |
163 | 0x2B,0x0E,0x03,0x02,0x1D, /* [589] OBJ_sha1WithRSA */ | |
164 | 0x2A,0x86,0x48,0xCE,0x38,0x04,0x01, /* [594] OBJ_dsa */ | |
165 | 0x2B,0x24,0x03,0x02,0x01, /* [601] OBJ_ripemd160 */ | |
166 | 0x2B,0x24,0x03,0x03,0x01,0x02, /* [606] OBJ_ripemd160WithRSA */ | |
167 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x03,0x08, /* [612] OBJ_rc5_cbc */ | |
168 | 0x29,0x01,0x01,0x85,0x1A,0x01, /* [620] OBJ_rle_compression */ | |
169 | 0x29,0x01,0x01,0x85,0x1A,0x02, /* [626] OBJ_zlib_compression */ | |
170 | 0x55,0x1D,0x25, /* [632] OBJ_ext_key_usage */ | |
171 | 0x2B,0x06,0x01,0x05,0x05,0x07, /* [635] OBJ_id_pkix */ | |
172 | 0x2B,0x06,0x01,0x05,0x05,0x07,0x03, /* [641] OBJ_id_kp */ | |
173 | 0x2B,0x06,0x01,0x05,0x05,0x07,0x03,0x01, /* [648] OBJ_server_auth */ | |
174 | 0x2B,0x06,0x01,0x05,0x05,0x07,0x03,0x02, /* [656] OBJ_client_auth */ | |
175 | 0x2B,0x06,0x01,0x05,0x05,0x07,0x03,0x03, /* [664] OBJ_code_sign */ | |
176 | 0x2B,0x06,0x01,0x05,0x05,0x07,0x03,0x04, /* [672] OBJ_email_protect */ | |
177 | 0x2B,0x06,0x01,0x05,0x05,0x07,0x03,0x08, /* [680] OBJ_time_stamp */ | |
178 | 0x2B,0x06,0x01,0x04,0x01,0x82,0x37,0x02,0x01,0x15,/* [688] OBJ_ms_code_ind */ | |
179 | 0x2B,0x06,0x01,0x04,0x01,0x82,0x37,0x02,0x01,0x16,/* [698] OBJ_ms_code_com */ | |
180 | 0x2B,0x06,0x01,0x04,0x01,0x82,0x37,0x0A,0x03,0x01,/* [708] OBJ_ms_ctl_sign */ | |
181 | 0x2B,0x06,0x01,0x04,0x01,0x82,0x37,0x0A,0x03,0x03,/* [718] OBJ_ms_sgc */ | |
182 | 0x2B,0x06,0x01,0x04,0x01,0x82,0x37,0x0A,0x03,0x04,/* [728] OBJ_ms_efs */ | |
183 | 0x60,0x86,0x48,0x01,0x86,0xF8,0x42,0x04,0x01,/* [738] OBJ_ns_sgc */ | |
184 | 0x55,0x1D,0x1B, /* [747] OBJ_delta_crl */ | |
185 | 0x55,0x1D,0x15, /* [750] OBJ_crl_reason */ | |
186 | 0x55,0x1D,0x18, /* [753] OBJ_invalidity_date */ | |
187 | 0x2B,0x65,0x01,0x04,0x01, /* [756] OBJ_sxnet */ | |
188 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x0C,0x01,0x01,/* [761] OBJ_pbe_WithSHA1And128BitRC4 */ | |
189 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x0C,0x01,0x02,/* [771] OBJ_pbe_WithSHA1And40BitRC4 */ | |
190 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x0C,0x01,0x03,/* [781] OBJ_pbe_WithSHA1And3_Key_TripleDES_CBC */ | |
191 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x0C,0x01,0x04,/* [791] OBJ_pbe_WithSHA1And2_Key_TripleDES_CBC */ | |
192 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x0C,0x01,0x05,/* [801] OBJ_pbe_WithSHA1And128BitRC2_CBC */ | |
193 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x0C,0x01,0x06,/* [811] OBJ_pbe_WithSHA1And40BitRC2_CBC */ | |
194 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x0C,0x0A,0x01,0x01,/* [821] OBJ_keyBag */ | |
195 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x0C,0x0A,0x01,0x02,/* [832] OBJ_pkcs8ShroudedKeyBag */ | |
196 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x0C,0x0A,0x01,0x03,/* [843] OBJ_certBag */ | |
197 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x0C,0x0A,0x01,0x04,/* [854] OBJ_crlBag */ | |
198 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x0C,0x0A,0x01,0x05,/* [865] OBJ_secretBag */ | |
199 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x0C,0x0A,0x01,0x06,/* [876] OBJ_safeContentsBag */ | |
200 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x09,0x14,/* [887] OBJ_friendlyName */ | |
201 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x09,0x15,/* [896] OBJ_localKeyID */ | |
202 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x09,0x16,0x01,/* [905] OBJ_x509Certificate */ | |
203 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x09,0x16,0x02,/* [915] OBJ_sdsiCertificate */ | |
204 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x09,0x17,0x01,/* [925] OBJ_x509Crl */ | |
205 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x05,0x0D,/* [935] OBJ_pbes2 */ | |
206 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x05,0x0E,/* [944] OBJ_pbmac1 */ | |
207 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x02,0x07, /* [953] OBJ_hmacWithSHA1 */ | |
208 | 0x2B,0x06,0x01,0x05,0x05,0x07,0x02,0x01, /* [961] OBJ_id_qt_cps */ | |
209 | 0x2B,0x06,0x01,0x05,0x05,0x07,0x02,0x02, /* [969] OBJ_id_qt_unotice */ | |
210 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x09,0x0F,/* [977] OBJ_SMIMECapabilities */ | |
211 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x05,0x04,/* [986] OBJ_pbeWithMD2AndRC2_CBC */ | |
212 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x05,0x06,/* [995] OBJ_pbeWithMD5AndRC2_CBC */ | |
213 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x05,0x0A,/* [1004] OBJ_pbeWithSHA1AndDES_CBC */ | |
214 | 0x2B,0x06,0x01,0x04,0x01,0x82,0x37,0x02,0x01,0x0E,/* [1013] OBJ_ms_ext_req */ | |
215 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x09,0x0E,/* [1023] OBJ_ext_req */ | |
216 | 0x55,0x04,0x29, /* [1032] OBJ_name */ | |
217 | 0x55,0x04,0x2E, /* [1035] OBJ_dnQualifier */ | |
218 | 0x2B,0x06,0x01,0x05,0x05,0x07,0x01, /* [1038] OBJ_id_pe */ | |
219 | 0x2B,0x06,0x01,0x05,0x05,0x07,0x30, /* [1045] OBJ_id_ad */ | |
220 | 0x2B,0x06,0x01,0x05,0x05,0x07,0x01,0x01, /* [1052] OBJ_info_access */ | |
221 | 0x2B,0x06,0x01,0x05,0x05,0x07,0x30,0x01, /* [1060] OBJ_ad_OCSP */ | |
222 | 0x2B,0x06,0x01,0x05,0x05,0x07,0x30,0x02, /* [1068] OBJ_ad_ca_issuers */ | |
223 | 0x2B,0x06,0x01,0x05,0x05,0x07,0x03,0x09, /* [1076] OBJ_OCSP_sign */ | |
49e747e6 UM |
224 | }; |
225 | ||
226 | static ASN1_OBJECT nid_objs[NUM_NID]={ | |
227 | {"UNDEF","undefined",NID_undef,1,&(lvalues[0]),0}, | |
228 | {"rsadsi","rsadsi",NID_rsadsi,6,&(lvalues[1]),0}, | |
229 | {"pkcs","pkcs",NID_pkcs,7,&(lvalues[7]),0}, | |
230 | {"MD2","md2",NID_md2,8,&(lvalues[14]),0}, | |
231 | {"MD5","md5",NID_md5,8,&(lvalues[22]),0}, | |
232 | {"RC4","rc4",NID_rc4,8,&(lvalues[30]),0}, | |
233 | {"rsaEncryption","rsaEncryption",NID_rsaEncryption,9,&(lvalues[38]),0}, | |
234 | {"RSA-MD2","md2WithRSAEncryption",NID_md2WithRSAEncryption,9, | |
235 | &(lvalues[47]),0}, | |
236 | {"RSA-MD5","md5WithRSAEncryption",NID_md5WithRSAEncryption,9, | |
237 | &(lvalues[56]),0}, | |
525f51f6 DSH |
238 | {"PBE-MD2-DES","pbeWithMD2AndDES-CBC",NID_pbeWithMD2AndDES_CBC,9, |
239 | &(lvalues[65]),0}, | |
240 | {"PBE-MD5-DES","pbeWithMD5AndDES-CBC",NID_pbeWithMD5AndDES_CBC,9, | |
241 | &(lvalues[74]),0}, | |
49e747e6 UM |
242 | {"X500","X500",NID_X500,1,&(lvalues[83]),0}, |
243 | {"X509","X509",NID_X509,2,&(lvalues[84]),0}, | |
244 | {"CN","commonName",NID_commonName,3,&(lvalues[86]),0}, | |
245 | {"C","countryName",NID_countryName,3,&(lvalues[89]),0}, | |
246 | {"L","localityName",NID_localityName,3,&(lvalues[92]),0}, | |
247 | {"ST","stateOrProvinceName",NID_stateOrProvinceName,3,&(lvalues[95]),0}, | |
248 | {"O","organizationName",NID_organizationName,3,&(lvalues[98]),0}, | |
249 | {"OU","organizationalUnitName",NID_organizationalUnitName,3, | |
250 | &(lvalues[101]),0}, | |
251 | {"RSA","rsa",NID_rsa,4,&(lvalues[104]),0}, | |
252 | {"pkcs7","pkcs7",NID_pkcs7,8,&(lvalues[108]),0}, | |
253 | {"pkcs7-data","pkcs7-data",NID_pkcs7_data,9,&(lvalues[116]),0}, | |
254 | {"pkcs7-signedData","pkcs7-signedData",NID_pkcs7_signed,9, | |
255 | &(lvalues[125]),0}, | |
256 | {"pkcs7-envelopedData","pkcs7-envelopedData",NID_pkcs7_enveloped,9, | |
257 | &(lvalues[134]),0}, | |
258 | {"pkcs7-signedAndEnvelopedData","pkcs7-signedAndEnvelopedData", | |
259 | NID_pkcs7_signedAndEnveloped,9,&(lvalues[143]),0}, | |
260 | {"pkcs7-digestData","pkcs7-digestData",NID_pkcs7_digest,9, | |
261 | &(lvalues[152]),0}, | |
262 | {"pkcs7-encryptedData","pkcs7-encryptedData",NID_pkcs7_encrypted,9, | |
263 | &(lvalues[161]),0}, | |
264 | {"pkcs3","pkcs3",NID_pkcs3,8,&(lvalues[170]),0}, | |
265 | {"dhKeyAgreement","dhKeyAgreement",NID_dhKeyAgreement,9, | |
266 | &(lvalues[178]),0}, | |
267 | {"DES-ECB","des-ecb",NID_des_ecb,5,&(lvalues[187]),0}, | |
268 | {"DES-CFB","des-cfb",NID_des_cfb64,5,&(lvalues[192]),0}, | |
269 | {"DES-CBC","des-cbc",NID_des_cbc,5,&(lvalues[197]),0}, | |
270 | {"DES-EDE","des-ede",NID_des_ede,5,&(lvalues[202]),0}, | |
271 | {"DES-EDE3","des-ede3",NID_des_ede3,0,NULL}, | |
f45f40ff | 272 | {"IDEA-CBC","idea-cbc",NID_idea_cbc,11,&(lvalues[207]),0}, |
49e747e6 UM |
273 | {"IDEA-CFB","idea-cfb",NID_idea_cfb64,0,NULL}, |
274 | {"IDEA-ECB","idea-ecb",NID_idea_ecb,0,NULL}, | |
f45f40ff | 275 | {"RC2-CBC","rc2-cbc",NID_rc2_cbc,8,&(lvalues[218]),0}, |
49e747e6 UM |
276 | {"RC2-ECB","rc2-ecb",NID_rc2_ecb,0,NULL}, |
277 | {"RC2-CFB","rc2-cfb",NID_rc2_cfb64,0,NULL}, | |
278 | {"RC2-OFB","rc2-ofb",NID_rc2_ofb64,0,NULL}, | |
f45f40ff | 279 | {"SHA","sha",NID_sha,5,&(lvalues[226]),0}, |
49e747e6 | 280 | {"RSA-SHA","shaWithRSAEncryption",NID_shaWithRSAEncryption,5, |
f45f40ff | 281 | &(lvalues[231]),0}, |
49e747e6 | 282 | {"DES-EDE-CBC","des-ede-cbc",NID_des_ede_cbc,0,NULL}, |
f45f40ff DSH |
283 | {"DES-EDE3-CBC","des-ede3-cbc",NID_des_ede3_cbc,8,&(lvalues[236]),0}, |
284 | {"DES-OFB","des-ofb",NID_des_ofb64,5,&(lvalues[244]),0}, | |
49e747e6 | 285 | {"IDEA-OFB","idea-ofb",NID_idea_ofb64,0,NULL}, |
f45f40ff DSH |
286 | {"pkcs9","pkcs9",NID_pkcs9,8,&(lvalues[249]),0}, |
287 | {"Email","emailAddress",NID_pkcs9_emailAddress,9,&(lvalues[257]),0}, | |
49e747e6 | 288 | {"unstructuredName","unstructuredName",NID_pkcs9_unstructuredName,9, |
f45f40ff DSH |
289 | &(lvalues[266]),0}, |
290 | {"contentType","contentType",NID_pkcs9_contentType,9,&(lvalues[275]),0}, | |
49e747e6 | 291 | {"messageDigest","messageDigest",NID_pkcs9_messageDigest,9, |
f45f40ff DSH |
292 | &(lvalues[284]),0}, |
293 | {"signingTime","signingTime",NID_pkcs9_signingTime,9,&(lvalues[293]),0}, | |
49e747e6 | 294 | {"countersignature","countersignature",NID_pkcs9_countersignature,9, |
f45f40ff | 295 | &(lvalues[302]),0}, |
49e747e6 | 296 | {"challengePassword","challengePassword",NID_pkcs9_challengePassword, |
f45f40ff | 297 | 9,&(lvalues[311]),0}, |
49e747e6 | 298 | {"unstructuredAddress","unstructuredAddress", |
f45f40ff | 299 | NID_pkcs9_unstructuredAddress,9,&(lvalues[320]),0}, |
49e747e6 | 300 | {"extendedCertificateAttributes","extendedCertificateAttributes", |
f45f40ff | 301 | NID_pkcs9_extCertAttributes,9,&(lvalues[329]),0}, |
49e747e6 | 302 | {"Netscape","Netscape Communications Corp.",NID_netscape,7, |
f45f40ff | 303 | &(lvalues[338]),0}, |
49e747e6 | 304 | {"nsCertExt","Netscape Certificate Extension", |
f45f40ff | 305 | NID_netscape_cert_extension,8,&(lvalues[345]),0}, |
49e747e6 | 306 | {"nsDataType","Netscape Data Type",NID_netscape_data_type,8, |
f45f40ff | 307 | &(lvalues[353]),0}, |
49e747e6 UM |
308 | {"DES-EDE-CFB","des-ede-cfb",NID_des_ede_cfb64,0,NULL}, |
309 | {"DES-EDE3-CFB","des-ede3-cfb",NID_des_ede3_cfb64,0,NULL}, | |
310 | {"DES-EDE-OFB","des-ede-ofb",NID_des_ede_ofb64,0,NULL}, | |
311 | {"DES-EDE3-OFB","des-ede3-ofb",NID_des_ede3_ofb64,0,NULL}, | |
f45f40ff | 312 | {"SHA1","sha1",NID_sha1,5,&(lvalues[361]),0}, |
49e747e6 | 313 | {"RSA-SHA1","sha1WithRSAEncryption",NID_sha1WithRSAEncryption,9, |
f45f40ff DSH |
314 | &(lvalues[366]),0}, |
315 | {"DSA-SHA","dsaWithSHA",NID_dsaWithSHA,5,&(lvalues[375]),0}, | |
316 | {"DSA-old","dsaEncryption-old",NID_dsa_2,5,&(lvalues[380]),0}, | |
525f51f6 | 317 | {"PBE-SHA1-RC2-64","pbeWithSHA1AndRC2-CBC",NID_pbeWithSHA1AndRC2_CBC, |
f45f40ff DSH |
318 | 9,&(lvalues[385]),0}, |
319 | {"PBKDF2","PBKDF2",NID_id_pbkdf2,9,&(lvalues[394]),0}, | |
320 | {"DSA-SHA1-old","dsaWithSHA1-old",NID_dsaWithSHA1_2,5,&(lvalues[403]),0}, | |
49e747e6 | 321 | {"nsCertType","Netscape Cert Type",NID_netscape_cert_type,9, |
f45f40ff | 322 | &(lvalues[408]),0}, |
49e747e6 | 323 | {"nsBaseUrl","Netscape Base Url",NID_netscape_base_url,9, |
f45f40ff | 324 | &(lvalues[417]),0}, |
49e747e6 | 325 | {"nsRevocationUrl","Netscape Revocation Url", |
f45f40ff | 326 | NID_netscape_revocation_url,9,&(lvalues[426]),0}, |
49e747e6 | 327 | {"nsCaRevocationUrl","Netscape CA Revocation Url", |
f45f40ff | 328 | NID_netscape_ca_revocation_url,9,&(lvalues[435]),0}, |
49e747e6 | 329 | {"nsRenewalUrl","Netscape Renewal Url",NID_netscape_renewal_url,9, |
f45f40ff | 330 | &(lvalues[444]),0}, |
49e747e6 | 331 | {"nsCaPolicyUrl","Netscape CA Policy Url",NID_netscape_ca_policy_url, |
f45f40ff | 332 | 9,&(lvalues[453]),0}, |
49e747e6 | 333 | {"nsSslServerName","Netscape SSL Server Name", |
f45f40ff DSH |
334 | NID_netscape_ssl_server_name,9,&(lvalues[462]),0}, |
335 | {"nsComment","Netscape Comment",NID_netscape_comment,9,&(lvalues[471]),0}, | |
49e747e6 | 336 | {"nsCertSequence","Netscape Certificate Sequence", |
f45f40ff | 337 | NID_netscape_cert_sequence,9,&(lvalues[480]),0}, |
49e747e6 | 338 | {"DESX-CBC","desx-cbc",NID_desx_cbc,0,NULL}, |
f45f40ff | 339 | {"ld-ce","ld-ce",NID_ld_ce,2,&(lvalues[489]),0}, |
49e747e6 | 340 | {"subjectKeyIdentifier","X509v3 Subject Key Identifier", |
f45f40ff DSH |
341 | NID_subject_key_identifier,3,&(lvalues[491]),0}, |
342 | {"keyUsage","X509v3 Key Usage",NID_key_usage,3,&(lvalues[494]),0}, | |
49e747e6 | 343 | {"privateKeyUsagePeriod","X509v3 Private Key Usage Period", |
f45f40ff | 344 | NID_private_key_usage_period,3,&(lvalues[497]),0}, |
49e747e6 | 345 | {"subjectAltName","X509v3 Subject Alternative Name", |
f45f40ff | 346 | NID_subject_alt_name,3,&(lvalues[500]),0}, |
49e747e6 | 347 | {"issuerAltName","X509v3 Issuer Alternative Name",NID_issuer_alt_name, |
f45f40ff | 348 | 3,&(lvalues[503]),0}, |
49e747e6 | 349 | {"basicConstraints","X509v3 Basic Constraints",NID_basic_constraints, |
f45f40ff DSH |
350 | 3,&(lvalues[506]),0}, |
351 | {"crlNumber","X509v3 CRL Number",NID_crl_number,3,&(lvalues[509]),0}, | |
49e747e6 | 352 | {"certificatePolicies","X509v3 Certificate Policies", |
f45f40ff | 353 | NID_certificate_policies,3,&(lvalues[512]),0}, |
49e747e6 | 354 | {"authorityKeyIdentifier","X509v3 Authority Key Identifier", |
f45f40ff DSH |
355 | NID_authority_key_identifier,3,&(lvalues[515]),0}, |
356 | {"BF-CBC","bf-cbc",NID_bf_cbc,9,&(lvalues[518]),0}, | |
49e747e6 UM |
357 | {"BF-ECB","bf-ecb",NID_bf_ecb,0,NULL}, |
358 | {"BF-CFB","bf-cfb",NID_bf_cfb64,0,NULL}, | |
359 | {"BF-OFB","bf-ofb",NID_bf_ofb64,0,NULL}, | |
f45f40ff DSH |
360 | {"MDC2","mdc2",NID_mdc2,4,&(lvalues[527]),0}, |
361 | {"RSA-MDC2","mdc2withRSA",NID_mdc2WithRSA,4,&(lvalues[531]),0}, | |
49e747e6 UM |
362 | {"RC4-40","rc4-40",NID_rc4_40,0,NULL}, |
363 | {"RC2-40-CBC","rc2-40-cbc",NID_rc2_40_cbc,0,NULL}, | |
f45f40ff DSH |
364 | {"G","givenName",NID_givenName,3,&(lvalues[535]),0}, |
365 | {"S","surname",NID_surname,3,&(lvalues[538]),0}, | |
366 | {"I","initials",NID_initials,3,&(lvalues[541]),0}, | |
367 | {"UID","uniqueIdentifier",NID_uniqueIdentifier,3,&(lvalues[544]),0}, | |
49e747e6 | 368 | {"crlDistributionPoints","X509v3 CRL Distribution Points", |
f45f40ff DSH |
369 | NID_crl_distribution_points,3,&(lvalues[547]),0}, |
370 | {"RSA-NP-MD5","md5WithRSA",NID_md5WithRSA,5,&(lvalues[550]),0}, | |
371 | {"SN","serialNumber",NID_serialNumber,3,&(lvalues[555]),0}, | |
372 | {"T","title",NID_title,3,&(lvalues[558]),0}, | |
373 | {"D","description",NID_description,3,&(lvalues[561]),0}, | |
374 | {"CAST5-CBC","cast5-cbc",NID_cast5_cbc,9,&(lvalues[564]),0}, | |
49e747e6 UM |
375 | {"CAST5-ECB","cast5-ecb",NID_cast5_ecb,0,NULL}, |
376 | {"CAST5-CFB","cast5-cfb",NID_cast5_cfb64,0,NULL}, | |
377 | {"CAST5-OFB","cast5-ofb",NID_cast5_ofb64,0,NULL}, | |
378 | {"pbeWithMD5AndCast5CBC","pbeWithMD5AndCast5CBC", | |
f45f40ff DSH |
379 | NID_pbeWithMD5AndCast5_CBC,9,&(lvalues[573]),0}, |
380 | {"DSA-SHA1","dsaWithSHA1",NID_dsaWithSHA1,7,&(lvalues[582]),0}, | |
49e747e6 | 381 | {"MD5-SHA1","md5-sha1",NID_md5_sha1,0,NULL}, |
f45f40ff DSH |
382 | {"RSA-SHA1-2","sha1WithRSA",NID_sha1WithRSA,5,&(lvalues[589]),0}, |
383 | {"DSA","dsaEncryption",NID_dsa,7,&(lvalues[594]),0}, | |
384 | {"RIPEMD160","ripemd160",NID_ripemd160,5,&(lvalues[601]),0}, | |
49e747e6 UM |
385 | {NULL,NULL,NID_undef,0,NULL}, |
386 | {"RSA-RIPEMD160","ripemd160WithRSA",NID_ripemd160WithRSA,6, | |
f45f40ff DSH |
387 | &(lvalues[606]),0}, |
388 | {"RC5-CBC","rc5-cbc",NID_rc5_cbc,8,&(lvalues[612]),0}, | |
49e747e6 UM |
389 | {"RC5-ECB","rc5-ecb",NID_rc5_ecb,0,NULL}, |
390 | {"RC5-CFB","rc5-cfb",NID_rc5_cfb64,0,NULL}, | |
391 | {"RC5-OFB","rc5-ofb",NID_rc5_ofb64,0,NULL}, | |
f45f40ff DSH |
392 | {"RLE","run length compression",NID_rle_compression,6,&(lvalues[620]),0}, |
393 | {"ZLIB","zlib compression",NID_zlib_compression,6,&(lvalues[626]),0}, | |
49e747e6 | 394 | {"extendedKeyUsage","X509v3 Extended Key Usage",NID_ext_key_usage,3, |
f45f40ff DSH |
395 | &(lvalues[632]),0}, |
396 | {"PKIX","PKIX",NID_id_pkix,6,&(lvalues[635]),0}, | |
397 | {"id-kp","id-kp",NID_id_kp,7,&(lvalues[641]),0}, | |
49e747e6 | 398 | {"serverAuth","TLS Web Server Authentication",NID_server_auth,8, |
f45f40ff | 399 | &(lvalues[648]),0}, |
49e747e6 | 400 | {"clientAuth","TLS Web Client Authentication",NID_client_auth,8, |
f45f40ff DSH |
401 | &(lvalues[656]),0}, |
402 | {"codeSigning","Code Signing",NID_code_sign,8,&(lvalues[664]),0}, | |
49e747e6 | 403 | {"emailProtection","E-mail Protection",NID_email_protect,8, |
f45f40ff DSH |
404 | &(lvalues[672]),0}, |
405 | {"timeStamping","Time Stamping",NID_time_stamp,8,&(lvalues[680]),0}, | |
49e747e6 | 406 | {"msCodeInd","Microsoft Individual Code Signing",NID_ms_code_ind,10, |
f45f40ff | 407 | &(lvalues[688]),0}, |
49e747e6 | 408 | {"msCodeCom","Microsoft Commercial Code Signing",NID_ms_code_com,10, |
f45f40ff | 409 | &(lvalues[698]),0}, |
49e747e6 | 410 | {"msCTLSign","Microsoft Trust List Signing",NID_ms_ctl_sign,10, |
49e747e6 | 411 | &(lvalues[708]),0}, |
f45f40ff DSH |
412 | {"msSGC","Microsoft Server Gated Crypto",NID_ms_sgc,10,&(lvalues[718]),0}, |
413 | {"msEFS","Microsoft Encrypted File System",NID_ms_efs,10, | |
414 | &(lvalues[728]),0}, | |
415 | {"nsSGC","Netscape Server Gated Crypto",NID_ns_sgc,9,&(lvalues[738]),0}, | |
49e747e6 | 416 | {"deltaCRL","X509v3 Delta CRL Indicator",NID_delta_crl,3, |
f45f40ff DSH |
417 | &(lvalues[747]),0}, |
418 | {"CRLReason","CRL Reason Code",NID_crl_reason,3,&(lvalues[750]),0}, | |
49e747e6 | 419 | {"invalidityDate","Invalidity Date",NID_invalidity_date,3, |
f45f40ff DSH |
420 | &(lvalues[753]),0}, |
421 | {"SXNetID","Strong Extranet ID",NID_sxnet,5,&(lvalues[756]),0}, | |
525f51f6 | 422 | {"PBE-SHA1-RC4-128","pbeWithSHA1And128BitRC4", |
f45f40ff | 423 | NID_pbe_WithSHA1And128BitRC4,10,&(lvalues[761]),0}, |
525f51f6 | 424 | {"PBE-SHA1-RC4-40","pbeWithSHA1And40BitRC4", |
f45f40ff | 425 | NID_pbe_WithSHA1And40BitRC4,10,&(lvalues[771]),0}, |
525f51f6 | 426 | {"PBE-SHA1-3DES","pbeWithSHA1And3-KeyTripleDES-CBC", |
f45f40ff | 427 | NID_pbe_WithSHA1And3_Key_TripleDES_CBC,10,&(lvalues[781]),0}, |
525f51f6 | 428 | {"PBE-SHA1-2DES","pbeWithSHA1And2-KeyTripleDES-CBC", |
f45f40ff | 429 | NID_pbe_WithSHA1And2_Key_TripleDES_CBC,10,&(lvalues[791]),0}, |
525f51f6 | 430 | {"PBE-SHA1-RC2-128","pbeWithSHA1And128BitRC2-CBC", |
f45f40ff | 431 | NID_pbe_WithSHA1And128BitRC2_CBC,10,&(lvalues[801]),0}, |
525f51f6 | 432 | {"PBE-SHA1-RC2-40","pbeWithSHA1And40BitRC2-CBC", |
f45f40ff DSH |
433 | NID_pbe_WithSHA1And40BitRC2_CBC,10,&(lvalues[811]),0}, |
434 | {"keyBag","keyBag",NID_keyBag,11,&(lvalues[821]),0}, | |
49e747e6 | 435 | {"pkcs8ShroudedKeyBag","pkcs8ShroudedKeyBag",NID_pkcs8ShroudedKeyBag, |
f45f40ff DSH |
436 | 11,&(lvalues[832]),0}, |
437 | {"certBag","certBag",NID_certBag,11,&(lvalues[843]),0}, | |
438 | {"crlBag","crlBag",NID_crlBag,11,&(lvalues[854]),0}, | |
439 | {"secretBag","secretBag",NID_secretBag,11,&(lvalues[865]),0}, | |
49e747e6 | 440 | {"safeContentsBag","safeContentsBag",NID_safeContentsBag,11, |
f45f40ff DSH |
441 | &(lvalues[876]),0}, |
442 | {"friendlyName","friendlyName",NID_friendlyName,9,&(lvalues[887]),0}, | |
443 | {"localKeyID","localKeyID",NID_localKeyID,9,&(lvalues[896]),0}, | |
49e747e6 | 444 | {"x509Certificate","x509Certificate",NID_x509Certificate,10, |
f45f40ff | 445 | &(lvalues[905]),0}, |
49e747e6 | 446 | {"sdsiCertificate","sdsiCertificate",NID_sdsiCertificate,10, |
f45f40ff DSH |
447 | &(lvalues[915]),0}, |
448 | {"x509Crl","x509Crl",NID_x509Crl,10,&(lvalues[925]),0}, | |
449 | {"PBES2","PBES2",NID_pbes2,9,&(lvalues[935]),0}, | |
450 | {"PBMAC1","PBMAC1",NID_pbmac1,9,&(lvalues[944]),0}, | |
451 | {"hmacWithSHA1","hmacWithSHA1",NID_hmacWithSHA1,8,&(lvalues[953]),0}, | |
452 | {"id-qt-cps","Policy Qualifier CPS",NID_id_qt_cps,8,&(lvalues[961]),0}, | |
49e747e6 | 453 | {"id-qt-unotice","Policy Qualifier User Notice",NID_id_qt_unotice,8, |
f45f40ff | 454 | &(lvalues[969]),0}, |
49e747e6 | 455 | {"RC2-64-CBC","rc2-64-cbc",NID_rc2_64_cbc,0,NULL}, |
b216664f | 456 | {"SMIME-CAPS","S/MIME Capabilities",NID_SMIMECapabilities,9, |
f45f40ff | 457 | &(lvalues[977]),0}, |
525f51f6 | 458 | {"PBE-MD2-RC2-64","pbeWithMD2AndRC2-CBC",NID_pbeWithMD2AndRC2_CBC,9, |
f45f40ff | 459 | &(lvalues[986]),0}, |
525f51f6 | 460 | {"PBE-MD5-RC2-64","pbeWithMD5AndRC2-CBC",NID_pbeWithMD5AndRC2_CBC,9, |
f45f40ff | 461 | &(lvalues[995]),0}, |
525f51f6 | 462 | {"PBE-SHA1-DES","pbeWithSHA1AndDES-CBC",NID_pbeWithSHA1AndDES_CBC,9, |
f45f40ff | 463 | &(lvalues[1004]),0}, |
49e747e6 | 464 | {"msExtReq","Microsoft Extension Request",NID_ms_ext_req,10, |
f45f40ff DSH |
465 | &(lvalues[1013]),0}, |
466 | {"extReq","Extension Request",NID_ext_req,9,&(lvalues[1023]),0}, | |
467 | {"name","name",NID_name,3,&(lvalues[1032]),0}, | |
468 | {"dnQualifier","dnQualifier",NID_dnQualifier,3,&(lvalues[1035]),0}, | |
469 | {"id-pe","id-pe",NID_id_pe,7,&(lvalues[1038]),0}, | |
470 | {"id-ad","id-ad",NID_id_ad,7,&(lvalues[1045]),0}, | |
6d3724d3 | 471 | {"authorityInfoAccess","Authority Information Access",NID_info_access, |
f45f40ff DSH |
472 | 8,&(lvalues[1052]),0}, |
473 | {"OCSP","OCSP",NID_ad_OCSP,8,&(lvalues[1060]),0}, | |
474 | {"caIssuers","CA Issuers",NID_ad_ca_issuers,8,&(lvalues[1068]),0}, | |
475 | {"OCSP Signing","OCSP Signing",NID_OCSP_sign,8,&(lvalues[1076]),0}, | |
49e747e6 UM |
476 | }; |
477 | ||
478 | static ASN1_OBJECT *sn_objs[NUM_SN]={ | |
479 | &(nid_objs[91]),/* "BF-CBC" */ | |
480 | &(nid_objs[93]),/* "BF-CFB" */ | |
481 | &(nid_objs[92]),/* "BF-ECB" */ | |
482 | &(nid_objs[94]),/* "BF-OFB" */ | |
483 | &(nid_objs[14]),/* "C" */ | |
484 | &(nid_objs[108]),/* "CAST5-CBC" */ | |
485 | &(nid_objs[110]),/* "CAST5-CFB" */ | |
486 | &(nid_objs[109]),/* "CAST5-ECB" */ | |
487 | &(nid_objs[111]),/* "CAST5-OFB" */ | |
488 | &(nid_objs[13]),/* "CN" */ | |
489 | &(nid_objs[141]),/* "CRLReason" */ | |
490 | &(nid_objs[107]),/* "D" */ | |
491 | &(nid_objs[31]),/* "DES-CBC" */ | |
492 | &(nid_objs[30]),/* "DES-CFB" */ | |
493 | &(nid_objs[29]),/* "DES-ECB" */ | |
494 | &(nid_objs[32]),/* "DES-EDE" */ | |
495 | &(nid_objs[43]),/* "DES-EDE-CBC" */ | |
496 | &(nid_objs[60]),/* "DES-EDE-CFB" */ | |
497 | &(nid_objs[62]),/* "DES-EDE-OFB" */ | |
498 | &(nid_objs[33]),/* "DES-EDE3" */ | |
499 | &(nid_objs[44]),/* "DES-EDE3-CBC" */ | |
500 | &(nid_objs[61]),/* "DES-EDE3-CFB" */ | |
501 | &(nid_objs[63]),/* "DES-EDE3-OFB" */ | |
502 | &(nid_objs[45]),/* "DES-OFB" */ | |
503 | &(nid_objs[80]),/* "DESX-CBC" */ | |
504 | &(nid_objs[116]),/* "DSA" */ | |
505 | &(nid_objs[66]),/* "DSA-SHA" */ | |
506 | &(nid_objs[113]),/* "DSA-SHA1" */ | |
507 | &(nid_objs[70]),/* "DSA-SHA1-old" */ | |
508 | &(nid_objs[67]),/* "DSA-old" */ | |
509 | &(nid_objs[48]),/* "Email" */ | |
510 | &(nid_objs[99]),/* "G" */ | |
511 | &(nid_objs[101]),/* "I" */ | |
512 | &(nid_objs[34]),/* "IDEA-CBC" */ | |
513 | &(nid_objs[35]),/* "IDEA-CFB" */ | |
514 | &(nid_objs[36]),/* "IDEA-ECB" */ | |
515 | &(nid_objs[46]),/* "IDEA-OFB" */ | |
516 | &(nid_objs[15]),/* "L" */ | |
517 | &(nid_objs[ 3]),/* "MD2" */ | |
518 | &(nid_objs[ 4]),/* "MD5" */ | |
519 | &(nid_objs[114]),/* "MD5-SHA1" */ | |
520 | &(nid_objs[95]),/* "MDC2" */ | |
521 | &(nid_objs[57]),/* "Netscape" */ | |
522 | &(nid_objs[17]),/* "O" */ | |
6d3724d3 | 523 | &(nid_objs[178]),/* "OCSP" */ |
49e747e6 | 524 | &(nid_objs[18]),/* "OU" */ |
525f51f6 DSH |
525 | &(nid_objs[ 9]),/* "PBE-MD2-DES" */ |
526 | &(nid_objs[168]),/* "PBE-MD2-RC2-64" */ | |
527 | &(nid_objs[10]),/* "PBE-MD5-DES" */ | |
528 | &(nid_objs[169]),/* "PBE-MD5-RC2-64" */ | |
529 | &(nid_objs[147]),/* "PBE-SHA1-2DES" */ | |
530 | &(nid_objs[146]),/* "PBE-SHA1-3DES" */ | |
531 | &(nid_objs[170]),/* "PBE-SHA1-DES" */ | |
532 | &(nid_objs[148]),/* "PBE-SHA1-RC2-128" */ | |
533 | &(nid_objs[149]),/* "PBE-SHA1-RC2-40" */ | |
534 | &(nid_objs[68]),/* "PBE-SHA1-RC2-64" */ | |
535 | &(nid_objs[144]),/* "PBE-SHA1-RC4-128" */ | |
536 | &(nid_objs[145]),/* "PBE-SHA1-RC4-40" */ | |
49e747e6 UM |
537 | &(nid_objs[127]),/* "PKIX" */ |
538 | &(nid_objs[98]),/* "RC2-40-CBC" */ | |
539 | &(nid_objs[166]),/* "RC2-64-CBC" */ | |
540 | &(nid_objs[37]),/* "RC2-CBC" */ | |
541 | &(nid_objs[39]),/* "RC2-CFB" */ | |
542 | &(nid_objs[38]),/* "RC2-ECB" */ | |
543 | &(nid_objs[40]),/* "RC2-OFB" */ | |
544 | &(nid_objs[ 5]),/* "RC4" */ | |
545 | &(nid_objs[97]),/* "RC4-40" */ | |
546 | &(nid_objs[120]),/* "RC5-CBC" */ | |
547 | &(nid_objs[122]),/* "RC5-CFB" */ | |
548 | &(nid_objs[121]),/* "RC5-ECB" */ | |
549 | &(nid_objs[123]),/* "RC5-OFB" */ | |
550 | &(nid_objs[117]),/* "RIPEMD160" */ | |
551 | &(nid_objs[124]),/* "RLE" */ | |
552 | &(nid_objs[19]),/* "RSA" */ | |
553 | &(nid_objs[ 7]),/* "RSA-MD2" */ | |
554 | &(nid_objs[ 8]),/* "RSA-MD5" */ | |
555 | &(nid_objs[96]),/* "RSA-MDC2" */ | |
556 | &(nid_objs[104]),/* "RSA-NP-MD5" */ | |
557 | &(nid_objs[119]),/* "RSA-RIPEMD160" */ | |
558 | &(nid_objs[42]),/* "RSA-SHA" */ | |
559 | &(nid_objs[65]),/* "RSA-SHA1" */ | |
560 | &(nid_objs[115]),/* "RSA-SHA1-2" */ | |
561 | &(nid_objs[100]),/* "S" */ | |
562 | &(nid_objs[41]),/* "SHA" */ | |
563 | &(nid_objs[64]),/* "SHA1" */ | |
564 | &(nid_objs[167]),/* "SMIME-CAPS" */ | |
565 | &(nid_objs[105]),/* "SN" */ | |
566 | &(nid_objs[16]),/* "ST" */ | |
567 | &(nid_objs[143]),/* "SXNetID" */ | |
568 | &(nid_objs[106]),/* "T" */ | |
569 | &(nid_objs[102]),/* "UID" */ | |
570 | &(nid_objs[ 0]),/* "UNDEF" */ | |
571 | &(nid_objs[125]),/* "ZLIB" */ | |
6d3724d3 | 572 | &(nid_objs[177]),/* "authorityInfoAccess" */ |
49e747e6 UM |
573 | &(nid_objs[90]),/* "authorityKeyIdentifier" */ |
574 | &(nid_objs[87]),/* "basicConstraints" */ | |
6d3724d3 | 575 | &(nid_objs[179]),/* "caIssuers" */ |
49e747e6 UM |
576 | &(nid_objs[89]),/* "certificatePolicies" */ |
577 | &(nid_objs[130]),/* "clientAuth" */ | |
578 | &(nid_objs[131]),/* "codeSigning" */ | |
579 | &(nid_objs[103]),/* "crlDistributionPoints" */ | |
580 | &(nid_objs[88]),/* "crlNumber" */ | |
581 | &(nid_objs[140]),/* "deltaCRL" */ | |
f769ce3e | 582 | &(nid_objs[174]),/* "dnQualifier" */ |
49e747e6 UM |
583 | &(nid_objs[132]),/* "emailProtection" */ |
584 | &(nid_objs[172]),/* "extReq" */ | |
585 | &(nid_objs[126]),/* "extendedKeyUsage" */ | |
6d3724d3 | 586 | &(nid_objs[176]),/* "id-ad" */ |
49e747e6 | 587 | &(nid_objs[128]),/* "id-kp" */ |
6d3724d3 | 588 | &(nid_objs[175]),/* "id-pe" */ |
49e747e6 UM |
589 | &(nid_objs[164]),/* "id-qt-cps" */ |
590 | &(nid_objs[165]),/* "id-qt-unotice" */ | |
591 | &(nid_objs[142]),/* "invalidityDate" */ | |
592 | &(nid_objs[86]),/* "issuerAltName" */ | |
593 | &(nid_objs[83]),/* "keyUsage" */ | |
594 | &(nid_objs[81]),/* "ld-ce" */ | |
595 | &(nid_objs[136]),/* "msCTLSign" */ | |
596 | &(nid_objs[135]),/* "msCodeCom" */ | |
597 | &(nid_objs[134]),/* "msCodeInd" */ | |
598 | &(nid_objs[138]),/* "msEFS" */ | |
599 | &(nid_objs[171]),/* "msExtReq" */ | |
600 | &(nid_objs[137]),/* "msSGC" */ | |
f769ce3e | 601 | &(nid_objs[173]),/* "name" */ |
49e747e6 UM |
602 | &(nid_objs[72]),/* "nsBaseUrl" */ |
603 | &(nid_objs[76]),/* "nsCaPolicyUrl" */ | |
604 | &(nid_objs[74]),/* "nsCaRevocationUrl" */ | |
605 | &(nid_objs[58]),/* "nsCertExt" */ | |
606 | &(nid_objs[79]),/* "nsCertSequence" */ | |
607 | &(nid_objs[71]),/* "nsCertType" */ | |
608 | &(nid_objs[78]),/* "nsComment" */ | |
609 | &(nid_objs[59]),/* "nsDataType" */ | |
610 | &(nid_objs[75]),/* "nsRenewalUrl" */ | |
611 | &(nid_objs[73]),/* "nsRevocationUrl" */ | |
612 | &(nid_objs[139]),/* "nsSGC" */ | |
613 | &(nid_objs[77]),/* "nsSslServerName" */ | |
614 | &(nid_objs[84]),/* "privateKeyUsagePeriod" */ | |
615 | &(nid_objs[129]),/* "serverAuth" */ | |
616 | &(nid_objs[85]),/* "subjectAltName" */ | |
617 | &(nid_objs[82]),/* "subjectKeyIdentifier" */ | |
618 | &(nid_objs[133]),/* "timeStamping" */ | |
619 | }; | |
620 | ||
621 | static ASN1_OBJECT *ln_objs[NUM_LN]={ | |
6d3724d3 DSH |
622 | &(nid_objs[177]),/* "Authority Information Access" */ |
623 | &(nid_objs[179]),/* "CA Issuers" */ | |
49e747e6 UM |
624 | &(nid_objs[141]),/* "CRL Reason Code" */ |
625 | &(nid_objs[131]),/* "Code Signing" */ | |
626 | &(nid_objs[132]),/* "E-mail Protection" */ | |
627 | &(nid_objs[172]),/* "Extension Request" */ | |
628 | &(nid_objs[142]),/* "Invalidity Date" */ | |
629 | &(nid_objs[135]),/* "Microsoft Commercial Code Signing" */ | |
630 | &(nid_objs[138]),/* "Microsoft Encrypted File System" */ | |
631 | &(nid_objs[171]),/* "Microsoft Extension Request" */ | |
632 | &(nid_objs[134]),/* "Microsoft Individual Code Signing" */ | |
633 | &(nid_objs[137]),/* "Microsoft Server Gated Crypto" */ | |
634 | &(nid_objs[136]),/* "Microsoft Trust List Signing" */ | |
635 | &(nid_objs[72]),/* "Netscape Base Url" */ | |
636 | &(nid_objs[76]),/* "Netscape CA Policy Url" */ | |
637 | &(nid_objs[74]),/* "Netscape CA Revocation Url" */ | |
638 | &(nid_objs[71]),/* "Netscape Cert Type" */ | |
639 | &(nid_objs[58]),/* "Netscape Certificate Extension" */ | |
640 | &(nid_objs[79]),/* "Netscape Certificate Sequence" */ | |
641 | &(nid_objs[78]),/* "Netscape Comment" */ | |
642 | &(nid_objs[57]),/* "Netscape Communications Corp." */ | |
643 | &(nid_objs[59]),/* "Netscape Data Type" */ | |
644 | &(nid_objs[75]),/* "Netscape Renewal Url" */ | |
645 | &(nid_objs[73]),/* "Netscape Revocation Url" */ | |
646 | &(nid_objs[77]),/* "Netscape SSL Server Name" */ | |
647 | &(nid_objs[139]),/* "Netscape Server Gated Crypto" */ | |
d4cec6a1 | 648 | &(nid_objs[180]),/* "OCSP Signing" */ |
6d3724d3 | 649 | &(nid_objs[178]),/* "OCSP" */ |
49e747e6 UM |
650 | &(nid_objs[161]),/* "PBES2" */ |
651 | &(nid_objs[69]),/* "PBKDF2" */ | |
652 | &(nid_objs[162]),/* "PBMAC1" */ | |
653 | &(nid_objs[164]),/* "Policy Qualifier CPS" */ | |
654 | &(nid_objs[165]),/* "Policy Qualifier User Notice" */ | |
655 | &(nid_objs[167]),/* "S/MIME Capabilities" */ | |
656 | &(nid_objs[143]),/* "Strong Extranet ID" */ | |
657 | &(nid_objs[130]),/* "TLS Web Client Authentication" */ | |
658 | &(nid_objs[129]),/* "TLS Web Server Authentication" */ | |
659 | &(nid_objs[133]),/* "Time Stamping" */ | |
660 | &(nid_objs[11]),/* "X500" */ | |
661 | &(nid_objs[12]),/* "X509" */ | |
662 | &(nid_objs[90]),/* "X509v3 Authority Key Identifier" */ | |
663 | &(nid_objs[87]),/* "X509v3 Basic Constraints" */ | |
664 | &(nid_objs[103]),/* "X509v3 CRL Distribution Points" */ | |
665 | &(nid_objs[88]),/* "X509v3 CRL Number" */ | |
666 | &(nid_objs[89]),/* "X509v3 Certificate Policies" */ | |
667 | &(nid_objs[140]),/* "X509v3 Delta CRL Indicator" */ | |
668 | &(nid_objs[126]),/* "X509v3 Extended Key Usage" */ | |
669 | &(nid_objs[86]),/* "X509v3 Issuer Alternative Name" */ | |
670 | &(nid_objs[83]),/* "X509v3 Key Usage" */ | |
671 | &(nid_objs[84]),/* "X509v3 Private Key Usage Period" */ | |
672 | &(nid_objs[85]),/* "X509v3 Subject Alternative Name" */ | |
673 | &(nid_objs[82]),/* "X509v3 Subject Key Identifier" */ | |
674 | &(nid_objs[91]),/* "bf-cbc" */ | |
675 | &(nid_objs[93]),/* "bf-cfb" */ | |
676 | &(nid_objs[92]),/* "bf-ecb" */ | |
677 | &(nid_objs[94]),/* "bf-ofb" */ | |
678 | &(nid_objs[108]),/* "cast5-cbc" */ | |
679 | &(nid_objs[110]),/* "cast5-cfb" */ | |
680 | &(nid_objs[109]),/* "cast5-ecb" */ | |
681 | &(nid_objs[111]),/* "cast5-ofb" */ | |
682 | &(nid_objs[152]),/* "certBag" */ | |
683 | &(nid_objs[54]),/* "challengePassword" */ | |
684 | &(nid_objs[13]),/* "commonName" */ | |
685 | &(nid_objs[50]),/* "contentType" */ | |
686 | &(nid_objs[53]),/* "countersignature" */ | |
687 | &(nid_objs[14]),/* "countryName" */ | |
688 | &(nid_objs[153]),/* "crlBag" */ | |
689 | &(nid_objs[31]),/* "des-cbc" */ | |
690 | &(nid_objs[30]),/* "des-cfb" */ | |
691 | &(nid_objs[29]),/* "des-ecb" */ | |
692 | &(nid_objs[32]),/* "des-ede" */ | |
693 | &(nid_objs[43]),/* "des-ede-cbc" */ | |
694 | &(nid_objs[60]),/* "des-ede-cfb" */ | |
695 | &(nid_objs[62]),/* "des-ede-ofb" */ | |
696 | &(nid_objs[33]),/* "des-ede3" */ | |
697 | &(nid_objs[44]),/* "des-ede3-cbc" */ | |
698 | &(nid_objs[61]),/* "des-ede3-cfb" */ | |
699 | &(nid_objs[63]),/* "des-ede3-ofb" */ | |
700 | &(nid_objs[45]),/* "des-ofb" */ | |
701 | &(nid_objs[107]),/* "description" */ | |
702 | &(nid_objs[80]),/* "desx-cbc" */ | |
703 | &(nid_objs[28]),/* "dhKeyAgreement" */ | |
f769ce3e | 704 | &(nid_objs[174]),/* "dnQualifier" */ |
49e747e6 UM |
705 | &(nid_objs[116]),/* "dsaEncryption" */ |
706 | &(nid_objs[67]),/* "dsaEncryption-old" */ | |
707 | &(nid_objs[66]),/* "dsaWithSHA" */ | |
708 | &(nid_objs[113]),/* "dsaWithSHA1" */ | |
709 | &(nid_objs[70]),/* "dsaWithSHA1-old" */ | |
710 | &(nid_objs[48]),/* "emailAddress" */ | |
711 | &(nid_objs[56]),/* "extendedCertificateAttributes" */ | |
712 | &(nid_objs[156]),/* "friendlyName" */ | |
713 | &(nid_objs[99]),/* "givenName" */ | |
714 | &(nid_objs[163]),/* "hmacWithSHA1" */ | |
715 | &(nid_objs[34]),/* "idea-cbc" */ | |
716 | &(nid_objs[35]),/* "idea-cfb" */ | |
717 | &(nid_objs[36]),/* "idea-ecb" */ | |
718 | &(nid_objs[46]),/* "idea-ofb" */ | |
719 | &(nid_objs[101]),/* "initials" */ | |
720 | &(nid_objs[150]),/* "keyBag" */ | |
721 | &(nid_objs[157]),/* "localKeyID" */ | |
722 | &(nid_objs[15]),/* "localityName" */ | |
723 | &(nid_objs[ 3]),/* "md2" */ | |
724 | &(nid_objs[ 7]),/* "md2WithRSAEncryption" */ | |
725 | &(nid_objs[ 4]),/* "md5" */ | |
726 | &(nid_objs[114]),/* "md5-sha1" */ | |
727 | &(nid_objs[104]),/* "md5WithRSA" */ | |
728 | &(nid_objs[ 8]),/* "md5WithRSAEncryption" */ | |
729 | &(nid_objs[95]),/* "mdc2" */ | |
730 | &(nid_objs[96]),/* "mdc2withRSA" */ | |
731 | &(nid_objs[51]),/* "messageDigest" */ | |
f769ce3e | 732 | &(nid_objs[173]),/* "name" */ |
49e747e6 UM |
733 | &(nid_objs[17]),/* "organizationName" */ |
734 | &(nid_objs[18]),/* "organizationalUnitName" */ | |
735 | &(nid_objs[ 9]),/* "pbeWithMD2AndDES-CBC" */ | |
736 | &(nid_objs[168]),/* "pbeWithMD2AndRC2-CBC" */ | |
737 | &(nid_objs[112]),/* "pbeWithMD5AndCast5CBC" */ | |
738 | &(nid_objs[10]),/* "pbeWithMD5AndDES-CBC" */ | |
739 | &(nid_objs[169]),/* "pbeWithMD5AndRC2-CBC" */ | |
740 | &(nid_objs[148]),/* "pbeWithSHA1And128BitRC2-CBC" */ | |
741 | &(nid_objs[144]),/* "pbeWithSHA1And128BitRC4" */ | |
742 | &(nid_objs[147]),/* "pbeWithSHA1And2-KeyTripleDES-CBC" */ | |
743 | &(nid_objs[146]),/* "pbeWithSHA1And3-KeyTripleDES-CBC" */ | |
744 | &(nid_objs[149]),/* "pbeWithSHA1And40BitRC2-CBC" */ | |
745 | &(nid_objs[145]),/* "pbeWithSHA1And40BitRC4" */ | |
746 | &(nid_objs[170]),/* "pbeWithSHA1AndDES-CBC" */ | |
747 | &(nid_objs[68]),/* "pbeWithSHA1AndRC2-CBC" */ | |
748 | &(nid_objs[ 2]),/* "pkcs" */ | |
749 | &(nid_objs[27]),/* "pkcs3" */ | |
750 | &(nid_objs[20]),/* "pkcs7" */ | |
751 | &(nid_objs[21]),/* "pkcs7-data" */ | |
752 | &(nid_objs[25]),/* "pkcs7-digestData" */ | |
753 | &(nid_objs[26]),/* "pkcs7-encryptedData" */ | |
754 | &(nid_objs[23]),/* "pkcs7-envelopedData" */ | |
755 | &(nid_objs[24]),/* "pkcs7-signedAndEnvelopedData" */ | |
756 | &(nid_objs[22]),/* "pkcs7-signedData" */ | |
757 | &(nid_objs[151]),/* "pkcs8ShroudedKeyBag" */ | |
758 | &(nid_objs[47]),/* "pkcs9" */ | |
759 | &(nid_objs[98]),/* "rc2-40-cbc" */ | |
760 | &(nid_objs[166]),/* "rc2-64-cbc" */ | |
761 | &(nid_objs[37]),/* "rc2-cbc" */ | |
762 | &(nid_objs[39]),/* "rc2-cfb" */ | |
763 | &(nid_objs[38]),/* "rc2-ecb" */ | |
764 | &(nid_objs[40]),/* "rc2-ofb" */ | |
765 | &(nid_objs[ 5]),/* "rc4" */ | |
766 | &(nid_objs[97]),/* "rc4-40" */ | |
767 | &(nid_objs[120]),/* "rc5-cbc" */ | |
768 | &(nid_objs[122]),/* "rc5-cfb" */ | |
769 | &(nid_objs[121]),/* "rc5-ecb" */ | |
770 | &(nid_objs[123]),/* "rc5-ofb" */ | |
771 | &(nid_objs[117]),/* "ripemd160" */ | |
772 | &(nid_objs[119]),/* "ripemd160WithRSA" */ | |
773 | &(nid_objs[19]),/* "rsa" */ | |
774 | &(nid_objs[ 6]),/* "rsaEncryption" */ | |
775 | &(nid_objs[ 1]),/* "rsadsi" */ | |
776 | &(nid_objs[124]),/* "run length compression" */ | |
777 | &(nid_objs[155]),/* "safeContentsBag" */ | |
778 | &(nid_objs[159]),/* "sdsiCertificate" */ | |
779 | &(nid_objs[154]),/* "secretBag" */ | |
780 | &(nid_objs[105]),/* "serialNumber" */ | |
781 | &(nid_objs[41]),/* "sha" */ | |
782 | &(nid_objs[64]),/* "sha1" */ | |
783 | &(nid_objs[115]),/* "sha1WithRSA" */ | |
784 | &(nid_objs[65]),/* "sha1WithRSAEncryption" */ | |
785 | &(nid_objs[42]),/* "shaWithRSAEncryption" */ | |
786 | &(nid_objs[52]),/* "signingTime" */ | |
787 | &(nid_objs[16]),/* "stateOrProvinceName" */ | |
788 | &(nid_objs[100]),/* "surname" */ | |
789 | &(nid_objs[106]),/* "title" */ | |
790 | &(nid_objs[ 0]),/* "undefined" */ | |
791 | &(nid_objs[102]),/* "uniqueIdentifier" */ | |
792 | &(nid_objs[55]),/* "unstructuredAddress" */ | |
793 | &(nid_objs[49]),/* "unstructuredName" */ | |
794 | &(nid_objs[158]),/* "x509Certificate" */ | |
795 | &(nid_objs[160]),/* "x509Crl" */ | |
796 | &(nid_objs[125]),/* "zlib compression" */ | |
797 | }; | |
798 | ||
799 | static ASN1_OBJECT *obj_objs[NUM_OBJ]={ | |
800 | &(nid_objs[ 0]),/* OBJ_undef 0 */ | |
49e747e6 UM |
801 | &(nid_objs[11]),/* OBJ_X500 2 5 */ |
802 | &(nid_objs[12]),/* OBJ_X509 2 5 4 */ | |
803 | &(nid_objs[81]),/* OBJ_ld_ce 2 5 29 */ | |
804 | &(nid_objs[13]),/* OBJ_commonName 2 5 4 3 */ | |
805 | &(nid_objs[100]),/* OBJ_surname 2 5 4 4 */ | |
806 | &(nid_objs[105]),/* OBJ_serialNumber 2 5 4 5 */ | |
807 | &(nid_objs[14]),/* OBJ_countryName 2 5 4 6 */ | |
808 | &(nid_objs[15]),/* OBJ_localityName 2 5 4 7 */ | |
809 | &(nid_objs[16]),/* OBJ_stateOrProvinceName 2 5 4 8 */ | |
810 | &(nid_objs[17]),/* OBJ_organizationName 2 5 4 10 */ | |
811 | &(nid_objs[18]),/* OBJ_organizationalUnitName 2 5 4 11 */ | |
812 | &(nid_objs[106]),/* OBJ_title 2 5 4 12 */ | |
813 | &(nid_objs[107]),/* OBJ_description 2 5 4 13 */ | |
f769ce3e | 814 | &(nid_objs[173]),/* OBJ_name 2 5 4 41 */ |
49e747e6 UM |
815 | &(nid_objs[99]),/* OBJ_givenName 2 5 4 42 */ |
816 | &(nid_objs[101]),/* OBJ_initials 2 5 4 43 */ | |
817 | &(nid_objs[102]),/* OBJ_uniqueIdentifier 2 5 4 45 */ | |
f769ce3e | 818 | &(nid_objs[174]),/* OBJ_dnQualifier 2 5 4 46 */ |
49e747e6 UM |
819 | &(nid_objs[82]),/* OBJ_subject_key_identifier 2 5 29 14 */ |
820 | &(nid_objs[83]),/* OBJ_key_usage 2 5 29 15 */ | |
821 | &(nid_objs[84]),/* OBJ_private_key_usage_period 2 5 29 16 */ | |
822 | &(nid_objs[85]),/* OBJ_subject_alt_name 2 5 29 17 */ | |
823 | &(nid_objs[86]),/* OBJ_issuer_alt_name 2 5 29 18 */ | |
824 | &(nid_objs[87]),/* OBJ_basic_constraints 2 5 29 19 */ | |
825 | &(nid_objs[88]),/* OBJ_crl_number 2 5 29 20 */ | |
826 | &(nid_objs[141]),/* OBJ_crl_reason 2 5 29 21 */ | |
827 | &(nid_objs[142]),/* OBJ_invalidity_date 2 5 29 24 */ | |
828 | &(nid_objs[140]),/* OBJ_delta_crl 2 5 29 27 */ | |
829 | &(nid_objs[103]),/* OBJ_crl_distribution_points 2 5 29 31 */ | |
830 | &(nid_objs[89]),/* OBJ_certificate_policies 2 5 29 32 */ | |
831 | &(nid_objs[90]),/* OBJ_authority_key_identifier 2 5 29 35 */ | |
832 | &(nid_objs[126]),/* OBJ_ext_key_usage 2 5 29 37 */ | |
833 | &(nid_objs[19]),/* OBJ_rsa 2 5 8 1 1 */ | |
834 | &(nid_objs[96]),/* OBJ_mdc2WithRSA 2 5 8 3 100 */ | |
835 | &(nid_objs[95]),/* OBJ_mdc2 2 5 8 3 101 */ | |
836 | &(nid_objs[104]),/* OBJ_md5WithRSA 1 3 14 3 2 3 */ | |
837 | &(nid_objs[29]),/* OBJ_des_ecb 1 3 14 3 2 6 */ | |
838 | &(nid_objs[31]),/* OBJ_des_cbc 1 3 14 3 2 7 */ | |
839 | &(nid_objs[45]),/* OBJ_des_ofb64 1 3 14 3 2 8 */ | |
840 | &(nid_objs[30]),/* OBJ_des_cfb64 1 3 14 3 2 9 */ | |
841 | &(nid_objs[67]),/* OBJ_dsa_2 1 3 14 3 2 12 */ | |
842 | &(nid_objs[66]),/* OBJ_dsaWithSHA 1 3 14 3 2 13 */ | |
843 | &(nid_objs[42]),/* OBJ_shaWithRSAEncryption 1 3 14 3 2 15 */ | |
844 | &(nid_objs[32]),/* OBJ_des_ede 1 3 14 3 2 17 */ | |
845 | &(nid_objs[41]),/* OBJ_sha 1 3 14 3 2 18 */ | |
846 | &(nid_objs[64]),/* OBJ_sha1 1 3 14 3 2 26 */ | |
847 | &(nid_objs[70]),/* OBJ_dsaWithSHA1_2 1 3 14 3 2 27 */ | |
848 | &(nid_objs[115]),/* OBJ_sha1WithRSA 1 3 14 3 2 29 */ | |
849 | &(nid_objs[117]),/* OBJ_ripemd160 1 3 36 3 2 1 */ | |
850 | &(nid_objs[143]),/* OBJ_sxnet 1 3 101 1 4 1 */ | |
851 | &(nid_objs[124]),/* OBJ_rle_compression 1 1 1 1 666 1 */ | |
852 | &(nid_objs[125]),/* OBJ_zlib_compression 1 1 1 1 666 2 */ | |
853 | &(nid_objs[ 1]),/* OBJ_rsadsi 1 2 840 113549 */ | |
854 | &(nid_objs[127]),/* OBJ_id_pkix 1 3 6 1 5 5 7 */ | |
855 | &(nid_objs[119]),/* OBJ_ripemd160WithRSA 1 3 36 3 3 1 2 */ | |
856 | &(nid_objs[ 2]),/* OBJ_pkcs 1 2 840 113549 1 */ | |
857 | &(nid_objs[116]),/* OBJ_dsa 1 2 840 10040 4 1 */ | |
858 | &(nid_objs[113]),/* OBJ_dsaWithSHA1 1 2 840 10040 4 3 */ | |
6d3724d3 | 859 | &(nid_objs[175]),/* OBJ_id_pe 1 3 6 1 5 5 7 1 */ |
49e747e6 | 860 | &(nid_objs[128]),/* OBJ_id_kp 1 3 6 1 5 5 7 3 */ |
6d3724d3 | 861 | &(nid_objs[176]),/* OBJ_id_ad 1 3 6 1 5 5 7 48 */ |
49e747e6 UM |
862 | &(nid_objs[57]),/* OBJ_netscape 2 16 840 1 113730 */ |
863 | &(nid_objs[27]),/* OBJ_pkcs3 1 2 840 113549 1 3 */ | |
864 | &(nid_objs[20]),/* OBJ_pkcs7 1 2 840 113549 1 7 */ | |
865 | &(nid_objs[47]),/* OBJ_pkcs9 1 2 840 113549 1 9 */ | |
866 | &(nid_objs[ 3]),/* OBJ_md2 1 2 840 113549 2 2 */ | |
867 | &(nid_objs[ 4]),/* OBJ_md5 1 2 840 113549 2 5 */ | |
868 | &(nid_objs[163]),/* OBJ_hmacWithSHA1 1 2 840 113549 2 7 */ | |
869 | &(nid_objs[37]),/* OBJ_rc2_cbc 1 2 840 113549 3 2 */ | |
870 | &(nid_objs[ 5]),/* OBJ_rc4 1 2 840 113549 3 4 */ | |
871 | &(nid_objs[44]),/* OBJ_des_ede3_cbc 1 2 840 113549 3 7 */ | |
872 | &(nid_objs[120]),/* OBJ_rc5_cbc 1 2 840 113549 3 8 */ | |
6d3724d3 | 873 | &(nid_objs[177]),/* OBJ_info_access 1 3 6 1 5 5 7 1 1 */ |
49e747e6 UM |
874 | &(nid_objs[164]),/* OBJ_id_qt_cps 1 3 6 1 5 5 7 2 1 */ |
875 | &(nid_objs[165]),/* OBJ_id_qt_unotice 1 3 6 1 5 5 7 2 2 */ | |
876 | &(nid_objs[129]),/* OBJ_server_auth 1 3 6 1 5 5 7 3 1 */ | |
877 | &(nid_objs[130]),/* OBJ_client_auth 1 3 6 1 5 5 7 3 2 */ | |
878 | &(nid_objs[131]),/* OBJ_code_sign 1 3 6 1 5 5 7 3 3 */ | |
879 | &(nid_objs[132]),/* OBJ_email_protect 1 3 6 1 5 5 7 3 4 */ | |
880 | &(nid_objs[133]),/* OBJ_time_stamp 1 3 6 1 5 5 7 3 8 */ | |
d4cec6a1 | 881 | &(nid_objs[180]),/* OBJ_OCSP_sign 1 3 6 1 5 5 7 3 9 */ |
6d3724d3 DSH |
882 | &(nid_objs[178]),/* OBJ_ad_OCSP 1 3 6 1 5 5 7 48 1 */ |
883 | &(nid_objs[179]),/* OBJ_ad_ca_issuers 1 3 6 1 5 5 7 48 2 */ | |
49e747e6 UM |
884 | &(nid_objs[58]),/* OBJ_netscape_cert_extension 2 16 840 1 113730 1 */ |
885 | &(nid_objs[59]),/* OBJ_netscape_data_type 2 16 840 1 113730 2 */ | |
886 | &(nid_objs[108]),/* OBJ_cast5_cbc 1 2 840 113533 7 66 10 */ | |
887 | &(nid_objs[112]),/* OBJ_pbeWithMD5AndCast5_CBC 1 2 840 113533 7 66 12 */ | |
888 | &(nid_objs[ 6]),/* OBJ_rsaEncryption 1 2 840 113549 1 1 1 */ | |
889 | &(nid_objs[ 7]),/* OBJ_md2WithRSAEncryption 1 2 840 113549 1 1 2 */ | |
890 | &(nid_objs[ 8]),/* OBJ_md5WithRSAEncryption 1 2 840 113549 1 1 4 */ | |
891 | &(nid_objs[65]),/* OBJ_sha1WithRSAEncryption 1 2 840 113549 1 1 5 */ | |
892 | &(nid_objs[28]),/* OBJ_dhKeyAgreement 1 2 840 113549 1 3 1 */ | |
893 | &(nid_objs[ 9]),/* OBJ_pbeWithMD2AndDES_CBC 1 2 840 113549 1 5 1 */ | |
894 | &(nid_objs[10]),/* OBJ_pbeWithMD5AndDES_CBC 1 2 840 113549 1 5 3 */ | |
895 | &(nid_objs[168]),/* OBJ_pbeWithMD2AndRC2_CBC 1 2 840 113549 1 5 4 */ | |
896 | &(nid_objs[169]),/* OBJ_pbeWithMD5AndRC2_CBC 1 2 840 113549 1 5 6 */ | |
897 | &(nid_objs[170]),/* OBJ_pbeWithSHA1AndDES_CBC 1 2 840 113549 1 5 10 */ | |
898 | &(nid_objs[68]),/* OBJ_pbeWithSHA1AndRC2_CBC 1 2 840 113549 1 5 11 */ | |
899 | &(nid_objs[69]),/* OBJ_id_pbkdf2 1 2 840 113549 1 5 12 */ | |
900 | &(nid_objs[161]),/* OBJ_pbes2 1 2 840 113549 1 5 13 */ | |
901 | &(nid_objs[162]),/* OBJ_pbmac1 1 2 840 113549 1 5 14 */ | |
902 | &(nid_objs[21]),/* OBJ_pkcs7_data 1 2 840 113549 1 7 1 */ | |
903 | &(nid_objs[22]),/* OBJ_pkcs7_signed 1 2 840 113549 1 7 2 */ | |
904 | &(nid_objs[23]),/* OBJ_pkcs7_enveloped 1 2 840 113549 1 7 3 */ | |
905 | &(nid_objs[24]),/* OBJ_pkcs7_signedAndEnveloped 1 2 840 113549 1 7 4 */ | |
906 | &(nid_objs[25]),/* OBJ_pkcs7_digest 1 2 840 113549 1 7 5 */ | |
907 | &(nid_objs[26]),/* OBJ_pkcs7_encrypted 1 2 840 113549 1 7 6 */ | |
908 | &(nid_objs[48]),/* OBJ_pkcs9_emailAddress 1 2 840 113549 1 9 1 */ | |
909 | &(nid_objs[49]),/* OBJ_pkcs9_unstructuredName 1 2 840 113549 1 9 2 */ | |
910 | &(nid_objs[50]),/* OBJ_pkcs9_contentType 1 2 840 113549 1 9 3 */ | |
911 | &(nid_objs[51]),/* OBJ_pkcs9_messageDigest 1 2 840 113549 1 9 4 */ | |
912 | &(nid_objs[52]),/* OBJ_pkcs9_signingTime 1 2 840 113549 1 9 5 */ | |
913 | &(nid_objs[53]),/* OBJ_pkcs9_countersignature 1 2 840 113549 1 9 6 */ | |
914 | &(nid_objs[54]),/* OBJ_pkcs9_challengePassword 1 2 840 113549 1 9 7 */ | |
915 | &(nid_objs[55]),/* OBJ_pkcs9_unstructuredAddress 1 2 840 113549 1 9 8 */ | |
916 | &(nid_objs[56]),/* OBJ_pkcs9_extCertAttributes 1 2 840 113549 1 9 9 */ | |
917 | &(nid_objs[172]),/* OBJ_ext_req 1 2 840 113549 1 9 14 */ | |
b216664f | 918 | &(nid_objs[167]),/* OBJ_SMIMECapabilities 1 2 840 113549 1 9 15 */ |
49e747e6 UM |
919 | &(nid_objs[156]),/* OBJ_friendlyName 1 2 840 113549 1 9 20 */ |
920 | &(nid_objs[157]),/* OBJ_localKeyID 1 2 840 113549 1 9 21 */ | |
f45f40ff | 921 | &(nid_objs[91]),/* OBJ_bf_cbc 1 3 6 1 4 1 3029 1 2 */ |
49e747e6 UM |
922 | &(nid_objs[71]),/* OBJ_netscape_cert_type 2 16 840 1 113730 1 1 */ |
923 | &(nid_objs[72]),/* OBJ_netscape_base_url 2 16 840 1 113730 1 2 */ | |
924 | &(nid_objs[73]),/* OBJ_netscape_revocation_url 2 16 840 1 113730 1 3 */ | |
925 | &(nid_objs[74]),/* OBJ_netscape_ca_revocation_url 2 16 840 1 113730 1 4 */ | |
926 | &(nid_objs[75]),/* OBJ_netscape_renewal_url 2 16 840 1 113730 1 7 */ | |
927 | &(nid_objs[76]),/* OBJ_netscape_ca_policy_url 2 16 840 1 113730 1 8 */ | |
928 | &(nid_objs[77]),/* OBJ_netscape_ssl_server_name 2 16 840 1 113730 1 12 */ | |
929 | &(nid_objs[78]),/* OBJ_netscape_comment 2 16 840 1 113730 1 13 */ | |
930 | &(nid_objs[79]),/* OBJ_netscape_cert_sequence 2 16 840 1 113730 2 5 */ | |
931 | &(nid_objs[139]),/* OBJ_ns_sgc 2 16 840 1 113730 4 1 */ | |
932 | &(nid_objs[158]),/* OBJ_x509Certificate 1 2 840 113549 1 9 22 1 */ | |
933 | &(nid_objs[159]),/* OBJ_sdsiCertificate 1 2 840 113549 1 9 22 2 */ | |
934 | &(nid_objs[160]),/* OBJ_x509Crl 1 2 840 113549 1 9 23 1 */ | |
935 | &(nid_objs[144]),/* OBJ_pbe_WithSHA1And128BitRC4 1 2 840 113549 1 12 1 1 */ | |
936 | &(nid_objs[145]),/* OBJ_pbe_WithSHA1And40BitRC4 1 2 840 113549 1 12 1 2 */ | |
937 | &(nid_objs[146]),/* OBJ_pbe_WithSHA1And3_Key_TripleDES_CBC 1 2 840 113549 1 12 1 3 */ | |
938 | &(nid_objs[147]),/* OBJ_pbe_WithSHA1And2_Key_TripleDES_CBC 1 2 840 113549 1 12 1 4 */ | |
939 | &(nid_objs[148]),/* OBJ_pbe_WithSHA1And128BitRC2_CBC 1 2 840 113549 1 12 1 5 */ | |
940 | &(nid_objs[149]),/* OBJ_pbe_WithSHA1And40BitRC2_CBC 1 2 840 113549 1 12 1 6 */ | |
941 | &(nid_objs[171]),/* OBJ_ms_ext_req 1 3 6 1 4 1 311 2 1 14 */ | |
942 | &(nid_objs[134]),/* OBJ_ms_code_ind 1 3 6 1 4 1 311 2 1 21 */ | |
943 | &(nid_objs[135]),/* OBJ_ms_code_com 1 3 6 1 4 1 311 2 1 22 */ | |
944 | &(nid_objs[136]),/* OBJ_ms_ctl_sign 1 3 6 1 4 1 311 10 3 1 */ | |
945 | &(nid_objs[137]),/* OBJ_ms_sgc 1 3 6 1 4 1 311 10 3 3 */ | |
946 | &(nid_objs[138]),/* OBJ_ms_efs 1 3 6 1 4 1 311 10 3 4 */ | |
947 | &(nid_objs[150]),/* OBJ_keyBag 1 2 840 113549 1 12 10 1 1 */ | |
948 | &(nid_objs[151]),/* OBJ_pkcs8ShroudedKeyBag 1 2 840 113549 1 12 10 1 2 */ | |
949 | &(nid_objs[152]),/* OBJ_certBag 1 2 840 113549 1 12 10 1 3 */ | |
950 | &(nid_objs[153]),/* OBJ_crlBag 1 2 840 113549 1 12 10 1 4 */ | |
951 | &(nid_objs[154]),/* OBJ_secretBag 1 2 840 113549 1 12 10 1 5 */ | |
952 | &(nid_objs[155]),/* OBJ_safeContentsBag 1 2 840 113549 1 12 10 1 6 */ | |
f45f40ff | 953 | &(nid_objs[34]),/* OBJ_idea_cbc 1 3 6 1 4 1 188 7 1 1 2 */ |
49e747e6 UM |
954 | }; |
955 |