blob: 03ba60c255748adf12004b770643084685946f00 [file] [log] [blame]
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +00001/* 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
Dr. Stephen Hensonc83e5231999-04-17 23:55:39 +000064#define NUM_NID 166
65#define NUM_SN 117
66#define NUM_LN 162
67#define NUM_OBJ 138
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +000068
Dr. Stephen Hensonc83e5231999-04-17 23:55:39 +000069static unsigned char lvalues[956]={
Ralf S. Engelschalldfeab061998-12-21 11:00:56 +0000700x00, /* [ 0] OBJ_undef */
710x2A,0x86,0x48,0x86,0xF7,0x0D, /* [ 1] OBJ_rsadsi */
720x2A,0x86,0x48,0x86,0xF7,0x0D,0x01, /* [ 7] OBJ_pkcs */
730x2A,0x86,0x48,0x86,0xF7,0x0D,0x02,0x02, /* [ 14] OBJ_md2 */
740x2A,0x86,0x48,0x86,0xF7,0x0D,0x02,0x05, /* [ 22] OBJ_md5 */
750x2A,0x86,0x48,0x86,0xF7,0x0D,0x03,0x04, /* [ 30] OBJ_rc4 */
760x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x01,0x01,/* [ 38] OBJ_rsaEncryption */
770x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x01,0x02,/* [ 47] OBJ_md2WithRSAEncryption */
780x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x01,0x04,/* [ 56] OBJ_md5WithRSAEncryption */
790x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x05,0x01,/* [ 65] OBJ_pbeWithMD2AndDES_CBC */
800x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x05,0x03,/* [ 74] OBJ_pbeWithMD5AndDES_CBC */
810x55, /* [ 83] OBJ_X500 */
820x55,0x04, /* [ 84] OBJ_X509 */
830x55,0x04,0x03, /* [ 86] OBJ_commonName */
840x55,0x04,0x06, /* [ 89] OBJ_countryName */
850x55,0x04,0x07, /* [ 92] OBJ_localityName */
860x55,0x04,0x08, /* [ 95] OBJ_stateOrProvinceName */
870x55,0x04,0x0A, /* [ 98] OBJ_organizationName */
880x55,0x04,0x0B, /* [101] OBJ_organizationalUnitName */
890x55,0x08,0x01,0x01, /* [104] OBJ_rsa */
900x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x07, /* [108] OBJ_pkcs7 */
910x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x07,0x01,/* [116] OBJ_pkcs7_data */
920x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x07,0x02,/* [125] OBJ_pkcs7_signed */
930x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x07,0x03,/* [134] OBJ_pkcs7_enveloped */
940x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x07,0x04,/* [143] OBJ_pkcs7_signedAndEnveloped */
950x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x07,0x05,/* [152] OBJ_pkcs7_digest */
960x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x07,0x06,/* [161] OBJ_pkcs7_encrypted */
970x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x03, /* [170] OBJ_pkcs3 */
980x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x03,0x01,/* [178] OBJ_dhKeyAgreement */
990x2B,0x0E,0x03,0x02,0x06, /* [187] OBJ_des_ecb */
1000x2B,0x0E,0x03,0x02,0x09, /* [192] OBJ_des_cfb64 */
1010x2B,0x0E,0x03,0x02,0x07, /* [197] OBJ_des_cbc */
1020x2B,0x0E,0x03,0x02,0x11, /* [202] OBJ_des_ede */
1030x2A,0x86,0x48,0x86,0xF7,0x0D,0x03,0x02, /* [207] OBJ_rc2_cbc */
1040x2B,0x0E,0x03,0x02,0x12, /* [215] OBJ_sha */
1050x2B,0x0E,0x03,0x02,0x0F, /* [220] OBJ_shaWithRSAEncryption */
1060x2A,0x86,0x48,0x86,0xF7,0x0D,0x03,0x07, /* [225] OBJ_des_ede3_cbc */
1070x2B,0x0E,0x03,0x02,0x08, /* [233] OBJ_des_ofb64 */
1080x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x09, /* [238] OBJ_pkcs9 */
1090x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x09,0x01,/* [246] OBJ_pkcs9_emailAddress */
1100x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x09,0x02,/* [255] OBJ_pkcs9_unstructuredName */
1110x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x09,0x03,/* [264] OBJ_pkcs9_contentType */
1120x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x09,0x04,/* [273] OBJ_pkcs9_messageDigest */
1130x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x09,0x05,/* [282] OBJ_pkcs9_signingTime */
1140x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x09,0x06,/* [291] OBJ_pkcs9_countersignature */
1150x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x09,0x07,/* [300] OBJ_pkcs9_challengePassword */
1160x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x09,0x08,/* [309] OBJ_pkcs9_unstructuredAddress */
1170x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x09,0x09,/* [318] OBJ_pkcs9_extCertAttributes */
1180x60,0x86,0x48,0x01,0x86,0xF8,0x42, /* [327] OBJ_netscape */
1190x60,0x86,0x48,0x01,0x86,0xF8,0x42,0x01, /* [334] OBJ_netscape_cert_extension */
1200x60,0x86,0x48,0x01,0x86,0xF8,0x42,0x02, /* [342] OBJ_netscape_data_type */
1210x2B,0x0E,0x03,0x02,0x1A, /* [350] OBJ_sha1 */
1220x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x01,0x05,/* [355] OBJ_sha1WithRSAEncryption */
1230x2B,0x0E,0x03,0x02,0x0D, /* [364] OBJ_dsaWithSHA */
1240x2B,0x0E,0x03,0x02,0x0C, /* [369] OBJ_dsa_2 */
1250x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x05,0x0B,/* [374] OBJ_pbeWithSHA1AndRC2_CBC */
1260x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x05,0x0C,/* [383] OBJ_pbeWithSHA1AndRC4 */
1270x2B,0x0E,0x03,0x02,0x1B, /* [392] OBJ_dsaWithSHA1_2 */
1280x60,0x86,0x48,0x01,0x86,0xF8,0x42,0x01,0x01,/* [397] OBJ_netscape_cert_type */
1290x60,0x86,0x48,0x01,0x86,0xF8,0x42,0x01,0x02,/* [406] OBJ_netscape_base_url */
1300x60,0x86,0x48,0x01,0x86,0xF8,0x42,0x01,0x03,/* [415] OBJ_netscape_revocation_url */
1310x60,0x86,0x48,0x01,0x86,0xF8,0x42,0x01,0x04,/* [424] OBJ_netscape_ca_revocation_url */
1320x60,0x86,0x48,0x01,0x86,0xF8,0x42,0x01,0x07,/* [433] OBJ_netscape_renewal_url */
1330x60,0x86,0x48,0x01,0x86,0xF8,0x42,0x01,0x08,/* [442] OBJ_netscape_ca_policy_url */
1340x60,0x86,0x48,0x01,0x86,0xF8,0x42,0x01,0x0C,/* [451] OBJ_netscape_ssl_server_name */
1350x60,0x86,0x48,0x01,0x86,0xF8,0x42,0x01,0x0D,/* [460] OBJ_netscape_comment */
1360x60,0x86,0x48,0x01,0x86,0xF8,0x42,0x02,0x05,/* [469] OBJ_netscape_cert_sequence */
1370x55,0x1D, /* [478] OBJ_ld_ce */
1380x55,0x1D,0x0E, /* [480] OBJ_subject_key_identifier */
1390x55,0x1D,0x0F, /* [483] OBJ_key_usage */
1400x55,0x1D,0x10, /* [486] OBJ_private_key_usage_period */
1410x55,0x1D,0x11, /* [489] OBJ_subject_alt_name */
1420x55,0x1D,0x12, /* [492] OBJ_issuer_alt_name */
1430x55,0x1D,0x13, /* [495] OBJ_basic_constraints */
1440x55,0x1D,0x14, /* [498] OBJ_crl_number */
1450x55,0x1D,0x20, /* [501] OBJ_certificate_policies */
1460x55,0x1D,0x23, /* [504] OBJ_authority_key_identifier */
1470x55,0x08,0x03,0x65, /* [507] OBJ_mdc2 */
1480x55,0x08,0x03,0x64, /* [511] OBJ_mdc2WithRSA */
1490x55,0x04,0x2A, /* [515] OBJ_givenName */
1500x55,0x04,0x04, /* [518] OBJ_surname */
1510x55,0x04,0x2B, /* [521] OBJ_initials */
1520x55,0x04,0x2D, /* [524] OBJ_uniqueIdentifier */
1530x55,0x1D,0x1F, /* [527] OBJ_crl_distribution_points */
1540x2B,0x0E,0x03,0x02,0x03, /* [530] OBJ_md5WithRSA */
1550x55,0x04,0x05, /* [535] OBJ_serialNumber */
1560x55,0x04,0x0C, /* [538] OBJ_title */
1570x55,0x04,0x0D, /* [541] OBJ_description */
1580x2A,0x86,0x48,0x86,0xF6,0x7D,0x07,0x42,0x0A,/* [544] OBJ_cast5_cbc */
1590x2A,0x86,0x48,0x86,0xF6,0x7D,0x07,0x42,0x0C,/* [553] OBJ_pbeWithMD5AndCast5_CBC */
1600x2A,0x86,0x48,0xCE,0x38,0x04,0x03, /* [562] OBJ_dsaWithSHA1 */
1610x2B,0x0E,0x03,0x02,0x1D, /* [569] OBJ_sha1WithRSA */
1620x2A,0x86,0x48,0xCE,0x38,0x04,0x01, /* [574] OBJ_dsa */
1630x2B,0x24,0x03,0x02,0x01, /* [581] OBJ_ripemd160 */
1640x2B,0x24,0x03,0x03,0x01,0x02, /* [586] OBJ_ripemd160WithRSA */
1650x2A,0x86,0x48,0x86,0xF7,0x0D,0x03,0x08, /* [592] OBJ_rc5_cbc */
1660x29,0x01,0x01,0x85,0x1A, /* [600] OBJ_rle_compression */
1670x29,0x01,0x01,0x85,0x1A, /* [605] OBJ_zlib_compression */
Ralf S. Engelschall06d5b161999-01-02 12:59:33 +00001680x55,0x1D,0x25, /* [610] OBJ_ext_key_usage */
Dr. Stephen Hensona27598b1999-01-26 23:13:14 +00001690x2B,0x06,0x01,0x05,0x05,0x07, /* [613] OBJ_id_pkix */
1700x2B,0x06,0x01,0x05,0x05,0x07,0x03, /* [619] OBJ_id_kp */
1710x2B,0x06,0x01,0x05,0x05,0x07,0x03,0x01, /* [626] OBJ_server_auth */
1720x2B,0x06,0x01,0x05,0x05,0x07,0x03,0x02, /* [634] OBJ_client_auth */
1730x2B,0x06,0x01,0x05,0x05,0x07,0x03,0x03, /* [642] OBJ_code_sign */
1740x2B,0x06,0x01,0x05,0x05,0x07,0x03,0x04, /* [650] OBJ_email_protect */
1750x2B,0x06,0x01,0x05,0x05,0x07,0x03,0x08, /* [658] OBJ_time_stamp */
1760x2B,0x06,0x01,0x04,0x01,0x82,0x37,0x02,0x01,0x15,/* [666] OBJ_ms_code_ind */
1770x2B,0x06,0x01,0x04,0x01,0x82,0x37,0x02,0x01,0x16,/* [676] OBJ_ms_code_com */
1780x2B,0x06,0x01,0x04,0x01,0x82,0x37,0x0A,0x03,0x01,/* [686] OBJ_ms_ctl_sign */
1790x2B,0x06,0x01,0x04,0x01,0x82,0x37,0x0A,0x03,0x03,/* [696] OBJ_ms_sgc */
1800x2B,0x06,0x01,0x04,0x01,0x82,0x37,0x0A,0x03,0x04,/* [706] OBJ_ms_efs */
1810x60,0x86,0x48,0x01,0x86,0xF8,0x42,0x04,0x01,/* [716] OBJ_ns_sgc */
Dr. Stephen Henson0ca5f8b1999-02-19 01:29:29 +00001820x55,0x1D,0x1B, /* [725] OBJ_delta_crl */
1830x55,0x1D,0x15, /* [728] OBJ_crl_reason */
1840x55,0x1D,0x18, /* [731] OBJ_invalidity_date */
Dr. Stephen Henson785cdf21999-03-27 14:06:25 +00001850x2B,0x65,0x01,0x04,0x01, /* [734] OBJ_sxnet */
Dr. Stephen Henson4b518c21999-03-28 01:00:56 +00001860x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x0C,0x01,0x01,/* [739] OBJ_pbe_WithSHA1And128BitRC4 */
1870x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x0C,0x01,0x02,/* [749] OBJ_pbe_WithSHA1And40BitRC4 */
1880x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x0C,0x01,0x03,/* [759] OBJ_pbe_WithSHA1And3_Key_TripleDES_CBC */
1890x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x0C,0x01,0x04,/* [769] OBJ_pbe_WithSHA1And2_Key_TripleDES_CBC */
1900x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x0C,0x01,0x05,/* [779] OBJ_pbe_WithSHA1And128BitRC2_CBC */
1910x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x0C,0x01,0x06,/* [789] OBJ_pbe_WithSHA1And40BitRC2_CBC */
1920x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x0C,0x0A,0x01,0x01,/* [799] OBJ_keyBag */
1930x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x0C,0x0A,0x01,0x02,/* [810] OBJ_pkcs8ShroudedKeyBag */
1940x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x0C,0x0A,0x01,0x03,/* [821] OBJ_certBag */
1950x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x0C,0x0A,0x01,0x04,/* [832] OBJ_crlBag */
1960x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x0C,0x0A,0x01,0x05,/* [843] OBJ_secretBag */
1970x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x0C,0x0A,0x01,0x06,/* [854] OBJ_safeContentsBag */
1980x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x09,0x14,/* [865] OBJ_friendlyName */
1990x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x09,0x15,/* [874] OBJ_localKeyID */
2000x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x09,0x16,0x01,/* [883] OBJ_x509Certificate */
2010x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x09,0x16,0x02,/* [893] OBJ_sdsiCertificate */
2020x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x09,0x17,0x01,/* [903] OBJ_x509Crl */
Dr. Stephen Hensond2e26dc1999-04-08 23:55:42 +00002030x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x05,0x0D,/* [913] OBJ_pbes2 */
2040x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x05,0x0E,/* [922] OBJ_pbmac1 */
2050x2A,0x86,0x48,0x86,0xF7,0x0D,0x02,0x07, /* [931] OBJ_hmacWithSHA1 */
Dr. Stephen Hensonc83e5231999-04-17 23:55:39 +00002060x2B,0x06,0x01,0x05,0x05,0x07,0x02,0x01, /* [939] OBJ_id_qt_cps */
2070x2B,0x06,0x01,0x05,0x05,0x07,0x02,0x02, /* [947] OBJ_id_qt_unotice */
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000208};
209
210static ASN1_OBJECT nid_objs[NUM_NID]={
Ralf S. Engelschalldfeab061998-12-21 11:00:56 +0000211{"UNDEF","undefined",NID_undef,1,&(lvalues[0]),0},
212{"rsadsi","rsadsi",NID_rsadsi,6,&(lvalues[1]),0},
213{"pkcs","pkcs",NID_pkcs,7,&(lvalues[7]),0},
214{"MD2","md2",NID_md2,8,&(lvalues[14]),0},
215{"MD5","md5",NID_md5,8,&(lvalues[22]),0},
216{"RC4","rc4",NID_rc4,8,&(lvalues[30]),0},
217{"rsaEncryption","rsaEncryption",NID_rsaEncryption,9,&(lvalues[38]),0},
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000218{"RSA-MD2","md2WithRSAEncryption",NID_md2WithRSAEncryption,9,
Ralf S. Engelschalldfeab061998-12-21 11:00:56 +0000219 &(lvalues[47]),0},
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000220{"RSA-MD5","md5WithRSAEncryption",NID_md5WithRSAEncryption,9,
Ralf S. Engelschalldfeab061998-12-21 11:00:56 +0000221 &(lvalues[56]),0},
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000222{"pbeWithMD2AndDES-CBC","pbeWithMD2AndDES-CBC",
Ralf S. Engelschalldfeab061998-12-21 11:00:56 +0000223 NID_pbeWithMD2AndDES_CBC,9,&(lvalues[65]),0},
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000224{"pbeWithMD5AndDES-CBC","pbeWithMD5AndDES-CBC",
Ralf S. Engelschalldfeab061998-12-21 11:00:56 +0000225 NID_pbeWithMD5AndDES_CBC,9,&(lvalues[74]),0},
226{"X500","X500",NID_X500,1,&(lvalues[83]),0},
227{"X509","X509",NID_X509,2,&(lvalues[84]),0},
228{"CN","commonName",NID_commonName,3,&(lvalues[86]),0},
229{"C","countryName",NID_countryName,3,&(lvalues[89]),0},
230{"L","localityName",NID_localityName,3,&(lvalues[92]),0},
231{"ST","stateOrProvinceName",NID_stateOrProvinceName,3,&(lvalues[95]),0},
232{"O","organizationName",NID_organizationName,3,&(lvalues[98]),0},
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000233{"OU","organizationalUnitName",NID_organizationalUnitName,3,
Ralf S. Engelschalldfeab061998-12-21 11:00:56 +0000234 &(lvalues[101]),0},
235{"RSA","rsa",NID_rsa,4,&(lvalues[104]),0},
236{"pkcs7","pkcs7",NID_pkcs7,8,&(lvalues[108]),0},
237{"pkcs7-data","pkcs7-data",NID_pkcs7_data,9,&(lvalues[116]),0},
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000238{"pkcs7-signedData","pkcs7-signedData",NID_pkcs7_signed,9,
Ralf S. Engelschalldfeab061998-12-21 11:00:56 +0000239 &(lvalues[125]),0},
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000240{"pkcs7-envelopedData","pkcs7-envelopedData",NID_pkcs7_enveloped,9,
Ralf S. Engelschalldfeab061998-12-21 11:00:56 +0000241 &(lvalues[134]),0},
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000242{"pkcs7-signedAndEnvelopedData","pkcs7-signedAndEnvelopedData",
Ralf S. Engelschalldfeab061998-12-21 11:00:56 +0000243 NID_pkcs7_signedAndEnveloped,9,&(lvalues[143]),0},
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000244{"pkcs7-digestData","pkcs7-digestData",NID_pkcs7_digest,9,
Ralf S. Engelschalldfeab061998-12-21 11:00:56 +0000245 &(lvalues[152]),0},
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000246{"pkcs7-encryptedData","pkcs7-encryptedData",NID_pkcs7_encrypted,9,
Ralf S. Engelschalldfeab061998-12-21 11:00:56 +0000247 &(lvalues[161]),0},
248{"pkcs3","pkcs3",NID_pkcs3,8,&(lvalues[170]),0},
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000249{"dhKeyAgreement","dhKeyAgreement",NID_dhKeyAgreement,9,
Ralf S. Engelschalldfeab061998-12-21 11:00:56 +0000250 &(lvalues[178]),0},
251{"DES-ECB","des-ecb",NID_des_ecb,5,&(lvalues[187]),0},
252{"DES-CFB","des-cfb",NID_des_cfb64,5,&(lvalues[192]),0},
253{"DES-CBC","des-cbc",NID_des_cbc,5,&(lvalues[197]),0},
254{"DES-EDE","des-ede",NID_des_ede,5,&(lvalues[202]),0},
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000255{"DES-EDE3","des-ede3",NID_des_ede3,0,NULL},
256{"IDEA-CBC","idea-cbc",NID_idea_cbc,0,NULL},
257{"IDEA-CFB","idea-cfb",NID_idea_cfb64,0,NULL},
258{"IDEA-ECB","idea-ecb",NID_idea_ecb,0,NULL},
Ralf S. Engelschalldfeab061998-12-21 11:00:56 +0000259{"RC2-CBC","rc2-cbc",NID_rc2_cbc,8,&(lvalues[207]),0},
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000260{"RC2-ECB","rc2-ecb",NID_rc2_ecb,0,NULL},
261{"RC2-CFB","rc2-cfb",NID_rc2_cfb64,0,NULL},
262{"RC2-OFB","rc2-ofb",NID_rc2_ofb64,0,NULL},
Ralf S. Engelschalldfeab061998-12-21 11:00:56 +0000263{"SHA","sha",NID_sha,5,&(lvalues[215]),0},
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000264{"RSA-SHA","shaWithRSAEncryption",NID_shaWithRSAEncryption,5,
Ralf S. Engelschalldfeab061998-12-21 11:00:56 +0000265 &(lvalues[220]),0},
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000266{"DES-EDE-CBC","des-ede-cbc",NID_des_ede_cbc,0,NULL},
Ralf S. Engelschalldfeab061998-12-21 11:00:56 +0000267{"DES-EDE3-CBC","des-ede3-cbc",NID_des_ede3_cbc,8,&(lvalues[225]),0},
268{"DES-OFB","des-ofb",NID_des_ofb64,5,&(lvalues[233]),0},
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000269{"IDEA-OFB","idea-ofb",NID_idea_ofb64,0,NULL},
Ralf S. Engelschalldfeab061998-12-21 11:00:56 +0000270{"pkcs9","pkcs9",NID_pkcs9,8,&(lvalues[238]),0},
271{"Email","emailAddress",NID_pkcs9_emailAddress,9,&(lvalues[246]),0},
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000272{"unstructuredName","unstructuredName",NID_pkcs9_unstructuredName,9,
Ralf S. Engelschalldfeab061998-12-21 11:00:56 +0000273 &(lvalues[255]),0},
274{"contentType","contentType",NID_pkcs9_contentType,9,&(lvalues[264]),0},
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000275{"messageDigest","messageDigest",NID_pkcs9_messageDigest,9,
Ralf S. Engelschalldfeab061998-12-21 11:00:56 +0000276 &(lvalues[273]),0},
277{"signingTime","signingTime",NID_pkcs9_signingTime,9,&(lvalues[282]),0},
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000278{"countersignature","countersignature",NID_pkcs9_countersignature,9,
Ralf S. Engelschalldfeab061998-12-21 11:00:56 +0000279 &(lvalues[291]),0},
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000280{"challengePassword","challengePassword",NID_pkcs9_challengePassword,
Ralf S. Engelschalldfeab061998-12-21 11:00:56 +0000281 9,&(lvalues[300]),0},
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000282{"unstructuredAddress","unstructuredAddress",
Ralf S. Engelschalldfeab061998-12-21 11:00:56 +0000283 NID_pkcs9_unstructuredAddress,9,&(lvalues[309]),0},
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000284{"extendedCertificateAttributes","extendedCertificateAttributes",
Ralf S. Engelschalldfeab061998-12-21 11:00:56 +0000285 NID_pkcs9_extCertAttributes,9,&(lvalues[318]),0},
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000286{"Netscape","Netscape Communications Corp.",NID_netscape,7,
Ralf S. Engelschalldfeab061998-12-21 11:00:56 +0000287 &(lvalues[327]),0},
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000288{"nsCertExt","Netscape Certificate Extension",
Ralf S. Engelschalldfeab061998-12-21 11:00:56 +0000289 NID_netscape_cert_extension,8,&(lvalues[334]),0},
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000290{"nsDataType","Netscape Data Type",NID_netscape_data_type,8,
Ralf S. Engelschalldfeab061998-12-21 11:00:56 +0000291 &(lvalues[342]),0},
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000292{"DES-EDE-CFB","des-ede-cfb",NID_des_ede_cfb64,0,NULL},
293{"DES-EDE3-CFB","des-ede3-cfb",NID_des_ede3_cfb64,0,NULL},
294{"DES-EDE-OFB","des-ede-ofb",NID_des_ede_ofb64,0,NULL},
295{"DES-EDE3-OFB","des-ede3-ofb",NID_des_ede3_ofb64,0,NULL},
Ralf S. Engelschalldfeab061998-12-21 11:00:56 +0000296{"SHA1","sha1",NID_sha1,5,&(lvalues[350]),0},
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000297{"RSA-SHA1","sha1WithRSAEncryption",NID_sha1WithRSAEncryption,9,
Ralf S. Engelschalldfeab061998-12-21 11:00:56 +0000298 &(lvalues[355]),0},
299{"DSA-SHA","dsaWithSHA",NID_dsaWithSHA,5,&(lvalues[364]),0},
300{"DSA-old","dsaEncryption-old",NID_dsa_2,5,&(lvalues[369]),0},
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000301{"pbeWithSHA1AndRC2-CBC","pbeWithSHA1AndRC2-CBC",
Ralf S. Engelschalldfeab061998-12-21 11:00:56 +0000302 NID_pbeWithSHA1AndRC2_CBC,9,&(lvalues[374]),0},
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000303{"pbeWithSHA1AndRC4","pbeWithSHA1AndRC4",NID_pbeWithSHA1AndRC4,9,
Ralf S. Engelschalldfeab061998-12-21 11:00:56 +0000304 &(lvalues[383]),0},
305{"DSA-SHA1-old","dsaWithSHA1-old",NID_dsaWithSHA1_2,5,&(lvalues[392]),0},
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000306{"nsCertType","Netscape Cert Type",NID_netscape_cert_type,9,
Ralf S. Engelschalldfeab061998-12-21 11:00:56 +0000307 &(lvalues[397]),0},
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000308{"nsBaseUrl","Netscape Base Url",NID_netscape_base_url,9,
Ralf S. Engelschalldfeab061998-12-21 11:00:56 +0000309 &(lvalues[406]),0},
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000310{"nsRevocationUrl","Netscape Revocation Url",
Ralf S. Engelschalldfeab061998-12-21 11:00:56 +0000311 NID_netscape_revocation_url,9,&(lvalues[415]),0},
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000312{"nsCaRevocationUrl","Netscape CA Revocation Url",
Ralf S. Engelschalldfeab061998-12-21 11:00:56 +0000313 NID_netscape_ca_revocation_url,9,&(lvalues[424]),0},
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000314{"nsRenewalUrl","Netscape Renewal Url",NID_netscape_renewal_url,9,
Ralf S. Engelschalldfeab061998-12-21 11:00:56 +0000315 &(lvalues[433]),0},
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000316{"nsCaPolicyUrl","Netscape CA Policy Url",NID_netscape_ca_policy_url,
Ralf S. Engelschalldfeab061998-12-21 11:00:56 +0000317 9,&(lvalues[442]),0},
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000318{"nsSslServerName","Netscape SSL Server Name",
Ralf S. Engelschalldfeab061998-12-21 11:00:56 +0000319 NID_netscape_ssl_server_name,9,&(lvalues[451]),0},
320{"nsComment","Netscape Comment",NID_netscape_comment,9,&(lvalues[460]),0},
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000321{"nsCertSequence","Netscape Certificate Sequence",
Ralf S. Engelschalldfeab061998-12-21 11:00:56 +0000322 NID_netscape_cert_sequence,9,&(lvalues[469]),0},
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000323{"DESX-CBC","desx-cbc",NID_desx_cbc,0,NULL},
Ralf S. Engelschalldfeab061998-12-21 11:00:56 +0000324{"ld-ce","ld-ce",NID_ld_ce,2,&(lvalues[478]),0},
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000325{"subjectKeyIdentifier","X509v3 Subject Key Identifier",
Ralf S. Engelschalldfeab061998-12-21 11:00:56 +0000326 NID_subject_key_identifier,3,&(lvalues[480]),0},
327{"keyUsage","X509v3 Key Usage",NID_key_usage,3,&(lvalues[483]),0},
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000328{"privateKeyUsagePeriod","X509v3 Private Key Usage Period",
Ralf S. Engelschalldfeab061998-12-21 11:00:56 +0000329 NID_private_key_usage_period,3,&(lvalues[486]),0},
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000330{"subjectAltName","X509v3 Subject Alternative Name",
Ralf S. Engelschalldfeab061998-12-21 11:00:56 +0000331 NID_subject_alt_name,3,&(lvalues[489]),0},
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000332{"issuerAltName","X509v3 Issuer Alternative Name",NID_issuer_alt_name,
Ralf S. Engelschalldfeab061998-12-21 11:00:56 +0000333 3,&(lvalues[492]),0},
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000334{"basicConstraints","X509v3 Basic Constraints",NID_basic_constraints,
Ralf S. Engelschalldfeab061998-12-21 11:00:56 +0000335 3,&(lvalues[495]),0},
336{"crlNumber","X509v3 CRL Number",NID_crl_number,3,&(lvalues[498]),0},
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000337{"certificatePolicies","X509v3 Certificate Policies",
Ralf S. Engelschalldfeab061998-12-21 11:00:56 +0000338 NID_certificate_policies,3,&(lvalues[501]),0},
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000339{"authorityKeyIdentifier","X509v3 Authority Key Identifier",
Ralf S. Engelschalldfeab061998-12-21 11:00:56 +0000340 NID_authority_key_identifier,3,&(lvalues[504]),0},
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000341{"BF-CBC","bf-cbc",NID_bf_cbc,0,NULL},
342{"BF-ECB","bf-ecb",NID_bf_ecb,0,NULL},
343{"BF-CFB","bf-cfb",NID_bf_cfb64,0,NULL},
344{"BF-OFB","bf-ofb",NID_bf_ofb64,0,NULL},
Ralf S. Engelschalldfeab061998-12-21 11:00:56 +0000345{"MDC2","mdc2",NID_mdc2,4,&(lvalues[507]),0},
346{"RSA-MDC2","mdc2withRSA",NID_mdc2WithRSA,4,&(lvalues[511]),0},
Ralf S. Engelschall58964a41998-12-21 10:56:39 +0000347{"RC4-40","rc4-40",NID_rc4_40,0,NULL},
348{"RC2-40-CBC","rc2-40-cbc",NID_rc2_40_cbc,0,NULL},
Ralf S. Engelschalldfeab061998-12-21 11:00:56 +0000349{"G","givenName",NID_givenName,3,&(lvalues[515]),0},
350{"S","surname",NID_surname,3,&(lvalues[518]),0},
351{"I","initials",NID_initials,3,&(lvalues[521]),0},
352{"UID","uniqueIdentifier",NID_uniqueIdentifier,3,&(lvalues[524]),0},
Ralf S. Engelschall58964a41998-12-21 10:56:39 +0000353{"crlDistributionPoints","X509v3 CRL Distribution Points",
Ralf S. Engelschalldfeab061998-12-21 11:00:56 +0000354 NID_crl_distribution_points,3,&(lvalues[527]),0},
355{"RSA-NP-MD5","md5WithRSA",NID_md5WithRSA,5,&(lvalues[530]),0},
356{"SN","serialNumber",NID_serialNumber,3,&(lvalues[535]),0},
357{"T","title",NID_title,3,&(lvalues[538]),0},
358{"D","description",NID_description,3,&(lvalues[541]),0},
359{"CAST5-CBC","cast5-cbc",NID_cast5_cbc,9,&(lvalues[544]),0},
Ralf S. Engelschall58964a41998-12-21 10:56:39 +0000360{"CAST5-ECB","cast5-ecb",NID_cast5_ecb,0,NULL},
361{"CAST5-CFB","cast5-cfb",NID_cast5_cfb64,0,NULL},
362{"CAST5-OFB","cast5-ofb",NID_cast5_ofb64,0,NULL},
363{"pbeWithMD5AndCast5CBC","pbeWithMD5AndCast5CBC",
Ralf S. Engelschalldfeab061998-12-21 11:00:56 +0000364 NID_pbeWithMD5AndCast5_CBC,9,&(lvalues[553]),0},
365{"DSA-SHA1","dsaWithSHA1",NID_dsaWithSHA1,7,&(lvalues[562]),0},
Ralf S. Engelschall58964a41998-12-21 10:56:39 +0000366{"MD5-SHA1","md5-sha1",NID_md5_sha1,0,NULL},
Ralf S. Engelschalldfeab061998-12-21 11:00:56 +0000367{"RSA-SHA1-2","sha1WithRSA",NID_sha1WithRSA,5,&(lvalues[569]),0},
368{"DSA","dsaEncryption",NID_dsa,7,&(lvalues[574]),0},
369{"RIPEMD160","ripemd160",NID_ripemd160,5,&(lvalues[581]),0},
Ralf S. Engelschall58964a41998-12-21 10:56:39 +0000370{NULL,NULL,NID_undef,0,NULL},
371{"RSA-RIPEMD160","ripemd160WithRSA",NID_ripemd160WithRSA,6,
Ralf S. Engelschalldfeab061998-12-21 11:00:56 +0000372 &(lvalues[586]),0},
373{"RC5-CBC","rc5-cbc",NID_rc5_cbc,8,&(lvalues[592]),0},
Ralf S. Engelschall58964a41998-12-21 10:56:39 +0000374{"RC5-ECB","rc5-ecb",NID_rc5_ecb,0,NULL},
375{"RC5-CFB","rc5-cfb",NID_rc5_cfb64,0,NULL},
376{"RC5-OFB","rc5-ofb",NID_rc5_ofb64,0,NULL},
Ralf S. Engelschalldfeab061998-12-21 11:00:56 +0000377{"RLE","run length compression",NID_rle_compression,5,&(lvalues[600]),0},
378{"ZLIB","zlib compression",NID_zlib_compression,5,&(lvalues[605]),0},
Ralf S. Engelschall06d5b161999-01-02 12:59:33 +0000379{"extendedKeyUsage","X509v3 Extended Key Usage",NID_ext_key_usage,3,
380 &(lvalues[610]),0},
Dr. Stephen Hensona27598b1999-01-26 23:13:14 +0000381{"PKIX","PKIX",NID_id_pkix,6,&(lvalues[613]),0},
382{"id-kp","id-kp",NID_id_kp,7,&(lvalues[619]),0},
383{"serverAuth","TLS Web Server Authentication",NID_server_auth,8,
384 &(lvalues[626]),0},
385{"clientAuth","TLS Web Client Authentication",NID_client_auth,8,
386 &(lvalues[634]),0},
387{"codeSigning","Code Signing",NID_code_sign,8,&(lvalues[642]),0},
388{"emailProtection","E-mail Protection",NID_email_protect,8,
389 &(lvalues[650]),0},
390{"timeStamping","Time Stamping",NID_time_stamp,8,&(lvalues[658]),0},
391{"msCodeInd","Microsoft Individual Code Signing",NID_ms_code_ind,10,
392 &(lvalues[666]),0},
393{"msCodeCom","Microsoft Commercial Code Signing",NID_ms_code_com,10,
394 &(lvalues[676]),0},
395{"msCTLSign","Microsoft Trust List Signing",NID_ms_ctl_sign,10,
396 &(lvalues[686]),0},
397{"msSGC","Microsoft Server Gated Crypto",NID_ms_sgc,10,&(lvalues[696]),0},
398{"msEFS","Microsoft Encrypted File System",NID_ms_efs,10,
399 &(lvalues[706]),0},
400{"nsSGC","Netscape Server Gated Crypto",NID_ns_sgc,9,&(lvalues[716]),0},
Dr. Stephen Henson0ca5f8b1999-02-19 01:29:29 +0000401{"deltaCRL","X509v3 Delta CRL Indicator",NID_delta_crl,3,
402 &(lvalues[725]),0},
403{"CRLReason","CRL Reason Code",NID_crl_reason,3,&(lvalues[728]),0},
404{"invalidityDate","Invalidity Date",NID_invalidity_date,3,
405 &(lvalues[731]),0},
Dr. Stephen Henson785cdf21999-03-27 14:06:25 +0000406{"SXNetID","Strong Extranet ID",NID_sxnet,5,&(lvalues[734]),0},
Dr. Stephen Henson4b518c21999-03-28 01:00:56 +0000407{"pbeWithSHA1And128BitRC4","pbeWithSHA1And128BitRC4",
408 NID_pbe_WithSHA1And128BitRC4,10,&(lvalues[739]),0},
409{"pbeWithSHA1And40BitRC4","pbeWithSHA1And40BitRC4",
410 NID_pbe_WithSHA1And40BitRC4,10,&(lvalues[749]),0},
411{"pbeWithSHA1And3-KeyTripleDES-CBC",
412 "pbeWithSHA1And3-KeyTripleDES-CBC",
413 NID_pbe_WithSHA1And3_Key_TripleDES_CBC,10,&(lvalues[759]),0},
414{"pbeWithSHA1And2-KeyTripleDES-CBC",
415 "pbeWithSHA1And2-KeyTripleDES-CBC",
416 NID_pbe_WithSHA1And2_Key_TripleDES_CBC,10,&(lvalues[769]),0},
417{"pbeWithSHA1And128BitRC2-CBC","pbeWithSHA1And128BitRC2-CBC",
418 NID_pbe_WithSHA1And128BitRC2_CBC,10,&(lvalues[779]),0},
419{"pbeWithSHA1And40BitRC2-CBC","pbeWithSHA1And40BitRC2-CBC",
420 NID_pbe_WithSHA1And40BitRC2_CBC,10,&(lvalues[789]),0},
421{"keyBag","keyBag",NID_keyBag,11,&(lvalues[799]),0},
422{"pkcs8ShroudedKeyBag","pkcs8ShroudedKeyBag",NID_pkcs8ShroudedKeyBag,
423 11,&(lvalues[810]),0},
424{"certBag","certBag",NID_certBag,11,&(lvalues[821]),0},
425{"crlBag","crlBag",NID_crlBag,11,&(lvalues[832]),0},
426{"secretBag","secretBag",NID_secretBag,11,&(lvalues[843]),0},
427{"safeContentsBag","safeContentsBag",NID_safeContentsBag,11,
428 &(lvalues[854]),0},
429{"friendlyName","friendlyName",NID_friendlyName,9,&(lvalues[865]),0},
430{"localKeyID","localKeyID",NID_localKeyID,9,&(lvalues[874]),0},
431{"x509Certificate","x509Certificate",NID_x509Certificate,10,
432 &(lvalues[883]),0},
433{"sdsiCertificate","sdsiCertificate",NID_sdsiCertificate,10,
434 &(lvalues[893]),0},
435{"x509Crl","x509Crl",NID_x509Crl,10,&(lvalues[903]),0},
Dr. Stephen Hensond2e26dc1999-04-08 23:55:42 +0000436{"PBES2","PBES2",NID_pbes2,9,&(lvalues[913]),0},
437{"PBMAC1","PBMAC1",NID_pbmac1,9,&(lvalues[922]),0},
438{"hmacWithSHA1","hmacWithSHA1",NID_hmacWithSHA1,8,&(lvalues[931]),0},
Dr. Stephen Hensonc83e5231999-04-17 23:55:39 +0000439{"id-qt-cps","Policy Qualifier CPS",NID_id_qt_cps,8,&(lvalues[939]),0},
440{"id-qt-unotice","Policy Qualifier User Notice",NID_id_qt_unotice,8,
441 &(lvalues[947]),0},
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000442};
443
444static ASN1_OBJECT *sn_objs[NUM_SN]={
445&(nid_objs[91]),/* "BF-CBC" */
446&(nid_objs[93]),/* "BF-CFB" */
447&(nid_objs[92]),/* "BF-ECB" */
448&(nid_objs[94]),/* "BF-OFB" */
449&(nid_objs[14]),/* "C" */
Ralf S. Engelschall58964a41998-12-21 10:56:39 +0000450&(nid_objs[108]),/* "CAST5-CBC" */
451&(nid_objs[110]),/* "CAST5-CFB" */
452&(nid_objs[109]),/* "CAST5-ECB" */
453&(nid_objs[111]),/* "CAST5-OFB" */
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000454&(nid_objs[13]),/* "CN" */
Dr. Stephen Henson0ca5f8b1999-02-19 01:29:29 +0000455&(nid_objs[141]),/* "CRLReason" */
Ralf S. Engelschall58964a41998-12-21 10:56:39 +0000456&(nid_objs[107]),/* "D" */
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000457&(nid_objs[31]),/* "DES-CBC" */
458&(nid_objs[30]),/* "DES-CFB" */
459&(nid_objs[29]),/* "DES-ECB" */
460&(nid_objs[32]),/* "DES-EDE" */
461&(nid_objs[43]),/* "DES-EDE-CBC" */
462&(nid_objs[60]),/* "DES-EDE-CFB" */
463&(nid_objs[62]),/* "DES-EDE-OFB" */
464&(nid_objs[33]),/* "DES-EDE3" */
465&(nid_objs[44]),/* "DES-EDE3-CBC" */
466&(nid_objs[61]),/* "DES-EDE3-CFB" */
467&(nid_objs[63]),/* "DES-EDE3-OFB" */
468&(nid_objs[45]),/* "DES-OFB" */
469&(nid_objs[80]),/* "DESX-CBC" */
Ralf S. Engelschall58964a41998-12-21 10:56:39 +0000470&(nid_objs[116]),/* "DSA" */
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000471&(nid_objs[66]),/* "DSA-SHA" */
Ralf S. Engelschall58964a41998-12-21 10:56:39 +0000472&(nid_objs[113]),/* "DSA-SHA1" */
473&(nid_objs[70]),/* "DSA-SHA1-old" */
474&(nid_objs[67]),/* "DSA-old" */
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000475&(nid_objs[48]),/* "Email" */
Ralf S. Engelschall58964a41998-12-21 10:56:39 +0000476&(nid_objs[99]),/* "G" */
477&(nid_objs[101]),/* "I" */
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000478&(nid_objs[34]),/* "IDEA-CBC" */
479&(nid_objs[35]),/* "IDEA-CFB" */
480&(nid_objs[36]),/* "IDEA-ECB" */
481&(nid_objs[46]),/* "IDEA-OFB" */
482&(nid_objs[15]),/* "L" */
483&(nid_objs[ 3]),/* "MD2" */
484&(nid_objs[ 4]),/* "MD5" */
Ralf S. Engelschall58964a41998-12-21 10:56:39 +0000485&(nid_objs[114]),/* "MD5-SHA1" */
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000486&(nid_objs[95]),/* "MDC2" */
487&(nid_objs[57]),/* "Netscape" */
488&(nid_objs[17]),/* "O" */
489&(nid_objs[18]),/* "OU" */
Dr. Stephen Hensona27598b1999-01-26 23:13:14 +0000490&(nid_objs[127]),/* "PKIX" */
Ralf S. Engelschall58964a41998-12-21 10:56:39 +0000491&(nid_objs[98]),/* "RC2-40-CBC" */
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000492&(nid_objs[37]),/* "RC2-CBC" */
493&(nid_objs[39]),/* "RC2-CFB" */
494&(nid_objs[38]),/* "RC2-ECB" */
495&(nid_objs[40]),/* "RC2-OFB" */
496&(nid_objs[ 5]),/* "RC4" */
Ralf S. Engelschall58964a41998-12-21 10:56:39 +0000497&(nid_objs[97]),/* "RC4-40" */
498&(nid_objs[120]),/* "RC5-CBC" */
499&(nid_objs[122]),/* "RC5-CFB" */
500&(nid_objs[121]),/* "RC5-ECB" */
501&(nid_objs[123]),/* "RC5-OFB" */
502&(nid_objs[117]),/* "RIPEMD160" */
Ralf S. Engelschalldfeab061998-12-21 11:00:56 +0000503&(nid_objs[124]),/* "RLE" */
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000504&(nid_objs[19]),/* "RSA" */
505&(nid_objs[ 7]),/* "RSA-MD2" */
506&(nid_objs[ 8]),/* "RSA-MD5" */
507&(nid_objs[96]),/* "RSA-MDC2" */
Ralf S. Engelschall58964a41998-12-21 10:56:39 +0000508&(nid_objs[104]),/* "RSA-NP-MD5" */
509&(nid_objs[119]),/* "RSA-RIPEMD160" */
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000510&(nid_objs[42]),/* "RSA-SHA" */
511&(nid_objs[65]),/* "RSA-SHA1" */
Ralf S. Engelschall58964a41998-12-21 10:56:39 +0000512&(nid_objs[115]),/* "RSA-SHA1-2" */
513&(nid_objs[100]),/* "S" */
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000514&(nid_objs[41]),/* "SHA" */
515&(nid_objs[64]),/* "SHA1" */
Ralf S. Engelschall58964a41998-12-21 10:56:39 +0000516&(nid_objs[105]),/* "SN" */
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000517&(nid_objs[16]),/* "ST" */
Dr. Stephen Henson785cdf21999-03-27 14:06:25 +0000518&(nid_objs[143]),/* "SXNetID" */
Ralf S. Engelschall58964a41998-12-21 10:56:39 +0000519&(nid_objs[106]),/* "T" */
520&(nid_objs[102]),/* "UID" */
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000521&(nid_objs[ 0]),/* "UNDEF" */
Ralf S. Engelschalldfeab061998-12-21 11:00:56 +0000522&(nid_objs[125]),/* "ZLIB" */
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000523&(nid_objs[90]),/* "authorityKeyIdentifier" */
524&(nid_objs[87]),/* "basicConstraints" */
525&(nid_objs[89]),/* "certificatePolicies" */
Dr. Stephen Hensona27598b1999-01-26 23:13:14 +0000526&(nid_objs[130]),/* "clientAuth" */
527&(nid_objs[131]),/* "codeSigning" */
Ralf S. Engelschall58964a41998-12-21 10:56:39 +0000528&(nid_objs[103]),/* "crlDistributionPoints" */
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000529&(nid_objs[88]),/* "crlNumber" */
Dr. Stephen Henson0ca5f8b1999-02-19 01:29:29 +0000530&(nid_objs[140]),/* "deltaCRL" */
Dr. Stephen Hensona27598b1999-01-26 23:13:14 +0000531&(nid_objs[132]),/* "emailProtection" */
Ralf S. Engelschall06d5b161999-01-02 12:59:33 +0000532&(nid_objs[126]),/* "extendedKeyUsage" */
Dr. Stephen Hensona27598b1999-01-26 23:13:14 +0000533&(nid_objs[128]),/* "id-kp" */
Dr. Stephen Hensonc83e5231999-04-17 23:55:39 +0000534&(nid_objs[164]),/* "id-qt-cps" */
535&(nid_objs[165]),/* "id-qt-unotice" */
Dr. Stephen Henson0ca5f8b1999-02-19 01:29:29 +0000536&(nid_objs[142]),/* "invalidityDate" */
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000537&(nid_objs[86]),/* "issuerAltName" */
538&(nid_objs[83]),/* "keyUsage" */
539&(nid_objs[81]),/* "ld-ce" */
Dr. Stephen Hensona27598b1999-01-26 23:13:14 +0000540&(nid_objs[136]),/* "msCTLSign" */
541&(nid_objs[135]),/* "msCodeCom" */
542&(nid_objs[134]),/* "msCodeInd" */
543&(nid_objs[138]),/* "msEFS" */
544&(nid_objs[137]),/* "msSGC" */
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000545&(nid_objs[72]),/* "nsBaseUrl" */
546&(nid_objs[76]),/* "nsCaPolicyUrl" */
547&(nid_objs[74]),/* "nsCaRevocationUrl" */
548&(nid_objs[58]),/* "nsCertExt" */
549&(nid_objs[79]),/* "nsCertSequence" */
550&(nid_objs[71]),/* "nsCertType" */
551&(nid_objs[78]),/* "nsComment" */
552&(nid_objs[59]),/* "nsDataType" */
553&(nid_objs[75]),/* "nsRenewalUrl" */
554&(nid_objs[73]),/* "nsRevocationUrl" */
Dr. Stephen Hensona27598b1999-01-26 23:13:14 +0000555&(nid_objs[139]),/* "nsSGC" */
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000556&(nid_objs[77]),/* "nsSslServerName" */
557&(nid_objs[84]),/* "privateKeyUsagePeriod" */
Dr. Stephen Hensona27598b1999-01-26 23:13:14 +0000558&(nid_objs[129]),/* "serverAuth" */
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000559&(nid_objs[85]),/* "subjectAltName" */
560&(nid_objs[82]),/* "subjectKeyIdentifier" */
Dr. Stephen Hensona27598b1999-01-26 23:13:14 +0000561&(nid_objs[133]),/* "timeStamping" */
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000562};
563
564static ASN1_OBJECT *ln_objs[NUM_LN]={
Dr. Stephen Henson0ca5f8b1999-02-19 01:29:29 +0000565&(nid_objs[141]),/* "CRL Reason Code" */
Dr. Stephen Hensona27598b1999-01-26 23:13:14 +0000566&(nid_objs[131]),/* "Code Signing" */
567&(nid_objs[132]),/* "E-mail Protection" */
Dr. Stephen Henson0ca5f8b1999-02-19 01:29:29 +0000568&(nid_objs[142]),/* "Invalidity Date" */
Dr. Stephen Hensona27598b1999-01-26 23:13:14 +0000569&(nid_objs[135]),/* "Microsoft Commercial Code Signing" */
570&(nid_objs[138]),/* "Microsoft Encrypted File System" */
571&(nid_objs[134]),/* "Microsoft Individual Code Signing" */
572&(nid_objs[137]),/* "Microsoft Server Gated Crypto" */
573&(nid_objs[136]),/* "Microsoft Trust List Signing" */
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000574&(nid_objs[72]),/* "Netscape Base Url" */
575&(nid_objs[76]),/* "Netscape CA Policy Url" */
576&(nid_objs[74]),/* "Netscape CA Revocation Url" */
577&(nid_objs[71]),/* "Netscape Cert Type" */
578&(nid_objs[58]),/* "Netscape Certificate Extension" */
579&(nid_objs[79]),/* "Netscape Certificate Sequence" */
580&(nid_objs[78]),/* "Netscape Comment" */
581&(nid_objs[57]),/* "Netscape Communications Corp." */
582&(nid_objs[59]),/* "Netscape Data Type" */
583&(nid_objs[75]),/* "Netscape Renewal Url" */
584&(nid_objs[73]),/* "Netscape Revocation Url" */
585&(nid_objs[77]),/* "Netscape SSL Server Name" */
Dr. Stephen Hensona27598b1999-01-26 23:13:14 +0000586&(nid_objs[139]),/* "Netscape Server Gated Crypto" */
Dr. Stephen Hensond2e26dc1999-04-08 23:55:42 +0000587&(nid_objs[161]),/* "PBES2" */
588&(nid_objs[162]),/* "PBMAC1" */
Dr. Stephen Hensonc83e5231999-04-17 23:55:39 +0000589&(nid_objs[164]),/* "Policy Qualifier CPS" */
590&(nid_objs[165]),/* "Policy Qualifier User Notice" */
Dr. Stephen Henson785cdf21999-03-27 14:06:25 +0000591&(nid_objs[143]),/* "Strong Extranet ID" */
Dr. Stephen Hensona27598b1999-01-26 23:13:14 +0000592&(nid_objs[130]),/* "TLS Web Client Authentication" */
593&(nid_objs[129]),/* "TLS Web Server Authentication" */
594&(nid_objs[133]),/* "Time Stamping" */
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000595&(nid_objs[11]),/* "X500" */
596&(nid_objs[12]),/* "X509" */
597&(nid_objs[90]),/* "X509v3 Authority Key Identifier" */
598&(nid_objs[87]),/* "X509v3 Basic Constraints" */
Ralf S. Engelschall58964a41998-12-21 10:56:39 +0000599&(nid_objs[103]),/* "X509v3 CRL Distribution Points" */
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000600&(nid_objs[88]),/* "X509v3 CRL Number" */
601&(nid_objs[89]),/* "X509v3 Certificate Policies" */
Dr. Stephen Henson0ca5f8b1999-02-19 01:29:29 +0000602&(nid_objs[140]),/* "X509v3 Delta CRL Indicator" */
Ralf S. Engelschall06d5b161999-01-02 12:59:33 +0000603&(nid_objs[126]),/* "X509v3 Extended Key Usage" */
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000604&(nid_objs[86]),/* "X509v3 Issuer Alternative Name" */
605&(nid_objs[83]),/* "X509v3 Key Usage" */
606&(nid_objs[84]),/* "X509v3 Private Key Usage Period" */
607&(nid_objs[85]),/* "X509v3 Subject Alternative Name" */
608&(nid_objs[82]),/* "X509v3 Subject Key Identifier" */
609&(nid_objs[91]),/* "bf-cbc" */
610&(nid_objs[93]),/* "bf-cfb" */
611&(nid_objs[92]),/* "bf-ecb" */
612&(nid_objs[94]),/* "bf-ofb" */
Ralf S. Engelschall58964a41998-12-21 10:56:39 +0000613&(nid_objs[108]),/* "cast5-cbc" */
614&(nid_objs[110]),/* "cast5-cfb" */
615&(nid_objs[109]),/* "cast5-ecb" */
616&(nid_objs[111]),/* "cast5-ofb" */
Dr. Stephen Henson4b518c21999-03-28 01:00:56 +0000617&(nid_objs[152]),/* "certBag" */
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000618&(nid_objs[54]),/* "challengePassword" */
619&(nid_objs[13]),/* "commonName" */
620&(nid_objs[50]),/* "contentType" */
621&(nid_objs[53]),/* "countersignature" */
622&(nid_objs[14]),/* "countryName" */
Dr. Stephen Henson4b518c21999-03-28 01:00:56 +0000623&(nid_objs[153]),/* "crlBag" */
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000624&(nid_objs[31]),/* "des-cbc" */
625&(nid_objs[30]),/* "des-cfb" */
626&(nid_objs[29]),/* "des-ecb" */
627&(nid_objs[32]),/* "des-ede" */
628&(nid_objs[43]),/* "des-ede-cbc" */
629&(nid_objs[60]),/* "des-ede-cfb" */
630&(nid_objs[62]),/* "des-ede-ofb" */
631&(nid_objs[33]),/* "des-ede3" */
632&(nid_objs[44]),/* "des-ede3-cbc" */
633&(nid_objs[61]),/* "des-ede3-cfb" */
634&(nid_objs[63]),/* "des-ede3-ofb" */
635&(nid_objs[45]),/* "des-ofb" */
Ralf S. Engelschall58964a41998-12-21 10:56:39 +0000636&(nid_objs[107]),/* "description" */
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000637&(nid_objs[80]),/* "desx-cbc" */
638&(nid_objs[28]),/* "dhKeyAgreement" */
Ralf S. Engelschall58964a41998-12-21 10:56:39 +0000639&(nid_objs[116]),/* "dsaEncryption" */
640&(nid_objs[67]),/* "dsaEncryption-old" */
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000641&(nid_objs[66]),/* "dsaWithSHA" */
Ralf S. Engelschall58964a41998-12-21 10:56:39 +0000642&(nid_objs[113]),/* "dsaWithSHA1" */
Ralf S. Engelschalldfeab061998-12-21 11:00:56 +0000643&(nid_objs[70]),/* "dsaWithSHA1-old" */
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000644&(nid_objs[48]),/* "emailAddress" */
645&(nid_objs[56]),/* "extendedCertificateAttributes" */
Dr. Stephen Henson4b518c21999-03-28 01:00:56 +0000646&(nid_objs[156]),/* "friendlyName" */
Ralf S. Engelschall58964a41998-12-21 10:56:39 +0000647&(nid_objs[99]),/* "givenName" */
Dr. Stephen Hensond2e26dc1999-04-08 23:55:42 +0000648&(nid_objs[163]),/* "hmacWithSHA1" */
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000649&(nid_objs[34]),/* "idea-cbc" */
650&(nid_objs[35]),/* "idea-cfb" */
651&(nid_objs[36]),/* "idea-ecb" */
652&(nid_objs[46]),/* "idea-ofb" */
Ralf S. Engelschall58964a41998-12-21 10:56:39 +0000653&(nid_objs[101]),/* "initials" */
Dr. Stephen Henson4b518c21999-03-28 01:00:56 +0000654&(nid_objs[150]),/* "keyBag" */
655&(nid_objs[157]),/* "localKeyID" */
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000656&(nid_objs[15]),/* "localityName" */
657&(nid_objs[ 3]),/* "md2" */
658&(nid_objs[ 7]),/* "md2WithRSAEncryption" */
659&(nid_objs[ 4]),/* "md5" */
Ralf S. Engelschall58964a41998-12-21 10:56:39 +0000660&(nid_objs[114]),/* "md5-sha1" */
661&(nid_objs[104]),/* "md5WithRSA" */
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000662&(nid_objs[ 8]),/* "md5WithRSAEncryption" */
663&(nid_objs[95]),/* "mdc2" */
664&(nid_objs[96]),/* "mdc2withRSA" */
665&(nid_objs[51]),/* "messageDigest" */
666&(nid_objs[17]),/* "organizationName" */
667&(nid_objs[18]),/* "organizationalUnitName" */
668&(nid_objs[ 9]),/* "pbeWithMD2AndDES-CBC" */
Ralf S. Engelschall58964a41998-12-21 10:56:39 +0000669&(nid_objs[112]),/* "pbeWithMD5AndCast5CBC" */
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000670&(nid_objs[10]),/* "pbeWithMD5AndDES-CBC" */
Dr. Stephen Henson4b518c21999-03-28 01:00:56 +0000671&(nid_objs[148]),/* "pbeWithSHA1And128BitRC2-CBC" */
672&(nid_objs[144]),/* "pbeWithSHA1And128BitRC4" */
673&(nid_objs[147]),/* "pbeWithSHA1And2-KeyTripleDES-CBC" */
674&(nid_objs[146]),/* "pbeWithSHA1And3-KeyTripleDES-CBC" */
675&(nid_objs[149]),/* "pbeWithSHA1And40BitRC2-CBC" */
676&(nid_objs[145]),/* "pbeWithSHA1And40BitRC4" */
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000677&(nid_objs[68]),/* "pbeWithSHA1AndRC2-CBC" */
678&(nid_objs[69]),/* "pbeWithSHA1AndRC4" */
679&(nid_objs[ 2]),/* "pkcs" */
680&(nid_objs[27]),/* "pkcs3" */
681&(nid_objs[20]),/* "pkcs7" */
682&(nid_objs[21]),/* "pkcs7-data" */
683&(nid_objs[25]),/* "pkcs7-digestData" */
684&(nid_objs[26]),/* "pkcs7-encryptedData" */
685&(nid_objs[23]),/* "pkcs7-envelopedData" */
686&(nid_objs[24]),/* "pkcs7-signedAndEnvelopedData" */
687&(nid_objs[22]),/* "pkcs7-signedData" */
Dr. Stephen Henson4b518c21999-03-28 01:00:56 +0000688&(nid_objs[151]),/* "pkcs8ShroudedKeyBag" */
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000689&(nid_objs[47]),/* "pkcs9" */
Ralf S. Engelschall58964a41998-12-21 10:56:39 +0000690&(nid_objs[98]),/* "rc2-40-cbc" */
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000691&(nid_objs[37]),/* "rc2-cbc" */
692&(nid_objs[39]),/* "rc2-cfb" */
693&(nid_objs[38]),/* "rc2-ecb" */
694&(nid_objs[40]),/* "rc2-ofb" */
695&(nid_objs[ 5]),/* "rc4" */
Ralf S. Engelschall58964a41998-12-21 10:56:39 +0000696&(nid_objs[97]),/* "rc4-40" */
697&(nid_objs[120]),/* "rc5-cbc" */
698&(nid_objs[122]),/* "rc5-cfb" */
699&(nid_objs[121]),/* "rc5-ecb" */
700&(nid_objs[123]),/* "rc5-ofb" */
701&(nid_objs[117]),/* "ripemd160" */
702&(nid_objs[119]),/* "ripemd160WithRSA" */
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000703&(nid_objs[19]),/* "rsa" */
704&(nid_objs[ 6]),/* "rsaEncryption" */
705&(nid_objs[ 1]),/* "rsadsi" */
Ralf S. Engelschalldfeab061998-12-21 11:00:56 +0000706&(nid_objs[124]),/* "run length compression" */
Dr. Stephen Henson4b518c21999-03-28 01:00:56 +0000707&(nid_objs[155]),/* "safeContentsBag" */
708&(nid_objs[159]),/* "sdsiCertificate" */
709&(nid_objs[154]),/* "secretBag" */
Ralf S. Engelschall58964a41998-12-21 10:56:39 +0000710&(nid_objs[105]),/* "serialNumber" */
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000711&(nid_objs[41]),/* "sha" */
712&(nid_objs[64]),/* "sha1" */
Ralf S. Engelschall58964a41998-12-21 10:56:39 +0000713&(nid_objs[115]),/* "sha1WithRSA" */
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000714&(nid_objs[65]),/* "sha1WithRSAEncryption" */
715&(nid_objs[42]),/* "shaWithRSAEncryption" */
716&(nid_objs[52]),/* "signingTime" */
717&(nid_objs[16]),/* "stateOrProvinceName" */
Ralf S. Engelschall58964a41998-12-21 10:56:39 +0000718&(nid_objs[100]),/* "surname" */
719&(nid_objs[106]),/* "title" */
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000720&(nid_objs[ 0]),/* "undefined" */
Ralf S. Engelschall58964a41998-12-21 10:56:39 +0000721&(nid_objs[102]),/* "uniqueIdentifier" */
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000722&(nid_objs[55]),/* "unstructuredAddress" */
723&(nid_objs[49]),/* "unstructuredName" */
Dr. Stephen Henson4b518c21999-03-28 01:00:56 +0000724&(nid_objs[158]),/* "x509Certificate" */
725&(nid_objs[160]),/* "x509Crl" */
Ralf S. Engelschalldfeab061998-12-21 11:00:56 +0000726&(nid_objs[125]),/* "zlib compression" */
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000727};
728
729static ASN1_OBJECT *obj_objs[NUM_OBJ]={
Ralf S. Engelschalldfeab061998-12-21 11:00:56 +0000730&(nid_objs[ 0]),/* OBJ_undef 0 */
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000731&(nid_objs[11]),/* OBJ_X500 2 5 */
732&(nid_objs[12]),/* OBJ_X509 2 5 4 */
733&(nid_objs[81]),/* OBJ_ld_ce 2 5 29 */
734&(nid_objs[13]),/* OBJ_commonName 2 5 4 3 */
Ralf S. Engelschall58964a41998-12-21 10:56:39 +0000735&(nid_objs[100]),/* OBJ_surname 2 5 4 4 */
736&(nid_objs[105]),/* OBJ_serialNumber 2 5 4 5 */
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000737&(nid_objs[14]),/* OBJ_countryName 2 5 4 6 */
738&(nid_objs[15]),/* OBJ_localityName 2 5 4 7 */
739&(nid_objs[16]),/* OBJ_stateOrProvinceName 2 5 4 8 */
740&(nid_objs[17]),/* OBJ_organizationName 2 5 4 10 */
741&(nid_objs[18]),/* OBJ_organizationalUnitName 2 5 4 11 */
Ralf S. Engelschall58964a41998-12-21 10:56:39 +0000742&(nid_objs[106]),/* OBJ_title 2 5 4 12 */
743&(nid_objs[107]),/* OBJ_description 2 5 4 13 */
744&(nid_objs[99]),/* OBJ_givenName 2 5 4 42 */
745&(nid_objs[101]),/* OBJ_initials 2 5 4 43 */
746&(nid_objs[102]),/* OBJ_uniqueIdentifier 2 5 4 45 */
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000747&(nid_objs[82]),/* OBJ_subject_key_identifier 2 5 29 14 */
748&(nid_objs[83]),/* OBJ_key_usage 2 5 29 15 */
749&(nid_objs[84]),/* OBJ_private_key_usage_period 2 5 29 16 */
750&(nid_objs[85]),/* OBJ_subject_alt_name 2 5 29 17 */
751&(nid_objs[86]),/* OBJ_issuer_alt_name 2 5 29 18 */
752&(nid_objs[87]),/* OBJ_basic_constraints 2 5 29 19 */
753&(nid_objs[88]),/* OBJ_crl_number 2 5 29 20 */
Dr. Stephen Henson0ca5f8b1999-02-19 01:29:29 +0000754&(nid_objs[141]),/* OBJ_crl_reason 2 5 29 21 */
755&(nid_objs[142]),/* OBJ_invalidity_date 2 5 29 24 */
756&(nid_objs[140]),/* OBJ_delta_crl 2 5 29 27 */
Ralf S. Engelschall58964a41998-12-21 10:56:39 +0000757&(nid_objs[103]),/* OBJ_crl_distribution_points 2 5 29 31 */
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000758&(nid_objs[89]),/* OBJ_certificate_policies 2 5 29 32 */
759&(nid_objs[90]),/* OBJ_authority_key_identifier 2 5 29 35 */
Ralf S. Engelschall06d5b161999-01-02 12:59:33 +0000760&(nid_objs[126]),/* OBJ_ext_key_usage 2 5 29 37 */
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000761&(nid_objs[19]),/* OBJ_rsa 2 5 8 1 1 */
762&(nid_objs[96]),/* OBJ_mdc2WithRSA 2 5 8 3 100 */
763&(nid_objs[95]),/* OBJ_mdc2 2 5 8 3 101 */
Dr. Stephen Hensonc83e5231999-04-17 23:55:39 +0000764&(nid_objs[125]),/* OBJ_zlib_compression 1 1 1 1 666.2 */
Ulf Möller8e10f2b1999-04-21 17:31:05 +0000765&(nid_objs[124]),/* OBJ_rle_compression 1 1 1 1 666.1 */
Ralf S. Engelschall58964a41998-12-21 10:56:39 +0000766&(nid_objs[104]),/* OBJ_md5WithRSA 1 3 14 3 2 3 */
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000767&(nid_objs[29]),/* OBJ_des_ecb 1 3 14 3 2 6 */
768&(nid_objs[31]),/* OBJ_des_cbc 1 3 14 3 2 7 */
769&(nid_objs[45]),/* OBJ_des_ofb64 1 3 14 3 2 8 */
770&(nid_objs[30]),/* OBJ_des_cfb64 1 3 14 3 2 9 */
Ralf S. Engelschall58964a41998-12-21 10:56:39 +0000771&(nid_objs[67]),/* OBJ_dsa_2 1 3 14 3 2 12 */
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000772&(nid_objs[66]),/* OBJ_dsaWithSHA 1 3 14 3 2 13 */
773&(nid_objs[42]),/* OBJ_shaWithRSAEncryption 1 3 14 3 2 15 */
774&(nid_objs[32]),/* OBJ_des_ede 1 3 14 3 2 17 */
775&(nid_objs[41]),/* OBJ_sha 1 3 14 3 2 18 */
776&(nid_objs[64]),/* OBJ_sha1 1 3 14 3 2 26 */
Ralf S. Engelschall58964a41998-12-21 10:56:39 +0000777&(nid_objs[70]),/* OBJ_dsaWithSHA1_2 1 3 14 3 2 27 */
778&(nid_objs[115]),/* OBJ_sha1WithRSA 1 3 14 3 2 29 */
779&(nid_objs[117]),/* OBJ_ripemd160 1 3 36 3 2 1 */
Dr. Stephen Henson785cdf21999-03-27 14:06:25 +0000780&(nid_objs[143]),/* OBJ_sxnet 1 3 101 1 4 1 */
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000781&(nid_objs[ 1]),/* OBJ_rsadsi 1 2 840 113549 */
Dr. Stephen Hensona27598b1999-01-26 23:13:14 +0000782&(nid_objs[127]),/* OBJ_id_pkix 1 3 6 1 5 5 7 */
Ralf S. Engelschall58964a41998-12-21 10:56:39 +0000783&(nid_objs[119]),/* OBJ_ripemd160WithRSA 1 3 36 3 3 1 2 */
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000784&(nid_objs[ 2]),/* OBJ_pkcs 1 2 840 113549 1 */
Ralf S. Engelschall58964a41998-12-21 10:56:39 +0000785&(nid_objs[116]),/* OBJ_dsa 1 2 840 10040 4 1 */
786&(nid_objs[113]),/* OBJ_dsaWithSHA1 1 2 840 10040 4 3 */
Dr. Stephen Hensona27598b1999-01-26 23:13:14 +0000787&(nid_objs[128]),/* OBJ_id_kp 1 3 6 1 5 5 7 3 */
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000788&(nid_objs[57]),/* OBJ_netscape 2 16 840 1 113730 */
789&(nid_objs[27]),/* OBJ_pkcs3 1 2 840 113549 1 3 */
790&(nid_objs[20]),/* OBJ_pkcs7 1 2 840 113549 1 7 */
791&(nid_objs[47]),/* OBJ_pkcs9 1 2 840 113549 1 9 */
792&(nid_objs[ 3]),/* OBJ_md2 1 2 840 113549 2 2 */
793&(nid_objs[ 4]),/* OBJ_md5 1 2 840 113549 2 5 */
Dr. Stephen Hensond2e26dc1999-04-08 23:55:42 +0000794&(nid_objs[163]),/* OBJ_hmacWithSHA1 1 2 840 113549 2 7 */
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000795&(nid_objs[37]),/* OBJ_rc2_cbc 1 2 840 113549 3 2 */
796&(nid_objs[ 5]),/* OBJ_rc4 1 2 840 113549 3 4 */
797&(nid_objs[44]),/* OBJ_des_ede3_cbc 1 2 840 113549 3 7 */
Ralf S. Engelschall58964a41998-12-21 10:56:39 +0000798&(nid_objs[120]),/* OBJ_rc5_cbc 1 2 840 113549 3 8 */
Dr. Stephen Hensonc83e5231999-04-17 23:55:39 +0000799&(nid_objs[164]),/* OBJ_id_qt_cps 1 3 6 1 5 5 7 2 1 */
800&(nid_objs[165]),/* OBJ_id_qt_unotice 1 3 6 1 5 5 7 2 2 */
Dr. Stephen Hensona27598b1999-01-26 23:13:14 +0000801&(nid_objs[129]),/* OBJ_server_auth 1 3 6 1 5 5 7 3 1 */
802&(nid_objs[130]),/* OBJ_client_auth 1 3 6 1 5 5 7 3 2 */
803&(nid_objs[131]),/* OBJ_code_sign 1 3 6 1 5 5 7 3 3 */
804&(nid_objs[132]),/* OBJ_email_protect 1 3 6 1 5 5 7 3 4 */
805&(nid_objs[133]),/* OBJ_time_stamp 1 3 6 1 5 5 7 3 8 */
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000806&(nid_objs[58]),/* OBJ_netscape_cert_extension 2 16 840 1 113730 1 */
807&(nid_objs[59]),/* OBJ_netscape_data_type 2 16 840 1 113730 2 */
Ralf S. Engelschall58964a41998-12-21 10:56:39 +0000808&(nid_objs[108]),/* OBJ_cast5_cbc 1 2 840 113533 7 66 10 */
809&(nid_objs[112]),/* OBJ_pbeWithMD5AndCast5_CBC 1 2 840 113533 7 66 12 */
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000810&(nid_objs[ 6]),/* OBJ_rsaEncryption 1 2 840 113549 1 1 1 */
811&(nid_objs[ 7]),/* OBJ_md2WithRSAEncryption 1 2 840 113549 1 1 2 */
812&(nid_objs[ 8]),/* OBJ_md5WithRSAEncryption 1 2 840 113549 1 1 4 */
813&(nid_objs[65]),/* OBJ_sha1WithRSAEncryption 1 2 840 113549 1 1 5 */
814&(nid_objs[28]),/* OBJ_dhKeyAgreement 1 2 840 113549 1 3 1 */
815&(nid_objs[ 9]),/* OBJ_pbeWithMD2AndDES_CBC 1 2 840 113549 1 5 1 */
816&(nid_objs[10]),/* OBJ_pbeWithMD5AndDES_CBC 1 2 840 113549 1 5 3 */
817&(nid_objs[68]),/* OBJ_pbeWithSHA1AndRC2_CBC 1 2 840 113549 1 5 11 */
818&(nid_objs[69]),/* OBJ_pbeWithSHA1AndRC4 1 2 840 113549 1 5 12 */
Dr. Stephen Hensond2e26dc1999-04-08 23:55:42 +0000819&(nid_objs[161]),/* OBJ_pbes2 1 2 840 113549 1 5 13 */
820&(nid_objs[162]),/* OBJ_pbmac1 1 2 840 113549 1 5 14 */
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000821&(nid_objs[21]),/* OBJ_pkcs7_data 1 2 840 113549 1 7 1 */
822&(nid_objs[22]),/* OBJ_pkcs7_signed 1 2 840 113549 1 7 2 */
823&(nid_objs[23]),/* OBJ_pkcs7_enveloped 1 2 840 113549 1 7 3 */
824&(nid_objs[24]),/* OBJ_pkcs7_signedAndEnveloped 1 2 840 113549 1 7 4 */
825&(nid_objs[25]),/* OBJ_pkcs7_digest 1 2 840 113549 1 7 5 */
826&(nid_objs[26]),/* OBJ_pkcs7_encrypted 1 2 840 113549 1 7 6 */
827&(nid_objs[48]),/* OBJ_pkcs9_emailAddress 1 2 840 113549 1 9 1 */
828&(nid_objs[49]),/* OBJ_pkcs9_unstructuredName 1 2 840 113549 1 9 2 */
829&(nid_objs[50]),/* OBJ_pkcs9_contentType 1 2 840 113549 1 9 3 */
830&(nid_objs[51]),/* OBJ_pkcs9_messageDigest 1 2 840 113549 1 9 4 */
831&(nid_objs[52]),/* OBJ_pkcs9_signingTime 1 2 840 113549 1 9 5 */
832&(nid_objs[53]),/* OBJ_pkcs9_countersignature 1 2 840 113549 1 9 6 */
833&(nid_objs[54]),/* OBJ_pkcs9_challengePassword 1 2 840 113549 1 9 7 */
834&(nid_objs[55]),/* OBJ_pkcs9_unstructuredAddress 1 2 840 113549 1 9 8 */
835&(nid_objs[56]),/* OBJ_pkcs9_extCertAttributes 1 2 840 113549 1 9 9 */
Dr. Stephen Henson4b518c21999-03-28 01:00:56 +0000836&(nid_objs[156]),/* OBJ_friendlyName 1 2 840 113549 1 9 20 */
837&(nid_objs[157]),/* OBJ_localKeyID 1 2 840 113549 1 9 21 */
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000838&(nid_objs[71]),/* OBJ_netscape_cert_type 2 16 840 1 113730 1 1 */
839&(nid_objs[72]),/* OBJ_netscape_base_url 2 16 840 1 113730 1 2 */
840&(nid_objs[73]),/* OBJ_netscape_revocation_url 2 16 840 1 113730 1 3 */
841&(nid_objs[74]),/* OBJ_netscape_ca_revocation_url 2 16 840 1 113730 1 4 */
842&(nid_objs[75]),/* OBJ_netscape_renewal_url 2 16 840 1 113730 1 7 */
843&(nid_objs[76]),/* OBJ_netscape_ca_policy_url 2 16 840 1 113730 1 8 */
844&(nid_objs[77]),/* OBJ_netscape_ssl_server_name 2 16 840 1 113730 1 12 */
845&(nid_objs[78]),/* OBJ_netscape_comment 2 16 840 1 113730 1 13 */
846&(nid_objs[79]),/* OBJ_netscape_cert_sequence 2 16 840 1 113730 2 5 */
Dr. Stephen Hensona27598b1999-01-26 23:13:14 +0000847&(nid_objs[139]),/* OBJ_ns_sgc 2 16 840 1 113730 4 1 */
Dr. Stephen Henson4b518c21999-03-28 01:00:56 +0000848&(nid_objs[158]),/* OBJ_x509Certificate 1 2 840 113549 1 9 22 1 */
849&(nid_objs[159]),/* OBJ_sdsiCertificate 1 2 840 113549 1 9 22 2 */
850&(nid_objs[160]),/* OBJ_x509Crl 1 2 840 113549 1 9 23 1 */
851&(nid_objs[144]),/* OBJ_pbe_WithSHA1And128BitRC4 1 2 840 113549 1 12 1 1 */
852&(nid_objs[145]),/* OBJ_pbe_WithSHA1And40BitRC4 1 2 840 113549 1 12 1 2 */
853&(nid_objs[146]),/* OBJ_pbe_WithSHA1And3_Key_TripleDES_CBC 1 2 840 113549 1 12 1 3 */
854&(nid_objs[147]),/* OBJ_pbe_WithSHA1And2_Key_TripleDES_CBC 1 2 840 113549 1 12 1 4 */
855&(nid_objs[148]),/* OBJ_pbe_WithSHA1And128BitRC2_CBC 1 2 840 113549 1 12 1 5 */
856&(nid_objs[149]),/* OBJ_pbe_WithSHA1And40BitRC2_CBC 1 2 840 113549 1 12 1 6 */
Dr. Stephen Hensona27598b1999-01-26 23:13:14 +0000857&(nid_objs[134]),/* OBJ_ms_code_ind 1 3 6 1 4 1 311 2 1 21 */
858&(nid_objs[135]),/* OBJ_ms_code_com 1 3 6 1 4 1 311 2 1 22 */
859&(nid_objs[136]),/* OBJ_ms_ctl_sign 1 3 6 1 4 1 311 10 3 1 */
860&(nid_objs[137]),/* OBJ_ms_sgc 1 3 6 1 4 1 311 10 3 3 */
861&(nid_objs[138]),/* OBJ_ms_efs 1 3 6 1 4 1 311 10 3 4 */
Dr. Stephen Henson4b518c21999-03-28 01:00:56 +0000862&(nid_objs[150]),/* OBJ_keyBag 1 2 840 113549 1 12 10 1 1 */
863&(nid_objs[151]),/* OBJ_pkcs8ShroudedKeyBag 1 2 840 113549 1 12 10 1 2 */
864&(nid_objs[152]),/* OBJ_certBag 1 2 840 113549 1 12 10 1 3 */
865&(nid_objs[153]),/* OBJ_crlBag 1 2 840 113549 1 12 10 1 4 */
866&(nid_objs[154]),/* OBJ_secretBag 1 2 840 113549 1 12 10 1 5 */
867&(nid_objs[155]),/* OBJ_safeContentsBag 1 2 840 113549 1 12 10 1 6 */
Ralf S. Engelschalld02b48c1998-12-21 10:52:47 +0000868};
869