xref: /freebsd/crypto/openssl/crypto/asn1/asn1_item_list.h (revision 7fdf597e96a02165cfe22ff357b857d5fa15ed8a)
1 /*
2  * Copyright 2000-2021 The OpenSSL Project Authors. All Rights Reserved.
3  *
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
8  */
9 
10 static ASN1_ITEM_EXP *asn1_item_list[] = {
11 
12     ASN1_ITEM_ref(ACCESS_DESCRIPTION),
13 #ifndef OPENSSL_NO_RFC3779
14     ASN1_ITEM_ref(ASIdOrRange),
15     ASN1_ITEM_ref(ASIdentifierChoice),
16     ASN1_ITEM_ref(ASIdentifiers),
17 #endif
18     ASN1_ITEM_ref(ASN1_ANY),
19     ASN1_ITEM_ref(ASN1_BIT_STRING),
20     ASN1_ITEM_ref(ASN1_BMPSTRING),
21     ASN1_ITEM_ref(ASN1_BOOLEAN),
22     ASN1_ITEM_ref(ASN1_ENUMERATED),
23     ASN1_ITEM_ref(ASN1_FBOOLEAN),
24     ASN1_ITEM_ref(ASN1_GENERALIZEDTIME),
25     ASN1_ITEM_ref(ASN1_GENERALSTRING),
26     ASN1_ITEM_ref(ASN1_IA5STRING),
27     ASN1_ITEM_ref(ASN1_INTEGER),
28     ASN1_ITEM_ref(ASN1_NULL),
29     ASN1_ITEM_ref(ASN1_OBJECT),
30     ASN1_ITEM_ref(ASN1_OCTET_STRING_NDEF),
31     ASN1_ITEM_ref(ASN1_OCTET_STRING),
32     ASN1_ITEM_ref(ASN1_PRINTABLESTRING),
33     ASN1_ITEM_ref(ASN1_PRINTABLE),
34     ASN1_ITEM_ref(ASN1_SEQUENCE_ANY),
35     ASN1_ITEM_ref(ASN1_SEQUENCE),
36     ASN1_ITEM_ref(ASN1_SET_ANY),
37     ASN1_ITEM_ref(ASN1_T61STRING),
38     ASN1_ITEM_ref(ASN1_TBOOLEAN),
39     ASN1_ITEM_ref(ASN1_TIME),
40     ASN1_ITEM_ref(ASN1_UNIVERSALSTRING),
41     ASN1_ITEM_ref(ASN1_UTCTIME),
42     ASN1_ITEM_ref(ASN1_UTF8STRING),
43     ASN1_ITEM_ref(ASN1_VISIBLESTRING),
44 #ifndef OPENSSL_NO_RFC3779
45     ASN1_ITEM_ref(ASRange),
46 #endif
47     ASN1_ITEM_ref(AUTHORITY_INFO_ACCESS),
48     ASN1_ITEM_ref(AUTHORITY_KEYID),
49     ASN1_ITEM_ref(BASIC_CONSTRAINTS),
50     ASN1_ITEM_ref(BIGNUM),
51     ASN1_ITEM_ref(CBIGNUM),
52     ASN1_ITEM_ref(CERTIFICATEPOLICIES),
53 #ifndef OPENSSL_NO_CMS
54     ASN1_ITEM_ref(CMS_ContentInfo),
55     ASN1_ITEM_ref(CMS_ReceiptRequest),
56 #endif
57     ASN1_ITEM_ref(CRL_DIST_POINTS),
58 #ifndef OPENSSL_NO_DH
59     ASN1_ITEM_ref(DHparams),
60 #endif
61     ASN1_ITEM_ref(DIRECTORYSTRING),
62     ASN1_ITEM_ref(DISPLAYTEXT),
63     ASN1_ITEM_ref(DIST_POINT_NAME),
64     ASN1_ITEM_ref(DIST_POINT),
65 #ifndef OPENSSL_NO_EC
66 # ifndef OPENSSL_NO_DEPRECATED_3_0
67     ASN1_ITEM_ref(ECPARAMETERS),
68     ASN1_ITEM_ref(ECPKPARAMETERS),
69 # endif
70 #endif
71     ASN1_ITEM_ref(EDIPARTYNAME),
72     ASN1_ITEM_ref(EXTENDED_KEY_USAGE),
73     ASN1_ITEM_ref(GENERAL_NAMES),
74     ASN1_ITEM_ref(GENERAL_NAME),
75     ASN1_ITEM_ref(GENERAL_SUBTREE),
76 #ifndef OPENSSL_NO_RFC3779
77     ASN1_ITEM_ref(IPAddressChoice),
78     ASN1_ITEM_ref(IPAddressFamily),
79     ASN1_ITEM_ref(IPAddressOrRange),
80     ASN1_ITEM_ref(IPAddressRange),
81 #endif
82     ASN1_ITEM_ref(ISSUING_DIST_POINT),
83 #ifndef OPENSSL_NO_DEPRECATED_3_0
84     ASN1_ITEM_ref(LONG),
85 #endif
86     ASN1_ITEM_ref(NAME_CONSTRAINTS),
87     ASN1_ITEM_ref(NETSCAPE_CERT_SEQUENCE),
88     ASN1_ITEM_ref(NETSCAPE_SPKAC),
89     ASN1_ITEM_ref(NETSCAPE_SPKI),
90     ASN1_ITEM_ref(NOTICEREF),
91 #ifndef OPENSSL_NO_OCSP
92     ASN1_ITEM_ref(OCSP_BASICRESP),
93     ASN1_ITEM_ref(OCSP_CERTID),
94     ASN1_ITEM_ref(OCSP_CERTSTATUS),
95     ASN1_ITEM_ref(OCSP_CRLID),
96     ASN1_ITEM_ref(OCSP_ONEREQ),
97     ASN1_ITEM_ref(OCSP_REQINFO),
98     ASN1_ITEM_ref(OCSP_REQUEST),
99     ASN1_ITEM_ref(OCSP_RESPBYTES),
100     ASN1_ITEM_ref(OCSP_RESPDATA),
101     ASN1_ITEM_ref(OCSP_RESPID),
102     ASN1_ITEM_ref(OCSP_RESPONSE),
103     ASN1_ITEM_ref(OCSP_REVOKEDINFO),
104     ASN1_ITEM_ref(OCSP_SERVICELOC),
105     ASN1_ITEM_ref(OCSP_SIGNATURE),
106     ASN1_ITEM_ref(OCSP_SINGLERESP),
107 #endif
108     ASN1_ITEM_ref(OTHERNAME),
109     ASN1_ITEM_ref(PBE2PARAM),
110     ASN1_ITEM_ref(PBEPARAM),
111     ASN1_ITEM_ref(PBKDF2PARAM),
112     ASN1_ITEM_ref(PKCS12_AUTHSAFES),
113     ASN1_ITEM_ref(PKCS12_BAGS),
114     ASN1_ITEM_ref(PKCS12_MAC_DATA),
115     ASN1_ITEM_ref(PKCS12_SAFEBAGS),
116     ASN1_ITEM_ref(PKCS12_SAFEBAG),
117     ASN1_ITEM_ref(PKCS12),
118     ASN1_ITEM_ref(PKCS7_ATTR_SIGN),
119     ASN1_ITEM_ref(PKCS7_ATTR_VERIFY),
120     ASN1_ITEM_ref(PKCS7_DIGEST),
121     ASN1_ITEM_ref(PKCS7_ENCRYPT),
122     ASN1_ITEM_ref(PKCS7_ENC_CONTENT),
123     ASN1_ITEM_ref(PKCS7_ENVELOPE),
124     ASN1_ITEM_ref(PKCS7_ISSUER_AND_SERIAL),
125     ASN1_ITEM_ref(PKCS7_RECIP_INFO),
126     ASN1_ITEM_ref(PKCS7_SIGNED),
127     ASN1_ITEM_ref(PKCS7_SIGNER_INFO),
128     ASN1_ITEM_ref(PKCS7_SIGN_ENVELOPE),
129     ASN1_ITEM_ref(PKCS7),
130     ASN1_ITEM_ref(PKCS8_PRIV_KEY_INFO),
131     ASN1_ITEM_ref(PKEY_USAGE_PERIOD),
132     ASN1_ITEM_ref(POLICYINFO),
133     ASN1_ITEM_ref(POLICYQUALINFO),
134     ASN1_ITEM_ref(POLICY_CONSTRAINTS),
135     ASN1_ITEM_ref(POLICY_MAPPINGS),
136     ASN1_ITEM_ref(POLICY_MAPPING),
137     ASN1_ITEM_ref(PROXY_CERT_INFO_EXTENSION),
138     ASN1_ITEM_ref(PROXY_POLICY),
139 #ifndef OPENSSL_NO_DEPRECATED_3_0
140     ASN1_ITEM_ref(RSAPrivateKey),
141     ASN1_ITEM_ref(RSAPublicKey),
142     ASN1_ITEM_ref(RSA_OAEP_PARAMS),
143     ASN1_ITEM_ref(RSA_PSS_PARAMS),
144 #endif
145 #ifndef OPENSSL_NO_SCRYPT
146     ASN1_ITEM_ref(SCRYPT_PARAMS),
147 #endif
148     ASN1_ITEM_ref(SXNETID),
149     ASN1_ITEM_ref(SXNET),
150     ASN1_ITEM_ref(ISSUER_SIGN_TOOL),
151     ASN1_ITEM_ref(USERNOTICE),
152     ASN1_ITEM_ref(X509_ALGORS),
153     ASN1_ITEM_ref(X509_ALGOR),
154     ASN1_ITEM_ref(X509_ATTRIBUTE),
155     ASN1_ITEM_ref(X509_CERT_AUX),
156     ASN1_ITEM_ref(X509_CINF),
157     ASN1_ITEM_ref(X509_CRL_INFO),
158     ASN1_ITEM_ref(X509_CRL),
159     ASN1_ITEM_ref(X509_EXTENSIONS),
160     ASN1_ITEM_ref(X509_EXTENSION),
161     ASN1_ITEM_ref(X509_NAME_ENTRY),
162     ASN1_ITEM_ref(X509_NAME),
163     ASN1_ITEM_ref(X509_PUBKEY),
164     ASN1_ITEM_ref(X509_REQ_INFO),
165     ASN1_ITEM_ref(X509_REQ),
166     ASN1_ITEM_ref(X509_REVOKED),
167     ASN1_ITEM_ref(X509_SIG),
168     ASN1_ITEM_ref(X509_VAL),
169     ASN1_ITEM_ref(X509),
170 #ifndef OPENSSL_NO_DEPRECATED_3_0
171     ASN1_ITEM_ref(ZLONG),
172 #endif
173     ASN1_ITEM_ref(INT32),
174     ASN1_ITEM_ref(UINT32),
175     ASN1_ITEM_ref(ZINT32),
176     ASN1_ITEM_ref(ZUINT32),
177     ASN1_ITEM_ref(INT64),
178     ASN1_ITEM_ref(UINT64),
179     ASN1_ITEM_ref(ZINT64),
180     ASN1_ITEM_ref(ZUINT64),
181 };
182