diff options
| author | beck <> | 1999-09-29 04:37:45 +0000 |
|---|---|---|
| committer | beck <> | 1999-09-29 04:37:45 +0000 |
| commit | de8f24ea083384bb66b32ec105dc4743c5663cdf (patch) | |
| tree | 1412176ae62a3cab2cf2b0b92150fcbceaac6092 /src/lib/libcrypto/objects/obj_dat.h | |
| parent | cb929d29896bcb87c2a97417fbd03e50078fc178 (diff) | |
| download | openbsd-de8f24ea083384bb66b32ec105dc4743c5663cdf.tar.gz openbsd-de8f24ea083384bb66b32ec105dc4743c5663cdf.tar.bz2 openbsd-de8f24ea083384bb66b32ec105dc4743c5663cdf.zip | |
OpenSSL 0.9.4 merge
Diffstat (limited to 'src/lib/libcrypto/objects/obj_dat.h')
| -rw-r--r-- | src/lib/libcrypto/objects/obj_dat.h | 656 |
1 files changed, 0 insertions, 656 deletions
diff --git a/src/lib/libcrypto/objects/obj_dat.h b/src/lib/libcrypto/objects/obj_dat.h deleted file mode 100644 index 48143ae3c7..0000000000 --- a/src/lib/libcrypto/objects/obj_dat.h +++ /dev/null | |||
| @@ -1,656 +0,0 @@ | |||
| 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 | |||
| 64 | #define NUM_NID 124 | ||
| 65 | #define NUM_SN 95 | ||
| 66 | #define NUM_LN 122 | ||
| 67 | #define NUM_OBJ 95 | ||
| 68 | |||
| 69 | static unsigned char lvalues[600]={ | ||
| 70 | 0x2A,0x86,0x48,0x86,0xF7,0x0D, /* [ 0] OBJ_rsadsi */ | ||
| 71 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01, /* [ 6] OBJ_pkcs */ | ||
| 72 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x02,0x02, /* [ 13] OBJ_md2 */ | ||
| 73 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x02,0x05, /* [ 21] OBJ_md5 */ | ||
| 74 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x03,0x04, /* [ 29] OBJ_rc4 */ | ||
| 75 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x01,0x01,/* [ 37] OBJ_rsaEncryption */ | ||
| 76 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x01,0x02,/* [ 46] OBJ_md2WithRSAEncryption */ | ||
| 77 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x01,0x04,/* [ 55] OBJ_md5WithRSAEncryption */ | ||
| 78 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x05,0x01,/* [ 64] OBJ_pbeWithMD2AndDES_CBC */ | ||
| 79 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x05,0x03,/* [ 73] OBJ_pbeWithMD5AndDES_CBC */ | ||
| 80 | 0x55, /* [ 82] OBJ_X500 */ | ||
| 81 | 0x55,0x04, /* [ 83] OBJ_X509 */ | ||
| 82 | 0x55,0x04,0x03, /* [ 85] OBJ_commonName */ | ||
| 83 | 0x55,0x04,0x06, /* [ 88] OBJ_countryName */ | ||
| 84 | 0x55,0x04,0x07, /* [ 91] OBJ_localityName */ | ||
| 85 | 0x55,0x04,0x08, /* [ 94] OBJ_stateOrProvinceName */ | ||
| 86 | 0x55,0x04,0x0A, /* [ 97] OBJ_organizationName */ | ||
| 87 | 0x55,0x04,0x0B, /* [100] OBJ_organizationalUnitName */ | ||
| 88 | 0x55,0x08,0x01,0x01, /* [103] OBJ_rsa */ | ||
| 89 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x07, /* [107] OBJ_pkcs7 */ | ||
| 90 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x07,0x01,/* [115] OBJ_pkcs7_data */ | ||
| 91 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x07,0x02,/* [124] OBJ_pkcs7_signed */ | ||
| 92 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x07,0x03,/* [133] OBJ_pkcs7_enveloped */ | ||
| 93 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x07,0x04,/* [142] OBJ_pkcs7_signedAndEnveloped */ | ||
| 94 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x07,0x05,/* [151] OBJ_pkcs7_digest */ | ||
| 95 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x07,0x06,/* [160] OBJ_pkcs7_encrypted */ | ||
| 96 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x03, /* [169] OBJ_pkcs3 */ | ||
| 97 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x03,0x01,/* [177] OBJ_dhKeyAgreement */ | ||
| 98 | 0x2B,0x0E,0x03,0x02,0x06, /* [186] OBJ_des_ecb */ | ||
| 99 | 0x2B,0x0E,0x03,0x02,0x09, /* [191] OBJ_des_cfb64 */ | ||
| 100 | 0x2B,0x0E,0x03,0x02,0x07, /* [196] OBJ_des_cbc */ | ||
| 101 | 0x2B,0x0E,0x03,0x02,0x11, /* [201] OBJ_des_ede */ | ||
| 102 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x03,0x02, /* [206] OBJ_rc2_cbc */ | ||
| 103 | 0x2B,0x0E,0x03,0x02,0x12, /* [214] OBJ_sha */ | ||
| 104 | 0x2B,0x0E,0x03,0x02,0x0F, /* [219] OBJ_shaWithRSAEncryption */ | ||
| 105 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x03,0x07, /* [224] OBJ_des_ede3_cbc */ | ||
| 106 | 0x2B,0x0E,0x03,0x02,0x08, /* [232] OBJ_des_ofb64 */ | ||
| 107 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x09, /* [237] OBJ_pkcs9 */ | ||
| 108 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x09,0x01,/* [245] OBJ_pkcs9_emailAddress */ | ||
| 109 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x09,0x02,/* [254] OBJ_pkcs9_unstructuredName */ | ||
| 110 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x09,0x03,/* [263] OBJ_pkcs9_contentType */ | ||
| 111 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x09,0x04,/* [272] OBJ_pkcs9_messageDigest */ | ||
| 112 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x09,0x05,/* [281] OBJ_pkcs9_signingTime */ | ||
| 113 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x09,0x06,/* [290] OBJ_pkcs9_countersignature */ | ||
| 114 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x09,0x07,/* [299] OBJ_pkcs9_challengePassword */ | ||
| 115 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x09,0x08,/* [308] OBJ_pkcs9_unstructuredAddress */ | ||
| 116 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x09,0x09,/* [317] OBJ_pkcs9_extCertAttributes */ | ||
| 117 | 0x60,0x86,0x48,0x01,0x86,0xF8,0x42, /* [326] OBJ_netscape */ | ||
| 118 | 0x60,0x86,0x48,0x01,0x86,0xF8,0x42,0x01, /* [333] OBJ_netscape_cert_extension */ | ||
| 119 | 0x60,0x86,0x48,0x01,0x86,0xF8,0x42,0x02, /* [341] OBJ_netscape_data_type */ | ||
| 120 | 0x2B,0x0E,0x03,0x02,0x1A, /* [349] OBJ_sha1 */ | ||
| 121 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x01,0x05,/* [354] OBJ_sha1WithRSAEncryption */ | ||
| 122 | 0x2B,0x0E,0x03,0x02,0x0D, /* [363] OBJ_dsaWithSHA */ | ||
| 123 | 0x2B,0x0E,0x03,0x02,0x0C, /* [368] OBJ_dsa_2 */ | ||
| 124 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x05,0x0B,/* [373] OBJ_pbeWithSHA1AndRC2_CBC */ | ||
| 125 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x05,0x0C,/* [382] OBJ_pbeWithSHA1AndRC4 */ | ||
| 126 | 0x2B,0x0E,0x03,0x02,0x1B, /* [391] OBJ_dsaWithSHA1_2 */ | ||
| 127 | 0x60,0x86,0x48,0x01,0x86,0xF8,0x42,0x01,0x01,/* [396] OBJ_netscape_cert_type */ | ||
| 128 | 0x60,0x86,0x48,0x01,0x86,0xF8,0x42,0x01,0x02,/* [405] OBJ_netscape_base_url */ | ||
| 129 | 0x60,0x86,0x48,0x01,0x86,0xF8,0x42,0x01,0x03,/* [414] OBJ_netscape_revocation_url */ | ||
| 130 | 0x60,0x86,0x48,0x01,0x86,0xF8,0x42,0x01,0x04,/* [423] OBJ_netscape_ca_revocation_url */ | ||
| 131 | 0x60,0x86,0x48,0x01,0x86,0xF8,0x42,0x01,0x07,/* [432] OBJ_netscape_renewal_url */ | ||
| 132 | 0x60,0x86,0x48,0x01,0x86,0xF8,0x42,0x01,0x08,/* [441] OBJ_netscape_ca_policy_url */ | ||
| 133 | 0x60,0x86,0x48,0x01,0x86,0xF8,0x42,0x01,0x0C,/* [450] OBJ_netscape_ssl_server_name */ | ||
| 134 | 0x60,0x86,0x48,0x01,0x86,0xF8,0x42,0x01,0x0D,/* [459] OBJ_netscape_comment */ | ||
| 135 | 0x60,0x86,0x48,0x01,0x86,0xF8,0x42,0x02,0x05,/* [468] OBJ_netscape_cert_sequence */ | ||
| 136 | 0x55,0x1D, /* [477] OBJ_ld_ce */ | ||
| 137 | 0x55,0x1D,0x0E, /* [479] OBJ_subject_key_identifier */ | ||
| 138 | 0x55,0x1D,0x0F, /* [482] OBJ_key_usage */ | ||
| 139 | 0x55,0x1D,0x10, /* [485] OBJ_private_key_usage_period */ | ||
| 140 | 0x55,0x1D,0x11, /* [488] OBJ_subject_alt_name */ | ||
| 141 | 0x55,0x1D,0x12, /* [491] OBJ_issuer_alt_name */ | ||
| 142 | 0x55,0x1D,0x13, /* [494] OBJ_basic_constraints */ | ||
| 143 | 0x55,0x1D,0x14, /* [497] OBJ_crl_number */ | ||
| 144 | 0x55,0x1D,0x20, /* [500] OBJ_certificate_policies */ | ||
| 145 | 0x55,0x1D,0x23, /* [503] OBJ_authority_key_identifier */ | ||
| 146 | 0x55,0x08,0x03,0x65, /* [506] OBJ_mdc2 */ | ||
| 147 | 0x55,0x08,0x03,0x64, /* [510] OBJ_mdc2WithRSA */ | ||
| 148 | 0x55,0x04,0x2A, /* [514] OBJ_givenName */ | ||
| 149 | 0x55,0x04,0x04, /* [517] OBJ_surname */ | ||
| 150 | 0x55,0x04,0x2B, /* [520] OBJ_initials */ | ||
| 151 | 0x55,0x04,0x2D, /* [523] OBJ_uniqueIdentifier */ | ||
| 152 | 0x55,0x1D,0x1F, /* [526] OBJ_crl_distribution_points */ | ||
| 153 | 0x2B,0x0E,0x03,0x02,0x03, /* [529] OBJ_md5WithRSA */ | ||
| 154 | 0x55,0x04,0x05, /* [534] OBJ_serialNumber */ | ||
| 155 | 0x55,0x04,0x0C, /* [537] OBJ_title */ | ||
| 156 | 0x55,0x04,0x0D, /* [540] OBJ_description */ | ||
| 157 | 0x2A,0x86,0x48,0x86,0xF6,0x7D,0x07,0x42,0x0A,/* [543] OBJ_cast5_cbc */ | ||
| 158 | 0x2A,0x86,0x48,0x86,0xF6,0x7D,0x07,0x42,0x0C,/* [552] OBJ_pbeWithMD5AndCast5_CBC */ | ||
| 159 | 0x2A,0x86,0x48,0xCE,0x38,0x04,0x03, /* [561] OBJ_dsaWithSHA1 */ | ||
| 160 | 0x2B,0x0E,0x03,0x02,0x1D, /* [568] OBJ_sha1WithRSA */ | ||
| 161 | 0x2A,0x86,0x48,0xCE,0x38,0x04,0x01, /* [573] OBJ_dsa */ | ||
| 162 | 0x2B,0x24,0x03,0x02,0x01, /* [580] OBJ_ripemd160 */ | ||
| 163 | 0x2B,0x24,0x03,0x03,0x01,0x02, /* [585] OBJ_ripemd160WithRSA */ | ||
| 164 | 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x03,0x08, /* [591] OBJ_rc5_cbc */ | ||
| 165 | }; | ||
| 166 | |||
| 167 | static ASN1_OBJECT nid_objs[NUM_NID]={ | ||
| 168 | {"UNDEF","undefined",NID_undef,0,NULL}, | ||
| 169 | {"rsadsi","rsadsi",NID_rsadsi,6,&(lvalues[0]),0}, | ||
| 170 | {"pkcs","pkcs",NID_pkcs,7,&(lvalues[6]),0}, | ||
| 171 | {"MD2","md2",NID_md2,8,&(lvalues[13]),0}, | ||
| 172 | {"MD5","md5",NID_md5,8,&(lvalues[21]),0}, | ||
| 173 | {"RC4","rc4",NID_rc4,8,&(lvalues[29]),0}, | ||
| 174 | {"rsaEncryption","rsaEncryption",NID_rsaEncryption,9,&(lvalues[37]),0}, | ||
| 175 | {"RSA-MD2","md2WithRSAEncryption",NID_md2WithRSAEncryption,9, | ||
| 176 | &(lvalues[46]),0}, | ||
| 177 | {"RSA-MD5","md5WithRSAEncryption",NID_md5WithRSAEncryption,9, | ||
| 178 | &(lvalues[55]),0}, | ||
| 179 | {"pbeWithMD2AndDES-CBC","pbeWithMD2AndDES-CBC", | ||
| 180 | NID_pbeWithMD2AndDES_CBC,9,&(lvalues[64]),0}, | ||
| 181 | {"pbeWithMD5AndDES-CBC","pbeWithMD5AndDES-CBC", | ||
| 182 | NID_pbeWithMD5AndDES_CBC,9,&(lvalues[73]),0}, | ||
| 183 | {"X500","X500",NID_X500,1,&(lvalues[82]),0}, | ||
| 184 | {"X509","X509",NID_X509,2,&(lvalues[83]),0}, | ||
| 185 | {"CN","commonName",NID_commonName,3,&(lvalues[85]),0}, | ||
| 186 | {"C","countryName",NID_countryName,3,&(lvalues[88]),0}, | ||
| 187 | {"L","localityName",NID_localityName,3,&(lvalues[91]),0}, | ||
| 188 | {"ST","stateOrProvinceName",NID_stateOrProvinceName,3,&(lvalues[94]),0}, | ||
| 189 | {"O","organizationName",NID_organizationName,3,&(lvalues[97]),0}, | ||
| 190 | {"OU","organizationalUnitName",NID_organizationalUnitName,3, | ||
| 191 | &(lvalues[100]),0}, | ||
| 192 | {"RSA","rsa",NID_rsa,4,&(lvalues[103]),0}, | ||
| 193 | {"pkcs7","pkcs7",NID_pkcs7,8,&(lvalues[107]),0}, | ||
| 194 | {"pkcs7-data","pkcs7-data",NID_pkcs7_data,9,&(lvalues[115]),0}, | ||
| 195 | {"pkcs7-signedData","pkcs7-signedData",NID_pkcs7_signed,9, | ||
| 196 | &(lvalues[124]),0}, | ||
| 197 | {"pkcs7-envelopedData","pkcs7-envelopedData",NID_pkcs7_enveloped,9, | ||
| 198 | &(lvalues[133]),0}, | ||
| 199 | {"pkcs7-signedAndEnvelopedData","pkcs7-signedAndEnvelopedData", | ||
| 200 | NID_pkcs7_signedAndEnveloped,9,&(lvalues[142]),0}, | ||
| 201 | {"pkcs7-digestData","pkcs7-digestData",NID_pkcs7_digest,9, | ||
| 202 | &(lvalues[151]),0}, | ||
| 203 | {"pkcs7-encryptedData","pkcs7-encryptedData",NID_pkcs7_encrypted,9, | ||
| 204 | &(lvalues[160]),0}, | ||
| 205 | {"pkcs3","pkcs3",NID_pkcs3,8,&(lvalues[169]),0}, | ||
| 206 | {"dhKeyAgreement","dhKeyAgreement",NID_dhKeyAgreement,9, | ||
| 207 | &(lvalues[177]),0}, | ||
| 208 | {"DES-ECB","des-ecb",NID_des_ecb,5,&(lvalues[186]),0}, | ||
| 209 | {"DES-CFB","des-cfb",NID_des_cfb64,5,&(lvalues[191]),0}, | ||
| 210 | {"DES-CBC","des-cbc",NID_des_cbc,5,&(lvalues[196]),0}, | ||
| 211 | {"DES-EDE","des-ede",NID_des_ede,5,&(lvalues[201]),0}, | ||
| 212 | {"DES-EDE3","des-ede3",NID_des_ede3,0,NULL}, | ||
| 213 | {"IDEA-CBC","idea-cbc",NID_idea_cbc,0,NULL}, | ||
| 214 | {"IDEA-CFB","idea-cfb",NID_idea_cfb64,0,NULL}, | ||
| 215 | {"IDEA-ECB","idea-ecb",NID_idea_ecb,0,NULL}, | ||
| 216 | {"RC2-CBC","rc2-cbc",NID_rc2_cbc,8,&(lvalues[206]),0}, | ||
| 217 | {"RC2-ECB","rc2-ecb",NID_rc2_ecb,0,NULL}, | ||
| 218 | {"RC2-CFB","rc2-cfb",NID_rc2_cfb64,0,NULL}, | ||
| 219 | {"RC2-OFB","rc2-ofb",NID_rc2_ofb64,0,NULL}, | ||
| 220 | {"SHA","sha",NID_sha,5,&(lvalues[214]),0}, | ||
| 221 | {"RSA-SHA","shaWithRSAEncryption",NID_shaWithRSAEncryption,5, | ||
| 222 | &(lvalues[219]),0}, | ||
| 223 | {"DES-EDE-CBC","des-ede-cbc",NID_des_ede_cbc,0,NULL}, | ||
| 224 | {"DES-EDE3-CBC","des-ede3-cbc",NID_des_ede3_cbc,8,&(lvalues[224]),0}, | ||
| 225 | {"DES-OFB","des-ofb",NID_des_ofb64,5,&(lvalues[232]),0}, | ||
| 226 | {"IDEA-OFB","idea-ofb",NID_idea_ofb64,0,NULL}, | ||
| 227 | {"pkcs9","pkcs9",NID_pkcs9,8,&(lvalues[237]),0}, | ||
| 228 | {"Email","emailAddress",NID_pkcs9_emailAddress,9,&(lvalues[245]),0}, | ||
| 229 | {"unstructuredName","unstructuredName",NID_pkcs9_unstructuredName,9, | ||
| 230 | &(lvalues[254]),0}, | ||
| 231 | {"contentType","contentType",NID_pkcs9_contentType,9,&(lvalues[263]),0}, | ||
| 232 | {"messageDigest","messageDigest",NID_pkcs9_messageDigest,9, | ||
| 233 | &(lvalues[272]),0}, | ||
| 234 | {"signingTime","signingTime",NID_pkcs9_signingTime,9,&(lvalues[281]),0}, | ||
| 235 | {"countersignature","countersignature",NID_pkcs9_countersignature,9, | ||
| 236 | &(lvalues[290]),0}, | ||
| 237 | {"challengePassword","challengePassword",NID_pkcs9_challengePassword, | ||
| 238 | 9,&(lvalues[299]),0}, | ||
| 239 | {"unstructuredAddress","unstructuredAddress", | ||
| 240 | NID_pkcs9_unstructuredAddress,9,&(lvalues[308]),0}, | ||
| 241 | {"extendedCertificateAttributes","extendedCertificateAttributes", | ||
| 242 | NID_pkcs9_extCertAttributes,9,&(lvalues[317]),0}, | ||
| 243 | {"Netscape","Netscape Communications Corp.",NID_netscape,7, | ||
| 244 | &(lvalues[326]),0}, | ||
| 245 | {"nsCertExt","Netscape Certificate Extension", | ||
| 246 | NID_netscape_cert_extension,8,&(lvalues[333]),0}, | ||
| 247 | {"nsDataType","Netscape Data Type",NID_netscape_data_type,8, | ||
| 248 | &(lvalues[341]),0}, | ||
| 249 | {"DES-EDE-CFB","des-ede-cfb",NID_des_ede_cfb64,0,NULL}, | ||
| 250 | {"DES-EDE3-CFB","des-ede3-cfb",NID_des_ede3_cfb64,0,NULL}, | ||
| 251 | {"DES-EDE-OFB","des-ede-ofb",NID_des_ede_ofb64,0,NULL}, | ||
| 252 | {"DES-EDE3-OFB","des-ede3-ofb",NID_des_ede3_ofb64,0,NULL}, | ||
| 253 | {"SHA1","sha1",NID_sha1,5,&(lvalues[349]),0}, | ||
| 254 | {"RSA-SHA1","sha1WithRSAEncryption",NID_sha1WithRSAEncryption,9, | ||
| 255 | &(lvalues[354]),0}, | ||
| 256 | {"DSA-SHA","dsaWithSHA",NID_dsaWithSHA,5,&(lvalues[363]),0}, | ||
| 257 | {"DSA-old","dsaEncryption-old",NID_dsa_2,5,&(lvalues[368]),0}, | ||
| 258 | {"pbeWithSHA1AndRC2-CBC","pbeWithSHA1AndRC2-CBC", | ||
| 259 | NID_pbeWithSHA1AndRC2_CBC,9,&(lvalues[373]),0}, | ||
| 260 | {"pbeWithSHA1AndRC4","pbeWithSHA1AndRC4",NID_pbeWithSHA1AndRC4,9, | ||
| 261 | &(lvalues[382]),0}, | ||
| 262 | {"DSA-SHA1-old","dsaWithSHA1",NID_dsaWithSHA1_2,5,&(lvalues[391]),0}, | ||
| 263 | {"nsCertType","Netscape Cert Type",NID_netscape_cert_type,9, | ||
| 264 | &(lvalues[396]),0}, | ||
| 265 | {"nsBaseUrl","Netscape Base Url",NID_netscape_base_url,9, | ||
| 266 | &(lvalues[405]),0}, | ||
| 267 | {"nsRevocationUrl","Netscape Revocation Url", | ||
| 268 | NID_netscape_revocation_url,9,&(lvalues[414]),0}, | ||
| 269 | {"nsCaRevocationUrl","Netscape CA Revocation Url", | ||
| 270 | NID_netscape_ca_revocation_url,9,&(lvalues[423]),0}, | ||
| 271 | {"nsRenewalUrl","Netscape Renewal Url",NID_netscape_renewal_url,9, | ||
| 272 | &(lvalues[432]),0}, | ||
| 273 | {"nsCaPolicyUrl","Netscape CA Policy Url",NID_netscape_ca_policy_url, | ||
| 274 | 9,&(lvalues[441]),0}, | ||
| 275 | {"nsSslServerName","Netscape SSL Server Name", | ||
| 276 | NID_netscape_ssl_server_name,9,&(lvalues[450]),0}, | ||
| 277 | {"nsComment","Netscape Comment",NID_netscape_comment,9,&(lvalues[459]),0}, | ||
| 278 | {"nsCertSequence","Netscape Certificate Sequence", | ||
| 279 | NID_netscape_cert_sequence,9,&(lvalues[468]),0}, | ||
| 280 | {"DESX-CBC","desx-cbc",NID_desx_cbc,0,NULL}, | ||
| 281 | {"ld-ce","ld-ce",NID_ld_ce,2,&(lvalues[477]),0}, | ||
| 282 | {"subjectKeyIdentifier","X509v3 Subject Key Identifier", | ||
| 283 | NID_subject_key_identifier,3,&(lvalues[479]),0}, | ||
| 284 | {"keyUsage","X509v3 Key Usage",NID_key_usage,3,&(lvalues[482]),0}, | ||
| 285 | {"privateKeyUsagePeriod","X509v3 Private Key Usage Period", | ||
| 286 | NID_private_key_usage_period,3,&(lvalues[485]),0}, | ||
| 287 | {"subjectAltName","X509v3 Subject Alternative Name", | ||
| 288 | NID_subject_alt_name,3,&(lvalues[488]),0}, | ||
| 289 | {"issuerAltName","X509v3 Issuer Alternative Name",NID_issuer_alt_name, | ||
| 290 | 3,&(lvalues[491]),0}, | ||
| 291 | {"basicConstraints","X509v3 Basic Constraints",NID_basic_constraints, | ||
| 292 | 3,&(lvalues[494]),0}, | ||
| 293 | {"crlNumber","X509v3 CRL Number",NID_crl_number,3,&(lvalues[497]),0}, | ||
| 294 | {"certificatePolicies","X509v3 Certificate Policies", | ||
| 295 | NID_certificate_policies,3,&(lvalues[500]),0}, | ||
| 296 | {"authorityKeyIdentifier","X509v3 Authority Key Identifier", | ||
| 297 | NID_authority_key_identifier,3,&(lvalues[503]),0}, | ||
| 298 | {"BF-CBC","bf-cbc",NID_bf_cbc,0,NULL}, | ||
| 299 | {"BF-ECB","bf-ecb",NID_bf_ecb,0,NULL}, | ||
| 300 | {"BF-CFB","bf-cfb",NID_bf_cfb64,0,NULL}, | ||
| 301 | {"BF-OFB","bf-ofb",NID_bf_ofb64,0,NULL}, | ||
| 302 | {"MDC2","mdc2",NID_mdc2,4,&(lvalues[506]),0}, | ||
| 303 | {"RSA-MDC2","mdc2withRSA",NID_mdc2WithRSA,4,&(lvalues[510]),0}, | ||
| 304 | {"RC4-40","rc4-40",NID_rc4_40,0,NULL}, | ||
| 305 | {"RC2-40-CBC","rc2-40-cbc",NID_rc2_40_cbc,0,NULL}, | ||
| 306 | {"G","givenName",NID_givenName,3,&(lvalues[514]),0}, | ||
| 307 | {"S","surname",NID_surname,3,&(lvalues[517]),0}, | ||
| 308 | {"I","initials",NID_initials,3,&(lvalues[520]),0}, | ||
| 309 | {"UID","uniqueIdentifier",NID_uniqueIdentifier,3,&(lvalues[523]),0}, | ||
| 310 | {"crlDistributionPoints","X509v3 CRL Distribution Points", | ||
| 311 | NID_crl_distribution_points,3,&(lvalues[526]),0}, | ||
| 312 | {"RSA-NP-MD5","md5WithRSA",NID_md5WithRSA,5,&(lvalues[529]),0}, | ||
| 313 | {"SN","serialNumber",NID_serialNumber,3,&(lvalues[534]),0}, | ||
| 314 | {"T","title",NID_title,3,&(lvalues[537]),0}, | ||
| 315 | {"D","description",NID_description,3,&(lvalues[540]),0}, | ||
| 316 | {"CAST5-CBC","cast5-cbc",NID_cast5_cbc,9,&(lvalues[543]),0}, | ||
| 317 | {"CAST5-ECB","cast5-ecb",NID_cast5_ecb,0,NULL}, | ||
| 318 | {"CAST5-CFB","cast5-cfb",NID_cast5_cfb64,0,NULL}, | ||
| 319 | {"CAST5-OFB","cast5-ofb",NID_cast5_ofb64,0,NULL}, | ||
| 320 | {"pbeWithMD5AndCast5CBC","pbeWithMD5AndCast5CBC", | ||
| 321 | NID_pbeWithMD5AndCast5_CBC,9,&(lvalues[552]),0}, | ||
| 322 | {"DSA-SHA1","dsaWithSHA1",NID_dsaWithSHA1,7,&(lvalues[561]),0}, | ||
| 323 | {"MD5-SHA1","md5-sha1",NID_md5_sha1,0,NULL}, | ||
| 324 | {"RSA-SHA1-2","sha1WithRSA",NID_sha1WithRSA,5,&(lvalues[568]),0}, | ||
| 325 | {"DSA","dsaEncryption",NID_dsa,7,&(lvalues[573]),0}, | ||
| 326 | {"RIPEMD160","ripemd160",NID_ripemd160,5,&(lvalues[580]),0}, | ||
| 327 | {NULL,NULL,NID_undef,0,NULL}, | ||
| 328 | {"RSA-RIPEMD160","ripemd160WithRSA",NID_ripemd160WithRSA,6, | ||
| 329 | &(lvalues[585]),0}, | ||
| 330 | {"RC5-CBC","rc5-cbc",NID_rc5_cbc,8,&(lvalues[591]),0}, | ||
| 331 | {"RC5-ECB","rc5-ecb",NID_rc5_ecb,0,NULL}, | ||
| 332 | {"RC5-CFB","rc5-cfb",NID_rc5_cfb64,0,NULL}, | ||
| 333 | {"RC5-OFB","rc5-ofb",NID_rc5_ofb64,0,NULL}, | ||
| 334 | }; | ||
| 335 | |||
| 336 | static ASN1_OBJECT *sn_objs[NUM_SN]={ | ||
| 337 | &(nid_objs[91]),/* "BF-CBC" */ | ||
| 338 | &(nid_objs[93]),/* "BF-CFB" */ | ||
| 339 | &(nid_objs[92]),/* "BF-ECB" */ | ||
| 340 | &(nid_objs[94]),/* "BF-OFB" */ | ||
| 341 | &(nid_objs[14]),/* "C" */ | ||
| 342 | &(nid_objs[108]),/* "CAST5-CBC" */ | ||
| 343 | &(nid_objs[110]),/* "CAST5-CFB" */ | ||
| 344 | &(nid_objs[109]),/* "CAST5-ECB" */ | ||
| 345 | &(nid_objs[111]),/* "CAST5-OFB" */ | ||
| 346 | &(nid_objs[13]),/* "CN" */ | ||
| 347 | &(nid_objs[107]),/* "D" */ | ||
| 348 | &(nid_objs[31]),/* "DES-CBC" */ | ||
| 349 | &(nid_objs[30]),/* "DES-CFB" */ | ||
| 350 | &(nid_objs[29]),/* "DES-ECB" */ | ||
| 351 | &(nid_objs[32]),/* "DES-EDE" */ | ||
| 352 | &(nid_objs[43]),/* "DES-EDE-CBC" */ | ||
| 353 | &(nid_objs[60]),/* "DES-EDE-CFB" */ | ||
| 354 | &(nid_objs[62]),/* "DES-EDE-OFB" */ | ||
| 355 | &(nid_objs[33]),/* "DES-EDE3" */ | ||
| 356 | &(nid_objs[44]),/* "DES-EDE3-CBC" */ | ||
| 357 | &(nid_objs[61]),/* "DES-EDE3-CFB" */ | ||
| 358 | &(nid_objs[63]),/* "DES-EDE3-OFB" */ | ||
| 359 | &(nid_objs[45]),/* "DES-OFB" */ | ||
| 360 | &(nid_objs[80]),/* "DESX-CBC" */ | ||
| 361 | &(nid_objs[116]),/* "DSA" */ | ||
| 362 | &(nid_objs[66]),/* "DSA-SHA" */ | ||
| 363 | &(nid_objs[113]),/* "DSA-SHA1" */ | ||
| 364 | &(nid_objs[70]),/* "DSA-SHA1-old" */ | ||
| 365 | &(nid_objs[67]),/* "DSA-old" */ | ||
| 366 | &(nid_objs[48]),/* "Email" */ | ||
| 367 | &(nid_objs[99]),/* "G" */ | ||
| 368 | &(nid_objs[101]),/* "I" */ | ||
| 369 | &(nid_objs[34]),/* "IDEA-CBC" */ | ||
| 370 | &(nid_objs[35]),/* "IDEA-CFB" */ | ||
| 371 | &(nid_objs[36]),/* "IDEA-ECB" */ | ||
| 372 | &(nid_objs[46]),/* "IDEA-OFB" */ | ||
| 373 | &(nid_objs[15]),/* "L" */ | ||
| 374 | &(nid_objs[ 3]),/* "MD2" */ | ||
| 375 | &(nid_objs[ 4]),/* "MD5" */ | ||
| 376 | &(nid_objs[114]),/* "MD5-SHA1" */ | ||
| 377 | &(nid_objs[95]),/* "MDC2" */ | ||
| 378 | &(nid_objs[57]),/* "Netscape" */ | ||
| 379 | &(nid_objs[17]),/* "O" */ | ||
| 380 | &(nid_objs[18]),/* "OU" */ | ||
| 381 | &(nid_objs[98]),/* "RC2-40-CBC" */ | ||
| 382 | &(nid_objs[37]),/* "RC2-CBC" */ | ||
| 383 | &(nid_objs[39]),/* "RC2-CFB" */ | ||
| 384 | &(nid_objs[38]),/* "RC2-ECB" */ | ||
| 385 | &(nid_objs[40]),/* "RC2-OFB" */ | ||
| 386 | &(nid_objs[ 5]),/* "RC4" */ | ||
| 387 | &(nid_objs[97]),/* "RC4-40" */ | ||
| 388 | &(nid_objs[120]),/* "RC5-CBC" */ | ||
| 389 | &(nid_objs[122]),/* "RC5-CFB" */ | ||
| 390 | &(nid_objs[121]),/* "RC5-ECB" */ | ||
| 391 | &(nid_objs[123]),/* "RC5-OFB" */ | ||
| 392 | &(nid_objs[117]),/* "RIPEMD160" */ | ||
| 393 | &(nid_objs[19]),/* "RSA" */ | ||
| 394 | &(nid_objs[ 7]),/* "RSA-MD2" */ | ||
| 395 | &(nid_objs[ 8]),/* "RSA-MD5" */ | ||
| 396 | &(nid_objs[96]),/* "RSA-MDC2" */ | ||
| 397 | &(nid_objs[104]),/* "RSA-NP-MD5" */ | ||
| 398 | &(nid_objs[119]),/* "RSA-RIPEMD160" */ | ||
| 399 | &(nid_objs[42]),/* "RSA-SHA" */ | ||
| 400 | &(nid_objs[65]),/* "RSA-SHA1" */ | ||
| 401 | &(nid_objs[115]),/* "RSA-SHA1-2" */ | ||
| 402 | &(nid_objs[100]),/* "S" */ | ||
| 403 | &(nid_objs[41]),/* "SHA" */ | ||
| 404 | &(nid_objs[64]),/* "SHA1" */ | ||
| 405 | &(nid_objs[105]),/* "SN" */ | ||
| 406 | &(nid_objs[16]),/* "ST" */ | ||
| 407 | &(nid_objs[106]),/* "T" */ | ||
| 408 | &(nid_objs[102]),/* "UID" */ | ||
| 409 | &(nid_objs[ 0]),/* "UNDEF" */ | ||
| 410 | &(nid_objs[90]),/* "authorityKeyIdentifier" */ | ||
| 411 | &(nid_objs[87]),/* "basicConstraints" */ | ||
| 412 | &(nid_objs[89]),/* "certificatePolicies" */ | ||
| 413 | &(nid_objs[103]),/* "crlDistributionPoints" */ | ||
| 414 | &(nid_objs[88]),/* "crlNumber" */ | ||
| 415 | &(nid_objs[86]),/* "issuerAltName" */ | ||
| 416 | &(nid_objs[83]),/* "keyUsage" */ | ||
| 417 | &(nid_objs[81]),/* "ld-ce" */ | ||
| 418 | &(nid_objs[72]),/* "nsBaseUrl" */ | ||
| 419 | &(nid_objs[76]),/* "nsCaPolicyUrl" */ | ||
| 420 | &(nid_objs[74]),/* "nsCaRevocationUrl" */ | ||
| 421 | &(nid_objs[58]),/* "nsCertExt" */ | ||
| 422 | &(nid_objs[79]),/* "nsCertSequence" */ | ||
| 423 | &(nid_objs[71]),/* "nsCertType" */ | ||
| 424 | &(nid_objs[78]),/* "nsComment" */ | ||
| 425 | &(nid_objs[59]),/* "nsDataType" */ | ||
| 426 | &(nid_objs[75]),/* "nsRenewalUrl" */ | ||
| 427 | &(nid_objs[73]),/* "nsRevocationUrl" */ | ||
| 428 | &(nid_objs[77]),/* "nsSslServerName" */ | ||
| 429 | &(nid_objs[84]),/* "privateKeyUsagePeriod" */ | ||
| 430 | &(nid_objs[85]),/* "subjectAltName" */ | ||
| 431 | &(nid_objs[82]),/* "subjectKeyIdentifier" */ | ||
| 432 | }; | ||
| 433 | |||
| 434 | static ASN1_OBJECT *ln_objs[NUM_LN]={ | ||
| 435 | &(nid_objs[72]),/* "Netscape Base Url" */ | ||
| 436 | &(nid_objs[76]),/* "Netscape CA Policy Url" */ | ||
| 437 | &(nid_objs[74]),/* "Netscape CA Revocation Url" */ | ||
| 438 | &(nid_objs[71]),/* "Netscape Cert Type" */ | ||
| 439 | &(nid_objs[58]),/* "Netscape Certificate Extension" */ | ||
| 440 | &(nid_objs[79]),/* "Netscape Certificate Sequence" */ | ||
| 441 | &(nid_objs[78]),/* "Netscape Comment" */ | ||
| 442 | &(nid_objs[57]),/* "Netscape Communications Corp." */ | ||
| 443 | &(nid_objs[59]),/* "Netscape Data Type" */ | ||
| 444 | &(nid_objs[75]),/* "Netscape Renewal Url" */ | ||
| 445 | &(nid_objs[73]),/* "Netscape Revocation Url" */ | ||
| 446 | &(nid_objs[77]),/* "Netscape SSL Server Name" */ | ||
| 447 | &(nid_objs[11]),/* "X500" */ | ||
| 448 | &(nid_objs[12]),/* "X509" */ | ||
| 449 | &(nid_objs[90]),/* "X509v3 Authority Key Identifier" */ | ||
| 450 | &(nid_objs[87]),/* "X509v3 Basic Constraints" */ | ||
| 451 | &(nid_objs[103]),/* "X509v3 CRL Distribution Points" */ | ||
| 452 | &(nid_objs[88]),/* "X509v3 CRL Number" */ | ||
| 453 | &(nid_objs[89]),/* "X509v3 Certificate Policies" */ | ||
| 454 | &(nid_objs[86]),/* "X509v3 Issuer Alternative Name" */ | ||
| 455 | &(nid_objs[83]),/* "X509v3 Key Usage" */ | ||
| 456 | &(nid_objs[84]),/* "X509v3 Private Key Usage Period" */ | ||
| 457 | &(nid_objs[85]),/* "X509v3 Subject Alternative Name" */ | ||
| 458 | &(nid_objs[82]),/* "X509v3 Subject Key Identifier" */ | ||
| 459 | &(nid_objs[91]),/* "bf-cbc" */ | ||
| 460 | &(nid_objs[93]),/* "bf-cfb" */ | ||
| 461 | &(nid_objs[92]),/* "bf-ecb" */ | ||
| 462 | &(nid_objs[94]),/* "bf-ofb" */ | ||
| 463 | &(nid_objs[108]),/* "cast5-cbc" */ | ||
| 464 | &(nid_objs[110]),/* "cast5-cfb" */ | ||
| 465 | &(nid_objs[109]),/* "cast5-ecb" */ | ||
| 466 | &(nid_objs[111]),/* "cast5-ofb" */ | ||
| 467 | &(nid_objs[54]),/* "challengePassword" */ | ||
| 468 | &(nid_objs[13]),/* "commonName" */ | ||
| 469 | &(nid_objs[50]),/* "contentType" */ | ||
| 470 | &(nid_objs[53]),/* "countersignature" */ | ||
| 471 | &(nid_objs[14]),/* "countryName" */ | ||
| 472 | &(nid_objs[31]),/* "des-cbc" */ | ||
| 473 | &(nid_objs[30]),/* "des-cfb" */ | ||
| 474 | &(nid_objs[29]),/* "des-ecb" */ | ||
| 475 | &(nid_objs[32]),/* "des-ede" */ | ||
| 476 | &(nid_objs[43]),/* "des-ede-cbc" */ | ||
| 477 | &(nid_objs[60]),/* "des-ede-cfb" */ | ||
| 478 | &(nid_objs[62]),/* "des-ede-ofb" */ | ||
| 479 | &(nid_objs[33]),/* "des-ede3" */ | ||
| 480 | &(nid_objs[44]),/* "des-ede3-cbc" */ | ||
| 481 | &(nid_objs[61]),/* "des-ede3-cfb" */ | ||
| 482 | &(nid_objs[63]),/* "des-ede3-ofb" */ | ||
| 483 | &(nid_objs[45]),/* "des-ofb" */ | ||
| 484 | &(nid_objs[107]),/* "description" */ | ||
| 485 | &(nid_objs[80]),/* "desx-cbc" */ | ||
| 486 | &(nid_objs[28]),/* "dhKeyAgreement" */ | ||
| 487 | &(nid_objs[116]),/* "dsaEncryption" */ | ||
| 488 | &(nid_objs[67]),/* "dsaEncryption-old" */ | ||
| 489 | &(nid_objs[66]),/* "dsaWithSHA" */ | ||
| 490 | &(nid_objs[113]),/* "dsaWithSHA1" */ | ||
| 491 | &(nid_objs[70]),/* "dsaWithSHA1" */ | ||
| 492 | &(nid_objs[48]),/* "emailAddress" */ | ||
| 493 | &(nid_objs[56]),/* "extendedCertificateAttributes" */ | ||
| 494 | &(nid_objs[99]),/* "givenName" */ | ||
| 495 | &(nid_objs[34]),/* "idea-cbc" */ | ||
| 496 | &(nid_objs[35]),/* "idea-cfb" */ | ||
| 497 | &(nid_objs[36]),/* "idea-ecb" */ | ||
| 498 | &(nid_objs[46]),/* "idea-ofb" */ | ||
| 499 | &(nid_objs[101]),/* "initials" */ | ||
| 500 | &(nid_objs[15]),/* "localityName" */ | ||
| 501 | &(nid_objs[ 3]),/* "md2" */ | ||
| 502 | &(nid_objs[ 7]),/* "md2WithRSAEncryption" */ | ||
| 503 | &(nid_objs[ 4]),/* "md5" */ | ||
| 504 | &(nid_objs[114]),/* "md5-sha1" */ | ||
| 505 | &(nid_objs[104]),/* "md5WithRSA" */ | ||
| 506 | &(nid_objs[ 8]),/* "md5WithRSAEncryption" */ | ||
| 507 | &(nid_objs[95]),/* "mdc2" */ | ||
| 508 | &(nid_objs[96]),/* "mdc2withRSA" */ | ||
| 509 | &(nid_objs[51]),/* "messageDigest" */ | ||
| 510 | &(nid_objs[17]),/* "organizationName" */ | ||
| 511 | &(nid_objs[18]),/* "organizationalUnitName" */ | ||
| 512 | &(nid_objs[ 9]),/* "pbeWithMD2AndDES-CBC" */ | ||
| 513 | &(nid_objs[112]),/* "pbeWithMD5AndCast5CBC" */ | ||
| 514 | &(nid_objs[10]),/* "pbeWithMD5AndDES-CBC" */ | ||
| 515 | &(nid_objs[68]),/* "pbeWithSHA1AndRC2-CBC" */ | ||
| 516 | &(nid_objs[69]),/* "pbeWithSHA1AndRC4" */ | ||
| 517 | &(nid_objs[ 2]),/* "pkcs" */ | ||
| 518 | &(nid_objs[27]),/* "pkcs3" */ | ||
| 519 | &(nid_objs[20]),/* "pkcs7" */ | ||
| 520 | &(nid_objs[21]),/* "pkcs7-data" */ | ||
| 521 | &(nid_objs[25]),/* "pkcs7-digestData" */ | ||
| 522 | &(nid_objs[26]),/* "pkcs7-encryptedData" */ | ||
| 523 | &(nid_objs[23]),/* "pkcs7-envelopedData" */ | ||
| 524 | &(nid_objs[24]),/* "pkcs7-signedAndEnvelopedData" */ | ||
| 525 | &(nid_objs[22]),/* "pkcs7-signedData" */ | ||
| 526 | &(nid_objs[47]),/* "pkcs9" */ | ||
| 527 | &(nid_objs[98]),/* "rc2-40-cbc" */ | ||
| 528 | &(nid_objs[37]),/* "rc2-cbc" */ | ||
| 529 | &(nid_objs[39]),/* "rc2-cfb" */ | ||
| 530 | &(nid_objs[38]),/* "rc2-ecb" */ | ||
| 531 | &(nid_objs[40]),/* "rc2-ofb" */ | ||
| 532 | &(nid_objs[ 5]),/* "rc4" */ | ||
| 533 | &(nid_objs[97]),/* "rc4-40" */ | ||
| 534 | &(nid_objs[120]),/* "rc5-cbc" */ | ||
| 535 | &(nid_objs[122]),/* "rc5-cfb" */ | ||
| 536 | &(nid_objs[121]),/* "rc5-ecb" */ | ||
| 537 | &(nid_objs[123]),/* "rc5-ofb" */ | ||
| 538 | &(nid_objs[117]),/* "ripemd160" */ | ||
| 539 | &(nid_objs[119]),/* "ripemd160WithRSA" */ | ||
| 540 | &(nid_objs[19]),/* "rsa" */ | ||
| 541 | &(nid_objs[ 6]),/* "rsaEncryption" */ | ||
| 542 | &(nid_objs[ 1]),/* "rsadsi" */ | ||
| 543 | &(nid_objs[105]),/* "serialNumber" */ | ||
| 544 | &(nid_objs[41]),/* "sha" */ | ||
| 545 | &(nid_objs[64]),/* "sha1" */ | ||
| 546 | &(nid_objs[115]),/* "sha1WithRSA" */ | ||
| 547 | &(nid_objs[65]),/* "sha1WithRSAEncryption" */ | ||
| 548 | &(nid_objs[42]),/* "shaWithRSAEncryption" */ | ||
| 549 | &(nid_objs[52]),/* "signingTime" */ | ||
| 550 | &(nid_objs[16]),/* "stateOrProvinceName" */ | ||
| 551 | &(nid_objs[100]),/* "surname" */ | ||
| 552 | &(nid_objs[106]),/* "title" */ | ||
| 553 | &(nid_objs[ 0]),/* "undefined" */ | ||
| 554 | &(nid_objs[102]),/* "uniqueIdentifier" */ | ||
| 555 | &(nid_objs[55]),/* "unstructuredAddress" */ | ||
| 556 | &(nid_objs[49]),/* "unstructuredName" */ | ||
| 557 | }; | ||
| 558 | |||
| 559 | static ASN1_OBJECT *obj_objs[NUM_OBJ]={ | ||
| 560 | &(nid_objs[11]),/* OBJ_X500 2 5 */ | ||
| 561 | &(nid_objs[12]),/* OBJ_X509 2 5 4 */ | ||
| 562 | &(nid_objs[81]),/* OBJ_ld_ce 2 5 29 */ | ||
| 563 | &(nid_objs[13]),/* OBJ_commonName 2 5 4 3 */ | ||
| 564 | &(nid_objs[100]),/* OBJ_surname 2 5 4 4 */ | ||
| 565 | &(nid_objs[105]),/* OBJ_serialNumber 2 5 4 5 */ | ||
| 566 | &(nid_objs[14]),/* OBJ_countryName 2 5 4 6 */ | ||
| 567 | &(nid_objs[15]),/* OBJ_localityName 2 5 4 7 */ | ||
| 568 | &(nid_objs[16]),/* OBJ_stateOrProvinceName 2 5 4 8 */ | ||
| 569 | &(nid_objs[17]),/* OBJ_organizationName 2 5 4 10 */ | ||
| 570 | &(nid_objs[18]),/* OBJ_organizationalUnitName 2 5 4 11 */ | ||
| 571 | &(nid_objs[106]),/* OBJ_title 2 5 4 12 */ | ||
| 572 | &(nid_objs[107]),/* OBJ_description 2 5 4 13 */ | ||
| 573 | &(nid_objs[99]),/* OBJ_givenName 2 5 4 42 */ | ||
| 574 | &(nid_objs[101]),/* OBJ_initials 2 5 4 43 */ | ||
| 575 | &(nid_objs[102]),/* OBJ_uniqueIdentifier 2 5 4 45 */ | ||
| 576 | &(nid_objs[82]),/* OBJ_subject_key_identifier 2 5 29 14 */ | ||
| 577 | &(nid_objs[83]),/* OBJ_key_usage 2 5 29 15 */ | ||
| 578 | &(nid_objs[84]),/* OBJ_private_key_usage_period 2 5 29 16 */ | ||
| 579 | &(nid_objs[85]),/* OBJ_subject_alt_name 2 5 29 17 */ | ||
| 580 | &(nid_objs[86]),/* OBJ_issuer_alt_name 2 5 29 18 */ | ||
| 581 | &(nid_objs[87]),/* OBJ_basic_constraints 2 5 29 19 */ | ||
| 582 | &(nid_objs[88]),/* OBJ_crl_number 2 5 29 20 */ | ||
| 583 | &(nid_objs[103]),/* OBJ_crl_distribution_points 2 5 29 31 */ | ||
| 584 | &(nid_objs[89]),/* OBJ_certificate_policies 2 5 29 32 */ | ||
| 585 | &(nid_objs[90]),/* OBJ_authority_key_identifier 2 5 29 35 */ | ||
| 586 | &(nid_objs[19]),/* OBJ_rsa 2 5 8 1 1 */ | ||
| 587 | &(nid_objs[96]),/* OBJ_mdc2WithRSA 2 5 8 3 100 */ | ||
| 588 | &(nid_objs[95]),/* OBJ_mdc2 2 5 8 3 101 */ | ||
| 589 | &(nid_objs[104]),/* OBJ_md5WithRSA 1 3 14 3 2 3 */ | ||
| 590 | &(nid_objs[29]),/* OBJ_des_ecb 1 3 14 3 2 6 */ | ||
| 591 | &(nid_objs[31]),/* OBJ_des_cbc 1 3 14 3 2 7 */ | ||
| 592 | &(nid_objs[45]),/* OBJ_des_ofb64 1 3 14 3 2 8 */ | ||
| 593 | &(nid_objs[30]),/* OBJ_des_cfb64 1 3 14 3 2 9 */ | ||
| 594 | &(nid_objs[67]),/* OBJ_dsa_2 1 3 14 3 2 12 */ | ||
| 595 | &(nid_objs[66]),/* OBJ_dsaWithSHA 1 3 14 3 2 13 */ | ||
| 596 | &(nid_objs[42]),/* OBJ_shaWithRSAEncryption 1 3 14 3 2 15 */ | ||
| 597 | &(nid_objs[32]),/* OBJ_des_ede 1 3 14 3 2 17 */ | ||
| 598 | &(nid_objs[41]),/* OBJ_sha 1 3 14 3 2 18 */ | ||
| 599 | &(nid_objs[64]),/* OBJ_sha1 1 3 14 3 2 26 */ | ||
| 600 | &(nid_objs[70]),/* OBJ_dsaWithSHA1_2 1 3 14 3 2 27 */ | ||
| 601 | &(nid_objs[115]),/* OBJ_sha1WithRSA 1 3 14 3 2 29 */ | ||
| 602 | &(nid_objs[117]),/* OBJ_ripemd160 1 3 36 3 2 1 */ | ||
| 603 | &(nid_objs[ 1]),/* OBJ_rsadsi 1 2 840 113549 */ | ||
| 604 | &(nid_objs[119]),/* OBJ_ripemd160WithRSA 1 3 36 3 3 1 2 */ | ||
| 605 | &(nid_objs[ 2]),/* OBJ_pkcs 1 2 840 113549 1 */ | ||
| 606 | &(nid_objs[116]),/* OBJ_dsa 1 2 840 10040 4 1 */ | ||
| 607 | &(nid_objs[113]),/* OBJ_dsaWithSHA1 1 2 840 10040 4 3 */ | ||
| 608 | &(nid_objs[57]),/* OBJ_netscape 2 16 840 1 113730 */ | ||
| 609 | &(nid_objs[27]),/* OBJ_pkcs3 1 2 840 113549 1 3 */ | ||
| 610 | &(nid_objs[20]),/* OBJ_pkcs7 1 2 840 113549 1 7 */ | ||
| 611 | &(nid_objs[47]),/* OBJ_pkcs9 1 2 840 113549 1 9 */ | ||
| 612 | &(nid_objs[ 3]),/* OBJ_md2 1 2 840 113549 2 2 */ | ||
| 613 | &(nid_objs[ 4]),/* OBJ_md5 1 2 840 113549 2 5 */ | ||
| 614 | &(nid_objs[37]),/* OBJ_rc2_cbc 1 2 840 113549 3 2 */ | ||
| 615 | &(nid_objs[ 5]),/* OBJ_rc4 1 2 840 113549 3 4 */ | ||
| 616 | &(nid_objs[44]),/* OBJ_des_ede3_cbc 1 2 840 113549 3 7 */ | ||
| 617 | &(nid_objs[120]),/* OBJ_rc5_cbc 1 2 840 113549 3 8 */ | ||
| 618 | &(nid_objs[58]),/* OBJ_netscape_cert_extension 2 16 840 1 113730 1 */ | ||
| 619 | &(nid_objs[59]),/* OBJ_netscape_data_type 2 16 840 1 113730 2 */ | ||
| 620 | &(nid_objs[108]),/* OBJ_cast5_cbc 1 2 840 113533 7 66 10 */ | ||
| 621 | &(nid_objs[112]),/* OBJ_pbeWithMD5AndCast5_CBC 1 2 840 113533 7 66 12 */ | ||
| 622 | &(nid_objs[ 6]),/* OBJ_rsaEncryption 1 2 840 113549 1 1 1 */ | ||
| 623 | &(nid_objs[ 7]),/* OBJ_md2WithRSAEncryption 1 2 840 113549 1 1 2 */ | ||
| 624 | &(nid_objs[ 8]),/* OBJ_md5WithRSAEncryption 1 2 840 113549 1 1 4 */ | ||
| 625 | &(nid_objs[65]),/* OBJ_sha1WithRSAEncryption 1 2 840 113549 1 1 5 */ | ||
| 626 | &(nid_objs[28]),/* OBJ_dhKeyAgreement 1 2 840 113549 1 3 1 */ | ||
| 627 | &(nid_objs[ 9]),/* OBJ_pbeWithMD2AndDES_CBC 1 2 840 113549 1 5 1 */ | ||
| 628 | &(nid_objs[10]),/* OBJ_pbeWithMD5AndDES_CBC 1 2 840 113549 1 5 3 */ | ||
| 629 | &(nid_objs[68]),/* OBJ_pbeWithSHA1AndRC2_CBC 1 2 840 113549 1 5 11 */ | ||
| 630 | &(nid_objs[69]),/* OBJ_pbeWithSHA1AndRC4 1 2 840 113549 1 5 12 */ | ||
| 631 | &(nid_objs[21]),/* OBJ_pkcs7_data 1 2 840 113549 1 7 1 */ | ||
| 632 | &(nid_objs[22]),/* OBJ_pkcs7_signed 1 2 840 113549 1 7 2 */ | ||
| 633 | &(nid_objs[23]),/* OBJ_pkcs7_enveloped 1 2 840 113549 1 7 3 */ | ||
| 634 | &(nid_objs[24]),/* OBJ_pkcs7_signedAndEnveloped 1 2 840 113549 1 7 4 */ | ||
| 635 | &(nid_objs[25]),/* OBJ_pkcs7_digest 1 2 840 113549 1 7 5 */ | ||
| 636 | &(nid_objs[26]),/* OBJ_pkcs7_encrypted 1 2 840 113549 1 7 6 */ | ||
| 637 | &(nid_objs[48]),/* OBJ_pkcs9_emailAddress 1 2 840 113549 1 9 1 */ | ||
| 638 | &(nid_objs[49]),/* OBJ_pkcs9_unstructuredName 1 2 840 113549 1 9 2 */ | ||
| 639 | &(nid_objs[50]),/* OBJ_pkcs9_contentType 1 2 840 113549 1 9 3 */ | ||
| 640 | &(nid_objs[51]),/* OBJ_pkcs9_messageDigest 1 2 840 113549 1 9 4 */ | ||
| 641 | &(nid_objs[52]),/* OBJ_pkcs9_signingTime 1 2 840 113549 1 9 5 */ | ||
| 642 | &(nid_objs[53]),/* OBJ_pkcs9_countersignature 1 2 840 113549 1 9 6 */ | ||
| 643 | &(nid_objs[54]),/* OBJ_pkcs9_challengePassword 1 2 840 113549 1 9 7 */ | ||
| 644 | &(nid_objs[55]),/* OBJ_pkcs9_unstructuredAddress 1 2 840 113549 1 9 8 */ | ||
| 645 | &(nid_objs[56]),/* OBJ_pkcs9_extCertAttributes 1 2 840 113549 1 9 9 */ | ||
| 646 | &(nid_objs[71]),/* OBJ_netscape_cert_type 2 16 840 1 113730 1 1 */ | ||
| 647 | &(nid_objs[72]),/* OBJ_netscape_base_url 2 16 840 1 113730 1 2 */ | ||
| 648 | &(nid_objs[73]),/* OBJ_netscape_revocation_url 2 16 840 1 113730 1 3 */ | ||
| 649 | &(nid_objs[74]),/* OBJ_netscape_ca_revocation_url 2 16 840 1 113730 1 4 */ | ||
| 650 | &(nid_objs[75]),/* OBJ_netscape_renewal_url 2 16 840 1 113730 1 7 */ | ||
| 651 | &(nid_objs[76]),/* OBJ_netscape_ca_policy_url 2 16 840 1 113730 1 8 */ | ||
| 652 | &(nid_objs[77]),/* OBJ_netscape_ssl_server_name 2 16 840 1 113730 1 12 */ | ||
| 653 | &(nid_objs[78]),/* OBJ_netscape_comment 2 16 840 1 113730 1 13 */ | ||
| 654 | &(nid_objs[79]),/* OBJ_netscape_cert_sequence 2 16 840 1 113730 2 5 */ | ||
| 655 | }; | ||
| 656 | |||
