1*b077aed3SPierre Pronchery /* 2*b077aed3SPierre Pronchery * Copyright 1999-2021 The OpenSSL Project Authors. All Rights Reserved. 3*b077aed3SPierre Pronchery * 4*b077aed3SPierre Pronchery * Licensed under the Apache License 2.0 (the "License"). You may not use 5*b077aed3SPierre Pronchery * this file except in compliance with the License. You can obtain a copy 6*b077aed3SPierre Pronchery * in the file LICENSE in the source distribution or at 7*b077aed3SPierre Pronchery * https://www.openssl.org/source/license.html 8*b077aed3SPierre Pronchery */ 9*b077aed3SPierre Pronchery 10*b077aed3SPierre Pronchery /* 11*b077aed3SPierre Pronchery * This table will be searched using OBJ_bsearch so it *must* kept in order 12*b077aed3SPierre Pronchery * of the ext_nid values. 13*b077aed3SPierre Pronchery */ 14*b077aed3SPierre Pronchery 15*b077aed3SPierre Pronchery static const X509V3_EXT_METHOD *standard_exts[] = { 16*b077aed3SPierre Pronchery &ossl_v3_nscert, 17*b077aed3SPierre Pronchery &ossl_v3_ns_ia5_list[0], 18*b077aed3SPierre Pronchery &ossl_v3_ns_ia5_list[1], 19*b077aed3SPierre Pronchery &ossl_v3_ns_ia5_list[2], 20*b077aed3SPierre Pronchery &ossl_v3_ns_ia5_list[3], 21*b077aed3SPierre Pronchery &ossl_v3_ns_ia5_list[4], 22*b077aed3SPierre Pronchery &ossl_v3_ns_ia5_list[5], 23*b077aed3SPierre Pronchery &ossl_v3_ns_ia5_list[6], 24*b077aed3SPierre Pronchery &ossl_v3_skey_id, 25*b077aed3SPierre Pronchery &ossl_v3_key_usage, 26*b077aed3SPierre Pronchery &ossl_v3_pkey_usage_period, 27*b077aed3SPierre Pronchery &ossl_v3_alt[0], 28*b077aed3SPierre Pronchery &ossl_v3_alt[1], 29*b077aed3SPierre Pronchery &ossl_v3_bcons, 30*b077aed3SPierre Pronchery &ossl_v3_crl_num, 31*b077aed3SPierre Pronchery &ossl_v3_cpols, 32*b077aed3SPierre Pronchery &ossl_v3_akey_id, 33*b077aed3SPierre Pronchery &ossl_v3_crld, 34*b077aed3SPierre Pronchery &ossl_v3_ext_ku, 35*b077aed3SPierre Pronchery &ossl_v3_delta_crl, 36*b077aed3SPierre Pronchery &ossl_v3_crl_reason, 37*b077aed3SPierre Pronchery #ifndef OPENSSL_NO_OCSP 38*b077aed3SPierre Pronchery &ossl_v3_crl_invdate, 39*b077aed3SPierre Pronchery #endif 40*b077aed3SPierre Pronchery &ossl_v3_sxnet, 41*b077aed3SPierre Pronchery &ossl_v3_info, 42*b077aed3SPierre Pronchery #ifndef OPENSSL_NO_RFC3779 43*b077aed3SPierre Pronchery &ossl_v3_addr, 44*b077aed3SPierre Pronchery &ossl_v3_asid, 45*b077aed3SPierre Pronchery #endif 46*b077aed3SPierre Pronchery #ifndef OPENSSL_NO_OCSP 47*b077aed3SPierre Pronchery &ossl_v3_ocsp_nonce, 48*b077aed3SPierre Pronchery &ossl_v3_ocsp_crlid, 49*b077aed3SPierre Pronchery &ossl_v3_ocsp_accresp, 50*b077aed3SPierre Pronchery &ossl_v3_ocsp_nocheck, 51*b077aed3SPierre Pronchery &ossl_v3_ocsp_acutoff, 52*b077aed3SPierre Pronchery &ossl_v3_ocsp_serviceloc, 53*b077aed3SPierre Pronchery #endif 54*b077aed3SPierre Pronchery &ossl_v3_sinfo, 55*b077aed3SPierre Pronchery &ossl_v3_policy_constraints, 56*b077aed3SPierre Pronchery #ifndef OPENSSL_NO_OCSP 57*b077aed3SPierre Pronchery &ossl_v3_crl_hold, 58*b077aed3SPierre Pronchery #endif 59*b077aed3SPierre Pronchery &ossl_v3_pci, 60*b077aed3SPierre Pronchery &ossl_v3_name_constraints, 61*b077aed3SPierre Pronchery &ossl_v3_policy_mappings, 62*b077aed3SPierre Pronchery &ossl_v3_inhibit_anyp, 63*b077aed3SPierre Pronchery &ossl_v3_idp, 64*b077aed3SPierre Pronchery &ossl_v3_alt[2], 65*b077aed3SPierre Pronchery &ossl_v3_freshest_crl, 66*b077aed3SPierre Pronchery #ifndef OPENSSL_NO_CT 67*b077aed3SPierre Pronchery &ossl_v3_ct_scts[0], 68*b077aed3SPierre Pronchery &ossl_v3_ct_scts[1], 69*b077aed3SPierre Pronchery &ossl_v3_ct_scts[2], 70*b077aed3SPierre Pronchery #endif 71*b077aed3SPierre Pronchery &ossl_v3_utf8_list[0], 72*b077aed3SPierre Pronchery &ossl_v3_issuer_sign_tool, 73*b077aed3SPierre Pronchery &ossl_v3_tls_feature, 74*b077aed3SPierre Pronchery &ossl_v3_ext_admission 75*b077aed3SPierre Pronchery }; 76*b077aed3SPierre Pronchery 77*b077aed3SPierre Pronchery /* Number of standard extensions */ 78*b077aed3SPierre Pronchery 79*b077aed3SPierre Pronchery #define STANDARD_EXTENSION_COUNT OSSL_NELEM(standard_exts) 80*b077aed3SPierre Pronchery 81