2 * Copyright 1999-2021 The OpenSSL Project Authors. All Rights Reserved.
4 * Licensed under the Apache License 2.0 (the "License"). You may not use
5 * this file except in compliance with the License. You can obtain a copy
6 * in the file LICENSE in the source distribution or at
7 * https://www.openssl.org/source/license.html
11 * This table will be searched using OBJ_bsearch so it *must* kept in order
12 * of the ext_nid values.
15 static const X509V3_EXT_METHOD *standard_exts[] = {
17 &ossl_v3_ns_ia5_list[0],
18 &ossl_v3_ns_ia5_list[1],
19 &ossl_v3_ns_ia5_list[2],
20 &ossl_v3_ns_ia5_list[3],
21 &ossl_v3_ns_ia5_list[4],
22 &ossl_v3_ns_ia5_list[5],
23 &ossl_v3_ns_ia5_list[6],
26 &ossl_v3_pkey_usage_period,
37 #ifndef OPENSSL_NO_OCSP
42 #ifndef OPENSSL_NO_RFC3779
46 #ifndef OPENSSL_NO_OCSP
49 &ossl_v3_ocsp_accresp,
50 &ossl_v3_ocsp_nocheck,
51 &ossl_v3_ocsp_acutoff,
52 &ossl_v3_ocsp_serviceloc,
55 &ossl_v3_policy_constraints,
56 #ifndef OPENSSL_NO_OCSP
60 &ossl_v3_name_constraints,
61 &ossl_v3_policy_mappings,
62 &ossl_v3_inhibit_anyp,
65 &ossl_v3_freshest_crl,
71 &ossl_v3_utf8_list[0],
72 &ossl_v3_issuer_sign_tool,
74 &ossl_v3_ext_admission
77 /* Number of standard extensions */
79 #define STANDARD_EXTENSION_COUNT OSSL_NELEM(standard_exts)