Discourage the use of LONG and ZLONG, and deprecate it in the future
[openssl.git] / crypto / asn1 / asn1_item_list.h
1 /*
2  * Copyright 2000-2016 The OpenSSL Project Authors. All Rights Reserved.
3  *
4  * Licensed under the OpenSSL license (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     ASN1_ITEM_ref(ECPARAMETERS),
67     ASN1_ITEM_ref(ECPKPARAMETERS),
68 #endif
69     ASN1_ITEM_ref(EDIPARTYNAME),
70     ASN1_ITEM_ref(EXTENDED_KEY_USAGE),
71     ASN1_ITEM_ref(GENERAL_NAMES),
72     ASN1_ITEM_ref(GENERAL_NAME),
73     ASN1_ITEM_ref(GENERAL_SUBTREE),
74 #ifndef OPENSSL_NO_RFC3779
75     ASN1_ITEM_ref(IPAddressChoice),
76     ASN1_ITEM_ref(IPAddressFamily),
77     ASN1_ITEM_ref(IPAddressOrRange),
78     ASN1_ITEM_ref(IPAddressRange),
79 #endif
80     ASN1_ITEM_ref(ISSUING_DIST_POINT),
81     ASN1_ITEM_ref(LONG),
82     ASN1_ITEM_ref(NAME_CONSTRAINTS),
83     ASN1_ITEM_ref(NETSCAPE_CERT_SEQUENCE),
84     ASN1_ITEM_ref(NETSCAPE_SPKAC),
85     ASN1_ITEM_ref(NETSCAPE_SPKI),
86     ASN1_ITEM_ref(NOTICEREF),
87 #ifndef OPENSSL_NO_OCSP
88     ASN1_ITEM_ref(OCSP_BASICRESP),
89     ASN1_ITEM_ref(OCSP_CERTID),
90     ASN1_ITEM_ref(OCSP_CERTSTATUS),
91     ASN1_ITEM_ref(OCSP_CRLID),
92     ASN1_ITEM_ref(OCSP_ONEREQ),
93     ASN1_ITEM_ref(OCSP_REQINFO),
94     ASN1_ITEM_ref(OCSP_REQUEST),
95     ASN1_ITEM_ref(OCSP_RESPBYTES),
96     ASN1_ITEM_ref(OCSP_RESPDATA),
97     ASN1_ITEM_ref(OCSP_RESPID),
98     ASN1_ITEM_ref(OCSP_RESPONSE),
99     ASN1_ITEM_ref(OCSP_REVOKEDINFO),
100     ASN1_ITEM_ref(OCSP_SERVICELOC),
101     ASN1_ITEM_ref(OCSP_SIGNATURE),
102     ASN1_ITEM_ref(OCSP_SINGLERESP),
103 #endif
104     ASN1_ITEM_ref(OTHERNAME),
105     ASN1_ITEM_ref(PBE2PARAM),
106     ASN1_ITEM_ref(PBEPARAM),
107     ASN1_ITEM_ref(PBKDF2PARAM),
108     ASN1_ITEM_ref(PKCS12_AUTHSAFES),
109     ASN1_ITEM_ref(PKCS12_BAGS),
110     ASN1_ITEM_ref(PKCS12_MAC_DATA),
111     ASN1_ITEM_ref(PKCS12_SAFEBAGS),
112     ASN1_ITEM_ref(PKCS12_SAFEBAG),
113     ASN1_ITEM_ref(PKCS12),
114     ASN1_ITEM_ref(PKCS7_ATTR_SIGN),
115     ASN1_ITEM_ref(PKCS7_ATTR_VERIFY),
116     ASN1_ITEM_ref(PKCS7_DIGEST),
117     ASN1_ITEM_ref(PKCS7_ENCRYPT),
118     ASN1_ITEM_ref(PKCS7_ENC_CONTENT),
119     ASN1_ITEM_ref(PKCS7_ENVELOPE),
120     ASN1_ITEM_ref(PKCS7_ISSUER_AND_SERIAL),
121     ASN1_ITEM_ref(PKCS7_RECIP_INFO),
122     ASN1_ITEM_ref(PKCS7_SIGNED),
123     ASN1_ITEM_ref(PKCS7_SIGNER_INFO),
124     ASN1_ITEM_ref(PKCS7_SIGN_ENVELOPE),
125     ASN1_ITEM_ref(PKCS7),
126     ASN1_ITEM_ref(PKCS8_PRIV_KEY_INFO),
127     ASN1_ITEM_ref(PKEY_USAGE_PERIOD),
128     ASN1_ITEM_ref(POLICYINFO),
129     ASN1_ITEM_ref(POLICYQUALINFO),
130     ASN1_ITEM_ref(POLICY_CONSTRAINTS),
131     ASN1_ITEM_ref(POLICY_MAPPINGS),
132     ASN1_ITEM_ref(POLICY_MAPPING),
133     ASN1_ITEM_ref(PROXY_CERT_INFO_EXTENSION),
134     ASN1_ITEM_ref(PROXY_POLICY),
135 #ifndef OPENSSL_NO_RSA
136     ASN1_ITEM_ref(RSAPrivateKey),
137     ASN1_ITEM_ref(RSAPublicKey),
138     ASN1_ITEM_ref(RSA_OAEP_PARAMS),
139     ASN1_ITEM_ref(RSA_PSS_PARAMS),
140 #endif
141     ASN1_ITEM_ref(SXNETID),
142     ASN1_ITEM_ref(SXNET),
143     ASN1_ITEM_ref(USERNOTICE),
144     ASN1_ITEM_ref(X509_ALGORS),
145     ASN1_ITEM_ref(X509_ALGOR),
146     ASN1_ITEM_ref(X509_ATTRIBUTE),
147     ASN1_ITEM_ref(X509_CERT_AUX),
148     ASN1_ITEM_ref(X509_CINF),
149     ASN1_ITEM_ref(X509_CRL_INFO),
150     ASN1_ITEM_ref(X509_CRL),
151     ASN1_ITEM_ref(X509_EXTENSIONS),
152     ASN1_ITEM_ref(X509_EXTENSION),
153     ASN1_ITEM_ref(X509_NAME_ENTRY),
154     ASN1_ITEM_ref(X509_NAME),
155     ASN1_ITEM_ref(X509_PUBKEY),
156     ASN1_ITEM_ref(X509_REQ_INFO),
157     ASN1_ITEM_ref(X509_REQ),
158     ASN1_ITEM_ref(X509_REVOKED),
159     ASN1_ITEM_ref(X509_SIG),
160     ASN1_ITEM_ref(X509_VAL),
161     ASN1_ITEM_ref(X509),
162     ASN1_ITEM_ref(ZLONG),
163     ASN1_ITEM_ref(INT32),
164     ASN1_ITEM_ref(UINT32),
165     ASN1_ITEM_ref(ZINT32),
166     ASN1_ITEM_ref(ZUINT32),
167     ASN1_ITEM_ref(INT64),
168     ASN1_ITEM_ref(UINT64),
169     ASN1_ITEM_ref(ZINT64),
170     ASN1_ITEM_ref(ZUINT64),
171 };