📄 obj_dat.h
字号:
/* lib/obj/obj_dat.h *//* Copyright (C) 1995-1997 Eric Young (eay@cryptsoft.com) * All rights reserved. * * This package is an SSL implementation written * by Eric Young (eay@cryptsoft.com). * The implementation was written so as to conform with Netscapes SSL. * * This library is free for commercial and non-commercial use as long as * the following conditions are aheared to. The following conditions * apply to all code found in this distribution, be it the RC4, RSA, * lhash, DES, etc., code; not just the SSL code. The SSL documentation * included with this distribution is covered by the same copyright terms * except that the holder is Tim Hudson (tjh@cryptsoft.com). * * Copyright remains Eric Young's, and as such any Copyright notices in * the code are not to be removed. * If this package is used in a product, Eric Young should be given attribution * as the author of the parts of the library used. * This can be in the form of a textual message at program startup or * in documentation (online or textual) provided with the package. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. All advertising materials mentioning features or use of this software * must display the following acknowledgement: * "This product includes cryptographic software written by * Eric Young (eay@cryptsoft.com)" * The word 'cryptographic' can be left out if the rouines from the library * being used are not cryptographic related :-). * 4. If you include any Windows specific code (or a derivative thereof) from * the apps directory (application code) you must include an acknowledgement: * "This product includes software written by Tim Hudson (tjh@cryptsoft.com)" * * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * * The licence and distribution terms for any publically available version or * derivative of this code cannot be changed. i.e. this code cannot simply be * copied and put under another distribution licence * [including the GNU Public Licence.] *//* THIS FILE IS GENERATED FROM Objects.h by obj_dat.pl via the * following command: * perl obj_dat.pl < objects.h > obj_dat.h */#define NUM_NID 126#define NUM_SN 97#define NUM_LN 124#define NUM_OBJ 98static unsigned char lvalues[611]={0x00, /* [ 0] OBJ_undef */0x2A,0x86,0x48,0x86,0xF7,0x0D, /* [ 1] OBJ_rsadsi */0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01, /* [ 7] OBJ_pkcs */0x2A,0x86,0x48,0x86,0xF7,0x0D,0x02,0x02, /* [ 14] OBJ_md2 */0x2A,0x86,0x48,0x86,0xF7,0x0D,0x02,0x05, /* [ 22] OBJ_md5 */0x2A,0x86,0x48,0x86,0xF7,0x0D,0x03,0x04, /* [ 30] OBJ_rc4 */0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x01,0x01,/* [ 38] OBJ_rsaEncryption */0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x01,0x02,/* [ 47] OBJ_md2WithRSAEncryption */0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x01,0x04,/* [ 56] OBJ_md5WithRSAEncryption */0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x05,0x01,/* [ 65] OBJ_pbeWithMD2AndDES_CBC */0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x05,0x03,/* [ 74] OBJ_pbeWithMD5AndDES_CBC */0x55, /* [ 83] OBJ_X500 */0x55,0x04, /* [ 84] OBJ_X509 */0x55,0x04,0x03, /* [ 86] OBJ_commonName */0x55,0x04,0x06, /* [ 89] OBJ_countryName */0x55,0x04,0x07, /* [ 92] OBJ_localityName */0x55,0x04,0x08, /* [ 95] OBJ_stateOrProvinceName */0x55,0x04,0x0A, /* [ 98] OBJ_organizationName */0x55,0x04,0x0B, /* [101] OBJ_organizationalUnitName */0x55,0x08,0x01,0x01, /* [104] OBJ_rsa */0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x07, /* [108] OBJ_pkcs7 */0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x07,0x01,/* [116] OBJ_pkcs7_data */0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x07,0x02,/* [125] OBJ_pkcs7_signed */0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x07,0x03,/* [134] OBJ_pkcs7_enveloped */0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x07,0x04,/* [143] OBJ_pkcs7_signedAndEnveloped */0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x07,0x05,/* [152] OBJ_pkcs7_digest */0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x07,0x06,/* [161] OBJ_pkcs7_encrypted */0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x03, /* [170] OBJ_pkcs3 */0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x03,0x01,/* [178] OBJ_dhKeyAgreement */0x2B,0x0E,0x03,0x02,0x06, /* [187] OBJ_des_ecb */0x2B,0x0E,0x03,0x02,0x09, /* [192] OBJ_des_cfb64 */0x2B,0x0E,0x03,0x02,0x07, /* [197] OBJ_des_cbc */0x2B,0x0E,0x03,0x02,0x11, /* [202] OBJ_des_ede */0x2A,0x86,0x48,0x86,0xF7,0x0D,0x03,0x02, /* [207] OBJ_rc2_cbc */0x2B,0x0E,0x03,0x02,0x12, /* [215] OBJ_sha */0x2B,0x0E,0x03,0x02,0x0F, /* [220] OBJ_shaWithRSAEncryption */0x2A,0x86,0x48,0x86,0xF7,0x0D,0x03,0x07, /* [225] OBJ_des_ede3_cbc */0x2B,0x0E,0x03,0x02,0x08, /* [233] OBJ_des_ofb64 */0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x09, /* [238] OBJ_pkcs9 */0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x09,0x01,/* [246] OBJ_pkcs9_emailAddress */0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x09,0x02,/* [255] OBJ_pkcs9_unstructuredName */0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x09,0x03,/* [264] OBJ_pkcs9_contentType */0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x09,0x04,/* [273] OBJ_pkcs9_messageDigest */0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x09,0x05,/* [282] OBJ_pkcs9_signingTime */0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x09,0x06,/* [291] OBJ_pkcs9_countersignature */0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x09,0x07,/* [300] OBJ_pkcs9_challengePassword */0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x09,0x08,/* [309] OBJ_pkcs9_unstructuredAddress */0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x09,0x09,/* [318] OBJ_pkcs9_extCertAttributes */0x60,0x86,0x48,0x01,0x86,0xF8,0x42, /* [327] OBJ_netscape */0x60,0x86,0x48,0x01,0x86,0xF8,0x42,0x01, /* [334] OBJ_netscape_cert_extension */0x60,0x86,0x48,0x01,0x86,0xF8,0x42,0x02, /* [342] OBJ_netscape_data_type */0x2B,0x0E,0x03,0x02,0x1A, /* [350] OBJ_sha1 */0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x01,0x05,/* [355] OBJ_sha1WithRSAEncryption */0x2B,0x0E,0x03,0x02,0x0D, /* [364] OBJ_dsaWithSHA */0x2B,0x0E,0x03,0x02,0x0C, /* [369] OBJ_dsa_2 */0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x05,0x0B,/* [374] OBJ_pbeWithSHA1AndRC2_CBC */0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,0x05,0x0C,/* [383] OBJ_pbeWithSHA1AndRC4 */0x2B,0x0E,0x03,0x02,0x1B, /* [392] OBJ_dsaWithSHA1_2 */0x60,0x86,0x48,0x01,0x86,0xF8,0x42,0x01,0x01,/* [397] OBJ_netscape_cert_type */0x60,0x86,0x48,0x01,0x86,0xF8,0x42,0x01,0x02,/* [406] OBJ_netscape_base_url */0x60,0x86,0x48,0x01,0x86,0xF8,0x42,0x01,0x03,/* [415] OBJ_netscape_revocation_url */0x60,0x86,0x48,0x01,0x86,0xF8,0x42,0x01,0x04,/* [424] OBJ_netscape_ca_revocation_url */0x60,0x86,0x48,0x01,0x86,0xF8,0x42,0x01,0x07,/* [433] OBJ_netscape_renewal_url */0x60,0x86,0x48,0x01,0x86,0xF8,0x42,0x01,0x08,/* [442] OBJ_netscape_ca_policy_url */0x60,0x86,0x48,0x01,0x86,0xF8,0x42,0x01,0x0C,/* [451] OBJ_netscape_ssl_server_name */0x60,0x86,0x48,0x01,0x86,0xF8,0x42,0x01,0x0D,/* [460] OBJ_netscape_comment */0x60,0x86,0x48,0x01,0x86,0xF8,0x42,0x02,0x05,/* [469] OBJ_netscape_cert_sequence */0x55,0x1D, /* [478] OBJ_ld_ce */0x55,0x1D,0x0E, /* [480] OBJ_subject_key_identifier */0x55,0x1D,0x0F, /* [483] OBJ_key_usage */0x55,0x1D,0x10, /* [486] OBJ_private_key_usage_period */0x55,0x1D,0x11, /* [489] OBJ_subject_alt_name */0x55,0x1D,0x12, /* [492] OBJ_issuer_alt_name */0x55,0x1D,0x13, /* [495] OBJ_basic_constraints */0x55,0x1D,0x14, /* [498] OBJ_crl_number */0x55,0x1D,0x20, /* [501] OBJ_certificate_policies */0x55,0x1D,0x23, /* [504] OBJ_authority_key_identifier */0x55,0x08,0x03,0x65, /* [507] OBJ_mdc2 */0x55,0x08,0x03,0x64, /* [511] OBJ_mdc2WithRSA */0x55,0x04,0x2A, /* [515] OBJ_givenName */0x55,0x04,0x04, /* [518] OBJ_surname */0x55,0x04,0x2B, /* [521] OBJ_initials */0x55,0x04,0x2D, /* [524] OBJ_uniqueIdentifier */0x55,0x1D,0x1F, /* [527] OBJ_crl_distribution_points */0x2B,0x0E,0x03,0x02,0x03, /* [530] OBJ_md5WithRSA */0x55,0x04,0x05, /* [535] OBJ_serialNumber */0x55,0x04,0x0C, /* [538] OBJ_title */0x55,0x04,0x0D, /* [541] OBJ_description */0x2A,0x86,0x48,0x86,0xF6,0x7D,0x07,0x42,0x0A,/* [544] OBJ_cast5_cbc */0x2A,0x86,0x48,0x86,0xF6,0x7D,0x07,0x42,0x0C,/* [553] OBJ_pbeWithMD5AndCast5_CBC */0x2A,0x86,0x48,0xCE,0x38,0x04,0x03, /* [562] OBJ_dsaWithSHA1 */0x2B,0x0E,0x03,0x02,0x1D, /* [569] OBJ_sha1WithRSA */0x2A,0x86,0x48,0xCE,0x38,0x04,0x01, /* [574] OBJ_dsa */0x2B,0x24,0x03,0x02,0x01, /* [581] OBJ_ripemd160 */0x2B,0x24,0x03,0x03,0x01,0x02, /* [586] OBJ_ripemd160WithRSA */0x2A,0x86,0x48,0x86,0xF7,0x0D,0x03,0x08, /* [592] OBJ_rc5_cbc */0x29,0x01,0x01,0x85,0x1A, /* [600] OBJ_rle_compression */0x29,0x01,0x01,0x85,0x1A, /* [605] OBJ_zlib_compression */};static ASN1_OBJECT nid_objs[NUM_NID]={{"UNDEF","undefined",NID_undef,1,&(lvalues[0]),0},{"rsadsi","rsadsi",NID_rsadsi,6,&(lvalues[1]),0},{"pkcs","pkcs",NID_pkcs,7,&(lvalues[7]),0},{"MD2","md2",NID_md2,8,&(lvalues[14]),0},{"MD5","md5",NID_md5,8,&(lvalues[22]),0},{"RC4","rc4",NID_rc4,8,&(lvalues[30]),0},{"rsaEncryption","rsaEncryption",NID_rsaEncryption,9,&(lvalues[38]),0},{"RSA-MD2","md2WithRSAEncryption",NID_md2WithRSAEncryption,9, &(lvalues[47]),0},{"RSA-MD5","md5WithRSAEncryption",NID_md5WithRSAEncryption,9, &(lvalues[56]),0},{"pbeWithMD2AndDES-CBC","pbeWithMD2AndDES-CBC", NID_pbeWithMD2AndDES_CBC,9,&(lvalues[65]),0},{"pbeWithMD5AndDES-CBC","pbeWithMD5AndDES-CBC", NID_pbeWithMD5AndDES_CBC,9,&(lvalues[74]),0},{"X500","X500",NID_X500,1,&(lvalues[83]),0},{"X509","X509",NID_X509,2,&(lvalues[84]),0},{"CN","commonName",NID_commonName,3,&(lvalues[86]),0},{"C","countryName",NID_countryName,3,&(lvalues[89]),0},{"L","localityName",NID_localityName,3,&(lvalues[92]),0},{"ST","stateOrProvinceName",NID_stateOrProvinceName,3,&(lvalues[95]),0},{"O","organizationName",NID_organizationName,3,&(lvalues[98]),0},{"OU","organizationalUnitName",NID_organizationalUnitName,3, &(lvalues[101]),0},{"RSA","rsa",NID_rsa,4,&(lvalues[104]),0},{"pkcs7","pkcs7",NID_pkcs7,8,&(lvalues[108]),0},{"pkcs7-data","pkcs7-data",NID_pkcs7_data,9,&(lvalues[116]),0},{"pkcs7-signedData","pkcs7-signedData",NID_pkcs7_signed,9, &(lvalues[125]),0},{"pkcs7-envelopedData","pkcs7-envelopedData",NID_pkcs7_enveloped,9, &(lvalues[134]),0},{"pkcs7-signedAndEnvelopedData","pkcs7-signedAndEnvelopedData", NID_pkcs7_signedAndEnveloped,9,&(lvalues[143]),0},{"pkcs7-digestData","pkcs7-digestData",NID_pkcs7_digest,9, &(lvalues[152]),0},{"pkcs7-encryptedData","pkcs7-encryptedData",NID_pkcs7_encrypted,9, &(lvalues[161]),0},{"pkcs3","pkcs3",NID_pkcs3,8,&(lvalues[170]),0},{"dhKeyAgreement","dhKeyAgreement",NID_dhKeyAgreement,9, &(lvalues[178]),0},{"DES-ECB","des-ecb",NID_des_ecb,5,&(lvalues[187]),0},{"DES-CFB","des-cfb",NID_des_cfb64,5,&(lvalues[192]),0},{"DES-CBC","des-cbc",NID_des_cbc,5,&(lvalues[197]),0},{"DES-EDE","des-ede",NID_des_ede,5,&(lvalues[202]),0},{"DES-EDE3","des-ede3",NID_des_ede3,0,NULL},{"IDEA-CBC","idea-cbc",NID_idea_cbc,0,NULL},{"IDEA-CFB","idea-cfb",NID_idea_cfb64,0,NULL},{"IDEA-ECB","idea-ecb",NID_idea_ecb,0,NULL},{"RC2-CBC","rc2-cbc",NID_rc2_cbc,8,&(lvalues[207]),0},{"RC2-ECB","rc2-ecb",NID_rc2_ecb,0,NULL},{"RC2-CFB","rc2-cfb",NID_rc2_cfb64,0,NULL},{"RC2-OFB","rc2-ofb",NID_rc2_ofb64,0,NULL},{"SHA","sha",NID_sha,5,&(lvalues[215]),0},
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -