Vanetza
Loading...
Searching...
No Matches
HeaderInfo.c
1/*
2 * Generated by asn1c
3 * From ASN.1 module "Ieee1609Dot2"
4 * found in "Ieee1609Dot2.asn"
5 * `asn1c -fcompound-names -fincludes-quoted -no-gen-example -fprefix=Vanetza_Security_ -R`
6 */
7
8#include "HeaderInfo.h"
9
10asn_TYPE_member_t asn_MBR_Vanetza_Security_HeaderInfo_1[] = {
11 { ATF_NOFLAGS, 0, offsetof(struct Vanetza_Security_HeaderInfo, psid),
12 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
13 -1, /* IMPLICIT tag at current level */
14 &asn_DEF_Vanetza_Security_Psid,
15 0,
16 {
17#if !defined(ASN_DISABLE_OER_SUPPORT)
18 0,
19#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
20#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
21 0,
22#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
23#if !defined(ASN_DISABLE_JER_SUPPORT)
24 0,
25#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
26 0
27 },
28 0, 0, /* No default value */
29 "psid"
30 },
31 { ATF_POINTER, 10, offsetof(struct Vanetza_Security_HeaderInfo, generationTime),
32 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
33 -1, /* IMPLICIT tag at current level */
34 &asn_DEF_Vanetza_Security_Time64,
35 0,
36 {
37#if !defined(ASN_DISABLE_OER_SUPPORT)
38 0,
39#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
40#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
41 0,
42#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
43#if !defined(ASN_DISABLE_JER_SUPPORT)
44 0,
45#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
46 0
47 },
48 0, 0, /* No default value */
49 "generationTime"
50 },
51 { ATF_POINTER, 9, offsetof(struct Vanetza_Security_HeaderInfo, expiryTime),
52 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
53 -1, /* IMPLICIT tag at current level */
54 &asn_DEF_Vanetza_Security_Time64,
55 0,
56 {
57#if !defined(ASN_DISABLE_OER_SUPPORT)
58 0,
59#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
60#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
61 0,
62#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
63#if !defined(ASN_DISABLE_JER_SUPPORT)
64 0,
65#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
66 0
67 },
68 0, 0, /* No default value */
69 "expiryTime"
70 },
71 { ATF_POINTER, 8, offsetof(struct Vanetza_Security_HeaderInfo, generationLocation),
72 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
73 -1, /* IMPLICIT tag at current level */
74 &asn_DEF_Vanetza_Security_ThreeDLocation,
75 0,
76 {
77#if !defined(ASN_DISABLE_OER_SUPPORT)
78 0,
79#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
80#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
81 0,
82#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
83#if !defined(ASN_DISABLE_JER_SUPPORT)
84 0,
85#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
86 0
87 },
88 0, 0, /* No default value */
89 "generationLocation"
90 },
91 { ATF_POINTER, 7, offsetof(struct Vanetza_Security_HeaderInfo, p2pcdLearningRequest),
92 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
93 -1, /* IMPLICIT tag at current level */
94 &asn_DEF_Vanetza_Security_HashedId3,
95 0,
96 {
97#if !defined(ASN_DISABLE_OER_SUPPORT)
98 0,
99#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
100#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
101 0,
102#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
103#if !defined(ASN_DISABLE_JER_SUPPORT)
104 0,
105#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
106 0
107 },
108 0, 0, /* No default value */
109 "p2pcdLearningRequest"
110 },
111 { ATF_POINTER, 6, offsetof(struct Vanetza_Security_HeaderInfo, missingCrlIdentifier),
112 (ASN_TAG_CLASS_CONTEXT | (5 << 2)),
113 -1, /* IMPLICIT tag at current level */
114 &asn_DEF_Vanetza_Security_MissingCrlIdentifier,
115 0,
116 {
117#if !defined(ASN_DISABLE_OER_SUPPORT)
118 0,
119#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
120#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
121 0,
122#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
123#if !defined(ASN_DISABLE_JER_SUPPORT)
124 0,
125#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
126 0
127 },
128 0, 0, /* No default value */
129 "missingCrlIdentifier"
130 },
131 { ATF_POINTER, 5, offsetof(struct Vanetza_Security_HeaderInfo, encryptionKey),
132 (ASN_TAG_CLASS_CONTEXT | (6 << 2)),
133 +1, /* EXPLICIT tag at current level */
134 &asn_DEF_Vanetza_Security_EncryptionKey,
135 0,
136 {
137#if !defined(ASN_DISABLE_OER_SUPPORT)
138 0,
139#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
140#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
141 0,
142#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
143#if !defined(ASN_DISABLE_JER_SUPPORT)
144 0,
145#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
146 0
147 },
148 0, 0, /* No default value */
149 "encryptionKey"
150 },
151 { ATF_POINTER, 4, offsetof(struct Vanetza_Security_HeaderInfo, inlineP2pcdRequest),
152 (ASN_TAG_CLASS_CONTEXT | (7 << 2)),
153 -1, /* IMPLICIT tag at current level */
154 &asn_DEF_Vanetza_Security_SequenceOfHashedId3,
155 0,
156 {
157#if !defined(ASN_DISABLE_OER_SUPPORT)
158 0,
159#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
160#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
161 0,
162#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
163#if !defined(ASN_DISABLE_JER_SUPPORT)
164 0,
165#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
166 0
167 },
168 0, 0, /* No default value */
169 "inlineP2pcdRequest"
170 },
171 { ATF_POINTER, 3, offsetof(struct Vanetza_Security_HeaderInfo, requestedCertificate),
172 (ASN_TAG_CLASS_CONTEXT | (8 << 2)),
173 -1, /* IMPLICIT tag at current level */
174 &asn_DEF_Vanetza_Security_Certificate,
175 0,
176 {
177#if !defined(ASN_DISABLE_OER_SUPPORT)
178 0,
179#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
180#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
181 0,
182#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
183#if !defined(ASN_DISABLE_JER_SUPPORT)
184 0,
185#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
186 0
187 },
188 0, 0, /* No default value */
189 "requestedCertificate"
190 },
191 { ATF_POINTER, 2, offsetof(struct Vanetza_Security_HeaderInfo, pduFunctionalType),
192 (ASN_TAG_CLASS_CONTEXT | (9 << 2)),
193 -1, /* IMPLICIT tag at current level */
194 &asn_DEF_Vanetza_Security_PduFunctionalType,
195 0,
196 {
197#if !defined(ASN_DISABLE_OER_SUPPORT)
198 0,
199#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
200#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
201 0,
202#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
203#if !defined(ASN_DISABLE_JER_SUPPORT)
204 0,
205#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
206 0
207 },
208 0, 0, /* No default value */
209 "pduFunctionalType"
210 },
211 { ATF_POINTER, 1, offsetof(struct Vanetza_Security_HeaderInfo, contributedExtensions),
212 (ASN_TAG_CLASS_CONTEXT | (10 << 2)),
213 -1, /* IMPLICIT tag at current level */
214 &asn_DEF_Vanetza_Security_ContributedExtensionBlocks,
215 0,
216 {
217#if !defined(ASN_DISABLE_OER_SUPPORT)
218 0,
219#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
220#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
221 0,
222#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
223#if !defined(ASN_DISABLE_JER_SUPPORT)
224 0,
225#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
226 0
227 },
228 0, 0, /* No default value */
229 "contributedExtensions"
230 },
231};
232static const int asn_MAP_Vanetza_Security_HeaderInfo_oms_1[] = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 };
233static const ber_tlv_tag_t asn_DEF_Vanetza_Security_HeaderInfo_tags_1[] = {
234 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
235};
236static const asn_TYPE_tag2member_t asn_MAP_Vanetza_Security_HeaderInfo_tag2el_1[] = {
237 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* psid */
238 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* generationTime */
239 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* expiryTime */
240 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* generationLocation */
241 { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* p2pcdLearningRequest */
242 { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* missingCrlIdentifier */
243 { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 }, /* encryptionKey */
244 { (ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0 }, /* inlineP2pcdRequest */
245 { (ASN_TAG_CLASS_CONTEXT | (8 << 2)), 8, 0, 0 }, /* requestedCertificate */
246 { (ASN_TAG_CLASS_CONTEXT | (9 << 2)), 9, 0, 0 }, /* pduFunctionalType */
247 { (ASN_TAG_CLASS_CONTEXT | (10 << 2)), 10, 0, 0 } /* contributedExtensions */
248};
249asn_SEQUENCE_specifics_t asn_SPC_Vanetza_Security_HeaderInfo_specs_1 = {
250 sizeof(struct Vanetza_Security_HeaderInfo),
251 offsetof(struct Vanetza_Security_HeaderInfo, _asn_ctx),
252 asn_MAP_Vanetza_Security_HeaderInfo_tag2el_1,
253 11, /* Count of tags in the map */
254 asn_MAP_Vanetza_Security_HeaderInfo_oms_1, /* Optional members */
255 6, 4, /* Root/Additions */
256 7, /* First extension addition */
257};
258asn_TYPE_descriptor_t asn_DEF_Vanetza_Security_HeaderInfo = {
259 "HeaderInfo",
260 "HeaderInfo",
261 &asn_OP_SEQUENCE,
262 asn_DEF_Vanetza_Security_HeaderInfo_tags_1,
263 sizeof(asn_DEF_Vanetza_Security_HeaderInfo_tags_1)
264 /sizeof(asn_DEF_Vanetza_Security_HeaderInfo_tags_1[0]), /* 1 */
265 asn_DEF_Vanetza_Security_HeaderInfo_tags_1, /* Same as above */
266 sizeof(asn_DEF_Vanetza_Security_HeaderInfo_tags_1)
267 /sizeof(asn_DEF_Vanetza_Security_HeaderInfo_tags_1[0]), /* 1 */
268 {
269#if !defined(ASN_DISABLE_OER_SUPPORT)
270 0,
271#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
272#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
273 0,
274#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
275#if !defined(ASN_DISABLE_JER_SUPPORT)
276 0,
277#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
278 SEQUENCE_constraint
279 },
280 asn_MBR_Vanetza_Security_HeaderInfo_1,
281 11, /* Elements count */
282 &asn_SPC_Vanetza_Security_HeaderInfo_specs_1 /* Additional specs */
283};