1 | /* |
2 | * Copyright 2000-2016 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 | 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 | #ifndef OPENSSL_NO_DEPRECATED_3_0 |
82 | ASN1_ITEM_ref(LONG), |
83 | #endif |
84 | ASN1_ITEM_ref(NAME_CONSTRAINTS), |
85 | ASN1_ITEM_ref(NETSCAPE_CERT_SEQUENCE), |
86 | ASN1_ITEM_ref(NETSCAPE_SPKAC), |
87 | ASN1_ITEM_ref(NETSCAPE_SPKI), |
88 | ASN1_ITEM_ref(NOTICEREF), |
89 | #ifndef OPENSSL_NO_OCSP |
90 | ASN1_ITEM_ref(OCSP_BASICRESP), |
91 | ASN1_ITEM_ref(OCSP_CERTID), |
92 | ASN1_ITEM_ref(OCSP_CERTSTATUS), |
93 | ASN1_ITEM_ref(OCSP_CRLID), |
94 | ASN1_ITEM_ref(OCSP_ONEREQ), |
95 | ASN1_ITEM_ref(OCSP_REQINFO), |
96 | ASN1_ITEM_ref(OCSP_REQUEST), |
97 | ASN1_ITEM_ref(OCSP_RESPBYTES), |
98 | ASN1_ITEM_ref(OCSP_RESPDATA), |
99 | ASN1_ITEM_ref(OCSP_RESPID), |
100 | ASN1_ITEM_ref(OCSP_RESPONSE), |
101 | ASN1_ITEM_ref(OCSP_REVOKEDINFO), |
102 | ASN1_ITEM_ref(OCSP_SERVICELOC), |
103 | ASN1_ITEM_ref(OCSP_SIGNATURE), |
104 | ASN1_ITEM_ref(OCSP_SINGLERESP), |
105 | #endif |
106 | ASN1_ITEM_ref(OTHERNAME), |
107 | ASN1_ITEM_ref(PBE2PARAM), |
108 | ASN1_ITEM_ref(PBEPARAM), |
109 | ASN1_ITEM_ref(PBKDF2PARAM), |
110 | ASN1_ITEM_ref(PKCS12_AUTHSAFES), |
111 | ASN1_ITEM_ref(PKCS12_BAGS), |
112 | ASN1_ITEM_ref(PKCS12_MAC_DATA), |
113 | ASN1_ITEM_ref(PKCS12_SAFEBAGS), |
114 | ASN1_ITEM_ref(PKCS12_SAFEBAG), |
115 | ASN1_ITEM_ref(PKCS12), |
116 | ASN1_ITEM_ref(PKCS7_ATTR_SIGN), |
117 | ASN1_ITEM_ref(PKCS7_ATTR_VERIFY), |
118 | ASN1_ITEM_ref(PKCS7_DIGEST), |
119 | ASN1_ITEM_ref(PKCS7_ENCRYPT), |
120 | ASN1_ITEM_ref(PKCS7_ENC_CONTENT), |
121 | ASN1_ITEM_ref(PKCS7_ENVELOPE), |
122 | ASN1_ITEM_ref(PKCS7_ISSUER_AND_SERIAL), |
123 | ASN1_ITEM_ref(PKCS7_RECIP_INFO), |
124 | ASN1_ITEM_ref(PKCS7_SIGNED), |
125 | ASN1_ITEM_ref(PKCS7_SIGNER_INFO), |
126 | ASN1_ITEM_ref(PKCS7_SIGN_ENVELOPE), |
127 | ASN1_ITEM_ref(PKCS7), |
128 | ASN1_ITEM_ref(PKCS8_PRIV_KEY_INFO), |
129 | ASN1_ITEM_ref(PKEY_USAGE_PERIOD), |
130 | ASN1_ITEM_ref(POLICYINFO), |
131 | ASN1_ITEM_ref(POLICYQUALINFO), |
132 | ASN1_ITEM_ref(POLICY_CONSTRAINTS), |
133 | ASN1_ITEM_ref(POLICY_MAPPINGS), |
134 | ASN1_ITEM_ref(POLICY_MAPPING), |
135 | ASN1_ITEM_ref(PROXY_CERT_INFO_EXTENSION), |
136 | ASN1_ITEM_ref(PROXY_POLICY), |
137 | #ifndef OPENSSL_NO_RSA |
138 | ASN1_ITEM_ref(RSAPrivateKey), |
139 | ASN1_ITEM_ref(RSAPublicKey), |
140 | ASN1_ITEM_ref(RSA_OAEP_PARAMS), |
141 | ASN1_ITEM_ref(RSA_PSS_PARAMS), |
142 | #endif |
143 | #ifndef OPENSSL_NO_SCRYPT |
144 | ASN1_ITEM_ref(SCRYPT_PARAMS), |
145 | #endif |
146 | ASN1_ITEM_ref(SXNETID), |
147 | ASN1_ITEM_ref(SXNET), |
148 | ASN1_ITEM_ref(USERNOTICE), |
149 | ASN1_ITEM_ref(X509_ALGORS), |
150 | ASN1_ITEM_ref(X509_ALGOR), |
151 | ASN1_ITEM_ref(X509_ATTRIBUTE), |
152 | ASN1_ITEM_ref(X509_CERT_AUX), |
153 | ASN1_ITEM_ref(X509_CINF), |
154 | ASN1_ITEM_ref(X509_CRL_INFO), |
155 | ASN1_ITEM_ref(X509_CRL), |
156 | ASN1_ITEM_ref(X509_EXTENSIONS), |
157 | ASN1_ITEM_ref(X509_EXTENSION), |
158 | ASN1_ITEM_ref(X509_NAME_ENTRY), |
159 | ASN1_ITEM_ref(X509_NAME), |
160 | ASN1_ITEM_ref(X509_PUBKEY), |
161 | ASN1_ITEM_ref(X509_REQ_INFO), |
162 | ASN1_ITEM_ref(X509_REQ), |
163 | ASN1_ITEM_ref(X509_REVOKED), |
164 | ASN1_ITEM_ref(X509_SIG), |
165 | ASN1_ITEM_ref(X509_VAL), |
166 | ASN1_ITEM_ref(X509), |
167 | #ifndef OPENSSL_NO_DEPRECATED_3_0 |
168 | ASN1_ITEM_ref(ZLONG), |
169 | #endif |
170 | ASN1_ITEM_ref(INT32), |
171 | ASN1_ITEM_ref(UINT32), |
172 | ASN1_ITEM_ref(ZINT32), |
173 | ASN1_ITEM_ref(ZUINT32), |
174 | ASN1_ITEM_ref(INT64), |
175 | ASN1_ITEM_ref(UINT64), |
176 | ASN1_ITEM_ref(ZINT64), |
177 | ASN1_ITEM_ref(ZUINT64), |
178 | }; |
179 | |