/* * Automatically generated by ./lib/build_OID_registry. Do not edit */ static const unsigned short oid_index[OID__NR + 1] = { [OID_id_dsa_with_sha1] = 0, [OID_id_dsa] = 7, [OID_id_ecPublicKey] = 14, [OID_id_prime192v1] = 21, [OID_id_prime256v1] = 29, [OID_id_ecdsa_with_sha1] = 37, [OID_id_ecdsa_with_sha224] = 44, [OID_id_ecdsa_with_sha256] = 52, [OID_id_ecdsa_with_sha384] = 60, [OID_id_ecdsa_with_sha512] = 68, [OID_rsaEncryption] = 76, [OID_md2WithRSAEncryption] = 85, [OID_md3WithRSAEncryption] = 94, [OID_md4WithRSAEncryption] = 103, [OID_sha1WithRSAEncryption] = 112, [OID_sha256WithRSAEncryption] = 121, [OID_sha384WithRSAEncryption] = 130, [OID_sha512WithRSAEncryption] = 139, [OID_sha224WithRSAEncryption] = 148, [OID_data] = 157, [OID_signed_data] = 166, [OID_email_address] = 175, [OID_contentType] = 184, [OID_messageDigest] = 193, [OID_signingTime] = 202, [OID_smimeCapabilites] = 211, [OID_smimeAuthenticatedAttrs] = 220, [OID_md2] = 231, [OID_md4] = 239, [OID_md5] = 247, [OID_mskrb5] = 255, [OID_krb5] = 264, [OID_krb5u2u] = 273, [OID_msIndirectData] = 283, [OID_msStatementType] = 293, [OID_msSpOpusInfo] = 303, [OID_msPeImageDataObjId] = 313, [OID_msIndividualSPKeyPurpose] = 323, [OID_msOutlookExpress] = 333, [OID_ntlmssp] = 342, [OID_negoex] = 352, [OID_spnego] = 362, [OID_IAKerb] = 368, [OID_PKU2U] = 374, [OID_Scram] = 380, [OID_certAuthInfoAccess] = 386, [OID_sha1] = 394, [OID_id_ansip384r1] = 399, [OID_sha256] = 404, [OID_sha384] = 413, [OID_sha512] = 422, [OID_sha224] = 431, [OID_commonName] = 440, [OID_surname] = 443, [OID_countryName] = 446, [OID_locality] = 449, [OID_stateOrProvinceName] = 452, [OID_organizationName] = 455, [OID_organizationUnitName] = 458, [OID_title] = 461, [OID_description] = 464, [OID_name] = 467, [OID_givenName] = 470, [OID_initials] = 473, [OID_generationalQualifier] = 476, [OID_subjectKeyIdentifier] = 479, [OID_keyUsage] = 482, [OID_subjectAltName] = 485, [OID_issuerAltName] = 488, [OID_basicConstraints] = 491, [OID_crlDistributionPoints] = 494, [OID_certPolicies] = 497, [OID_authorityKeyIdentifier] = 500, [OID_extKeyUsage] = 503, [OID_NetlogonMechanism] = 506, [OID_appleLocalKdcSupported] = 512, [OID_gostCPSignA] = 518, [OID_gostCPSignB] = 525, [OID_gostCPSignC] = 532, [OID_gost2012PKey256] = 539, [OID_gost2012PKey512] = 547, [OID_gost2012Digest256] = 555, [OID_gost2012Digest512] = 563, [OID_gost2012Signature256] = 571, [OID_gost2012Signature512] = 579, [OID_gostTC26Sign256A] = 587, [OID_gostTC26Sign256B] = 596, [OID_gostTC26Sign256C] = 605, [OID_gostTC26Sign256D] = 614, [OID_gostTC26Sign512A] = 623, [OID_gostTC26Sign512B] = 632, [OID_gostTC26Sign512C] = 641, [OID_sm2] = 650, [OID_sm3] = 658, [OID_SM2_with_SM3] = 666, [OID_sm3WithRSAEncryption] = 674, [OID_TPMLoadableKey] = 682, [OID_TPMImportableKey] = 688, [OID_TPMSealedData] = 694, [OID__NR] = 700 }; static const unsigned char oid_data[700] = { 42, 134, 72, 206, 46, 4, 3, // id_dsa_with_sha1 42, 134, 72, 206, 56, 4, 1, // id_dsa 42, 134, 72, 206, 61, 2, 1, // id_ecPublicKey 42, 134, 72, 206, 61, 3, 1, 1, // id_prime192v1 42, 134, 72, 206, 61, 3, 1, 7, // id_prime256v1 42, 134, 72, 206, 61, 4, 1, // id_ecdsa_with_sha1 42, 134, 72, 206, 61, 4, 3, 1, // id_ecdsa_with_sha224 42, 134, 72, 206, 61, 4, 3, 2, // id_ecdsa_with_sha256 42, 134, 72, 206, 61, 4, 3, 3, // id_ecdsa_with_sha384 42, 134, 72, 206, 61, 4, 3, 4, // id_ecdsa_with_sha512 42, 134, 72, 134, 247, 13, 1, 1, 1, // rsaEncryption 42, 134, 72, 134, 247, 13, 1, 1, 2, // md2WithRSAEncryption 42, 134, 72, 134, 247, 13, 1, 1, 3, // md3WithRSAEncryption 42, 134, 72, 134, 247, 13, 1, 1, 4, // md4WithRSAEncryption 42, 134, 72, 134, 247, 13, 1, 1, 5, // sha1WithRSAEncryption 42, 134, 72, 134, 247, 13, 1, 1, 11, // sha256WithRSAEncryption 42, 134, 72, 134, 247, 13, 1, 1, 12, // sha384WithRSAEncryption 42, 134, 72, 134, 247, 13, 1, 1, 13, // sha512WithRSAEncryption 42, 134, 72, 134, 247, 13, 1, 1, 14, // sha224WithRSAEncryption 42, 134, 72, 134, 247, 13, 1, 7, 1, // data 42, 134, 72, 134, 247, 13, 1, 7, 2, // signed_data 42, 134, 72, 134, 247, 13, 1, 9, 1, // email_address 42, 134, 72, 134, 247, 13, 1, 9, 3, // contentType 42, 134, 72, 134, 247, 13, 1, 9, 4, // messageDigest 42, 134, 72, 134, 247, 13, 1, 9, 5, // signingTime 42, 134, 72, 134, 247, 13, 1, 9, 15, // smimeCapabilites 42, 134, 72, 134, 247, 13, 1, 9, 16, 2, 11, // smimeAuthenticatedAttrs 42, 134, 72, 134, 247, 13, 2, 2, // md2 42, 134, 72, 134, 247, 13, 2, 4, // md4 42, 134, 72, 134, 247, 13, 2, 5, // md5 42, 134, 72, 130, 247, 18, 1, 2, 2, // mskrb5 42, 134, 72, 134, 247, 18, 1, 2, 2, // krb5 42, 134, 72, 134, 247, 18, 1, 2, 2, 3, // krb5u2u 43, 6, 1, 4, 1, 130, 55, 2, 1, 4, // msIndirectData 43, 6, 1, 4, 1, 130, 55, 2, 1, 11, // msStatementType 43, 6, 1, 4, 1, 130, 55, 2, 1, 12, // msSpOpusInfo 43, 6, 1, 4, 1, 130, 55, 2, 1, 15, // msPeImageDataObjId 43, 6, 1, 4, 1, 130, 55, 2, 1, 21, // msIndividualSPKeyPurpose 43, 6, 1, 4, 1, 130, 55, 16, 4, // msOutlookExpress 43, 6, 1, 4, 1, 130, 55, 2, 2, 10, // ntlmssp 43, 6, 1, 4, 1, 130, 55, 2, 2, 30, // negoex 43, 6, 1, 5, 5, 2, // spnego 43, 6, 1, 5, 2, 5, // IAKerb 43, 5, 1, 5, 2, 7, // PKU2U 43, 6, 1, 5, 5, 14, // Scram 43, 6, 1, 5, 5, 7, 1, 1, // certAuthInfoAccess 43, 14, 3, 2, 26, // sha1 43, 129, 4, 0, 34, // id_ansip384r1 96, 134, 72, 1, 101, 3, 4, 2, 1, // sha256 96, 134, 72, 1, 101, 3, 4, 2, 2, // sha384 96, 134, 72, 1, 101, 3, 4, 2, 3, // sha512 96, 134, 72, 1, 101, 3, 4, 2, 4, // sha224 85, 4, 3, // commonName 85, 4, 4, // surname 85, 4, 6, // countryName 85, 4, 7, // locality 85, 4, 8, // stateOrProvinceName 85, 4, 10, // organizationName 85, 4, 11, // organizationUnitName 85, 4, 12, // title 85, 4, 13, // description 85, 4, 41, // name 85, 4, 42, // givenName 85, 4, 43, // initials 85, 4, 44, // generationalQualifier 85, 29, 14, // subjectKeyIdentifier 85, 29, 15, // keyUsage 85, 29, 17, // subjectAltName 85, 29, 18, // issuerAltName 85, 29, 19, // basicConstraints 85, 29, 31, // crlDistributionPoints 85, 29, 32, // certPolicies 85, 29, 35, // authorityKeyIdentifier 85, 29, 37, // extKeyUsage 42, 133, 112, 43, 14, 2, // NetlogonMechanism 42, 133, 112, 43, 14, 3, // appleLocalKdcSupported 42, 133, 3, 2, 2, 35, 1, // gostCPSignA 42, 133, 3, 2, 2, 35, 2, // gostCPSignB 42, 133, 3, 2, 2, 35, 3, // gostCPSignC 42, 133, 3, 7, 1, 1, 1, 1, // gost2012PKey256 42, 133, 3, 7, 1, 1, 1, 2, // gost2012PKey512 42, 133, 3, 7, 1, 1, 2, 2, // gost2012Digest256 42, 133, 3, 7, 1, 1, 2, 3, // gost2012Digest512 42, 133, 3, 7, 1, 1, 3, 2, // gost2012Signature256 42, 133, 3, 7, 1, 1, 3, 3, // gost2012Signature512 42, 133, 3, 7, 1, 2, 1, 1, 1, // gostTC26Sign256A 42, 133, 3, 7, 1, 2, 1, 1, 2, // gostTC26Sign256B 42, 133, 3, 7, 1, 2, 1, 1, 3, // gostTC26Sign256C 42, 133, 3, 7, 1, 2, 1, 1, 4, // gostTC26Sign256D 42, 133, 3, 7, 1, 2, 1, 2, 1, // gostTC26Sign512A 42, 133, 3, 7, 1, 2, 1, 2, 2, // gostTC26Sign512B 42, 133, 3, 7, 1, 2, 1, 2, 3, // gostTC26Sign512C 42, 129, 28, 207, 85, 1, 130, 45, // sm2 42, 129, 28, 207, 85, 1, 131, 17, // sm3 42, 129, 28, 207, 85, 1, 131, 117, // SM2_with_SM3 42, 129, 28, 207, 85, 1, 131, 120, // sm3WithRSAEncryption 103, 129, 5, 10, 1, 3, // TPMLoadableKey 103, 129, 5, 10, 1, 4, // TPMImportableKey 103, 129, 5, 10, 1, 5, // TPMSealedData }; static const struct { unsigned char hash; enum OID oid : 8; } oid_search_table[OID__NR] = { [ 0] = { 10, OID_title }, // 55040c [ 1] = { 11, OID_spnego }, // 2b0601050502 [ 2] = { 11, OID_IAKerb }, // 2b0601050205 [ 3] = { 13, OID_id_ansip384r1 }, // 2b81040022 [ 4] = { 19, OID_gostTC26Sign512C }, // 2a8503070102010203 [ 5] = { 19, OID_gostTC26Sign256D }, // 2a8503070102010104 [ 6] = { 23, OID_issuerAltName }, // 551d12 [ 7] = { 23, OID_initials }, // 55042b [ 8] = { 29, OID_md2WithRSAEncryption }, // 2a864886f70d010102 [ 9] = { 30, OID_md2 }, // 2a864886f70d0202 [ 10] = { 32, OID_id_dsa_with_sha1 }, // 2a8648ce2e0403 [ 11] = { 35, OID_contentType }, // 2a864886f70d010903 [ 12] = { 35, OID_sha256WithRSAEncryption }, // 2a864886f70d01010b [ 13] = { 36, OID_authorityKeyIdentifier }, // 551d23 [ 14] = { 37, OID_description }, // 55040d [ 15] = { 43, OID_id_dsa }, // 2a8648ce380401 [ 16] = { 44, OID_PKU2U }, // 2b0501050207 [ 17] = { 44, OID_krb5u2u }, // 2a864886f71201020203 [ 18] = { 49, OID_id_ecdsa_with_sha224 }, // 2a8648ce3d040301 [ 19] = { 51, OID_msIndividualSPKeyPurpose }, // 2b060104018237020115 [ 20] = { 52, OID_SM2_with_SM3 }, // 2a811ccf55018375 [ 21] = { 54, OID_basicConstraints }, // 551d13 [ 22] = { 54, OID_generationalQualifier }, // 55042c [ 23] = { 60, OID_gostCPSignA }, // 2a850302022301 [ 24] = { 60, OID_md3WithRSAEncryption }, // 2a864886f70d010103 [ 25] = { 64, OID_TPMLoadableKey }, // 6781050a0103 [ 26] = { 64, OID_krb5 }, // 2a864886f712010202 [ 27] = { 64, OID_signed_data }, // 2a864886f70d010702 [ 28] = { 76, OID_id_prime192v1 }, // 2a8648ce3d030101 [ 29] = { 77, OID_countryName }, // 550406 [ 30] = { 77, OID_id_ecdsa_with_sha1 }, // 2a8648ce3d0401 [ 31] = { 83, OID_sha256 }, // 608648016503040201 [ 32] = { 84, OID_sm2 }, // 2a811ccf5501822d [ 33] = { 85, OID_smimeCapabilites }, // 2a864886f70d01090f [ 34] = { 87, OID_sha1 }, // 2b0e03021a [ 35] = { 93, OID_gostCPSignB }, // 2a850302022302 [ 36] = { 97, OID_email_address }, // 2a864886f70d010901 [ 37] = { 106, OID_extKeyUsage }, // 551d25 [ 38] = { 106, OID_msPeImageDataObjId }, // 2b06010401823702010f [ 39] = { 110, OID_locality }, // 550407 [ 40] = { 120, OID_negoex }, // 2b06010401823702021e [ 41] = { 124, OID_gost2012PKey256 }, // 2a85030701010101 [ 42] = { 126, OID_gostCPSignC }, // 2a850302022303 [ 43] = { 126, OID_rsaEncryption }, // 2a864886f70d010101 [ 44] = { 130, OID_TPMSealedData }, // 6781050a0105 [ 45] = { 132, OID_smimeAuthenticatedAttrs }, // 2a864886f70d010910020b [ 46] = { 134, OID_Scram }, // 2b060105050e [ 47] = { 142, OID_id_ecPublicKey }, // 2a8648ce3d0201 [ 48] = { 142, OID_sha224WithRSAEncryption }, // 2a864886f70d01010e [ 49] = { 143, OID_stateOrProvinceName }, // 550408 [ 50] = { 145, OID_sm3WithRSAEncryption }, // 2a811ccf55018378 [ 51] = { 146, OID_subjectKeyIdentifier }, // 551d0e [ 52] = { 150, OID_id_ecdsa_with_sha512 }, // 2a8648ce3d040304 [ 53] = { 150, OID_id_prime256v1 }, // 2a8648ce3d030107 [ 54] = { 157, OID_gost2012PKey512 }, // 2a85030701010102 [ 55] = { 157, OID_sha512 }, // 608648016503040203 [ 56] = { 160, OID_data }, // 2a864886f70d010701 [ 57] = { 161, OID_crlDistributionPoints }, // 551d1f [ 58] = { 161, OID_TPMImportableKey }, // 6781050a0104 [ 59] = { 173, OID_msOutlookExpress }, // 2b0601040182371004 [ 60] = { 178, OID_sha384 }, // 608648016503040202 [ 61] = { 179, OID_keyUsage }, // 551d0f [ 62] = { 179, OID_NetlogonMechanism }, // 2a85702b0e02 [ 63] = { 190, OID_gost2012Digest256 }, // 2a85030701010202 [ 64] = { 191, OID_gostTC26Sign256A }, // 2a8503070102010101 [ 65] = { 195, OID_mskrb5 }, // 2a864882f712010202 [ 66] = { 195, OID_md4WithRSAEncryption }, // 2a864886f70d010104 [ 67] = { 198, OID_certPolicies }, // 551d20 [ 68] = { 200, OID_msSpOpusInfo }, // 2b06010401823702010c [ 69] = { 201, OID_organizationName }, // 55040a [ 70] = { 204, OID_messageDigest }, // 2a864886f70d010904 [ 71] = { 204, OID_sha384WithRSAEncryption }, // 2a864886f70d01010c [ 72] = { 208, OID_id_ecdsa_with_sha256 }, // 2a8648ce3d040302 [ 73] = { 208, OID_gostTC26Sign512A }, // 2a8503070102010201 [ 74] = { 208, OID_gostTC26Sign256B }, // 2a8503070102010102 [ 75] = { 212, OID_name }, // 550429 [ 76] = { 213, OID_commonName }, // 550403 [ 77] = { 213, OID_sm3 }, // 2a811ccf55018311 [ 78] = { 220, OID_md4 }, // 2a864886f70d0204 [ 79] = { 223, OID_gost2012Signature256 }, // 2a85030701010302 [ 80] = { 223, OID_gost2012Digest512 }, // 2a85030701010203 [ 81] = { 226, OID_sha1WithRSAEncryption }, // 2a864886f70d010105 [ 82] = { 227, OID_md5 }, // 2a864886f70d0205 [ 83] = { 228, OID_certAuthInfoAccess }, // 2b06010505070101 [ 84] = { 231, OID_ntlmssp }, // 2b06010401823702020a [ 85] = { 231, OID_msStatementType }, // 2b06010401823702010b [ 86] = { 234, OID_organizationUnitName }, // 55040b [ 87] = { 236, OID_appleLocalKdcSupported }, // 2a85702b0e03 [ 88] = { 237, OID_signingTime }, // 2a864886f70d010905 [ 89] = { 237, OID_sha512WithRSAEncryption }, // 2a864886f70d01010d [ 90] = { 240, OID_gost2012Signature512 }, // 2a85030701010303 [ 91] = { 241, OID_gostTC26Sign512B }, // 2a8503070102010202 [ 92] = { 241, OID_gostTC26Sign256C }, // 2a8503070102010103 [ 93] = { 244, OID_surname }, // 550404 [ 94] = { 245, OID_subjectAltName }, // 551d11 [ 95] = { 245, OID_givenName }, // 55042a [ 96] = { 247, OID_id_ecdsa_with_sha384 }, // 2a8648ce3d040303 [ 97] = { 252, OID_sha224 }, // 608648016503040204 [ 98] = { 255, OID_msIndirectData }, // 2b060104018237020104 };