Vanetza
Loading...
Searching...
No Matches
ToBeSignedCertificate.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
9
10static int
11memb_Vanetza_Security_flags_constraint_1(const asn_TYPE_descriptor_t *td, const void *sptr,
12 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
13 const BIT_STRING_t *st = (const BIT_STRING_t *)sptr;
14 size_t size;
15
16 if(!sptr) {
17 ASN__CTFAIL(app_key, td, sptr,
18 "%s: value not given (%s:%d)",
19 td->name, __FILE__, __LINE__);
20 return -1;
21 }
22
23 if(st->size > 0) {
24 /* Size in bits */
25 size = 8 * st->size - (st->bits_unused & 0x07);
26 } else {
27 size = 0;
28 }
29
30 if((size == 8UL)) {
31 /* Constraint check succeeded */
32 return 0;
33 } else {
34 ASN__CTFAIL(app_key, td, sptr,
35 "%s: constraint failed (%s:%d)",
36 td->name, __FILE__, __LINE__);
37 return -1;
38 }
39}
40
41#if !defined(ASN_DISABLE_OER_SUPPORT)
42static asn_oer_constraints_t asn_OER_memb_Vanetza_Security_flags_constr_15 CC_NOTUSED = {
43 { 0, 0 },
44 8 /* (SIZE(8..8)) */};
45#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
46#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
47static asn_per_constraints_t asn_PER_memb_Vanetza_Security_flags_constr_15 CC_NOTUSED = {
48 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
49 { APC_CONSTRAINED, 0, 0, 8, 8 } /* (SIZE(8..8)) */,
50 0, 0 /* No PER value map */
51};
52#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
53#if !defined(ASN_DISABLE_JER_SUPPORT)
54static asn_jer_constraints_t asn_JER_memb_Vanetza_Security_flags_constr_15 CC_NOTUSED = {
55 8};
56#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
57#if !defined(ASN_DISABLE_OER_SUPPORT)
58asn_oer_constraints_t asn_OER_type_Vanetza_Security_ToBeSignedCertificate_constr_1 CC_NOTUSED = {
59 { 0, 0 },
60 -1};
61#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
62#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
63asn_per_constraints_t asn_PER_type_Vanetza_Security_ToBeSignedCertificate_constr_1 CC_NOTUSED = {
64 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
65 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
66 0, 0 /* No PER value map */
67};
68#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
69asn_TYPE_member_t asn_MBR_Vanetza_Security_ToBeSignedCertificate_1[] = {
70 { ATF_NOFLAGS, 0, offsetof(struct Vanetza_Security_ToBeSignedCertificate, id),
71 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
72 +1, /* EXPLICIT tag at current level */
73 &asn_DEF_Vanetza_Security_CertificateId,
74 0,
75 {
76#if !defined(ASN_DISABLE_OER_SUPPORT)
77 0,
78#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
79#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
80 0,
81#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
82#if !defined(ASN_DISABLE_JER_SUPPORT)
83 0,
84#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
85 0
86 },
87 0, 0, /* No default value */
88 "id"
89 },
90 { ATF_NOFLAGS, 0, offsetof(struct Vanetza_Security_ToBeSignedCertificate, cracaId),
91 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
92 -1, /* IMPLICIT tag at current level */
93 &asn_DEF_Vanetza_Security_HashedId3,
94 0,
95 {
96#if !defined(ASN_DISABLE_OER_SUPPORT)
97 0,
98#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
99#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
100 0,
101#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
102#if !defined(ASN_DISABLE_JER_SUPPORT)
103 0,
104#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
105 0
106 },
107 0, 0, /* No default value */
108 "cracaId"
109 },
110 { ATF_NOFLAGS, 0, offsetof(struct Vanetza_Security_ToBeSignedCertificate, crlSeries),
111 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
112 -1, /* IMPLICIT tag at current level */
113 &asn_DEF_Vanetza_Security_CrlSeries,
114 0,
115 {
116#if !defined(ASN_DISABLE_OER_SUPPORT)
117 0,
118#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
119#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
120 0,
121#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
122#if !defined(ASN_DISABLE_JER_SUPPORT)
123 0,
124#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
125 0
126 },
127 0, 0, /* No default value */
128 "crlSeries"
129 },
130 { ATF_NOFLAGS, 0, offsetof(struct Vanetza_Security_ToBeSignedCertificate, validityPeriod),
131 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
132 -1, /* IMPLICIT tag at current level */
133 &asn_DEF_Vanetza_Security_ValidityPeriod,
134 0,
135 {
136#if !defined(ASN_DISABLE_OER_SUPPORT)
137 0,
138#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
139#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
140 0,
141#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
142#if !defined(ASN_DISABLE_JER_SUPPORT)
143 0,
144#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
145 0
146 },
147 0, 0, /* No default value */
148 "validityPeriod"
149 },
150 { ATF_POINTER, 7, offsetof(struct Vanetza_Security_ToBeSignedCertificate, region),
151 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
152 +1, /* EXPLICIT tag at current level */
153 &asn_DEF_Vanetza_Security_GeographicRegion,
154 0,
155 {
156#if !defined(ASN_DISABLE_OER_SUPPORT)
157 0,
158#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
159#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
160 0,
161#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
162#if !defined(ASN_DISABLE_JER_SUPPORT)
163 0,
164#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
165 0
166 },
167 0, 0, /* No default value */
168 "region"
169 },
170 { ATF_POINTER, 6, offsetof(struct Vanetza_Security_ToBeSignedCertificate, assuranceLevel),
171 (ASN_TAG_CLASS_CONTEXT | (5 << 2)),
172 -1, /* IMPLICIT tag at current level */
173 &asn_DEF_Vanetza_Security_SubjectAssurance,
174 0,
175 {
176#if !defined(ASN_DISABLE_OER_SUPPORT)
177 0,
178#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
179#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
180 0,
181#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
182#if !defined(ASN_DISABLE_JER_SUPPORT)
183 0,
184#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
185 0
186 },
187 0, 0, /* No default value */
188 "assuranceLevel"
189 },
190 { ATF_POINTER, 5, offsetof(struct Vanetza_Security_ToBeSignedCertificate, appPermissions),
191 (ASN_TAG_CLASS_CONTEXT | (6 << 2)),
192 -1, /* IMPLICIT tag at current level */
193 &asn_DEF_Vanetza_Security_SequenceOfPsidSsp,
194 0,
195 {
196#if !defined(ASN_DISABLE_OER_SUPPORT)
197 0,
198#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
199#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
200 0,
201#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
202#if !defined(ASN_DISABLE_JER_SUPPORT)
203 0,
204#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
205 0
206 },
207 0, 0, /* No default value */
208 "appPermissions"
209 },
210 { ATF_POINTER, 4, offsetof(struct Vanetza_Security_ToBeSignedCertificate, certIssuePermissions),
211 (ASN_TAG_CLASS_CONTEXT | (7 << 2)),
212 -1, /* IMPLICIT tag at current level */
213 &asn_DEF_Vanetza_Security_SequenceOfPsidGroupPermissions,
214 0,
215 {
216#if !defined(ASN_DISABLE_OER_SUPPORT)
217 0,
218#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
219#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
220 0,
221#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
222#if !defined(ASN_DISABLE_JER_SUPPORT)
223 0,
224#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
225 0
226 },
227 0, 0, /* No default value */
228 "certIssuePermissions"
229 },
230 { ATF_POINTER, 3, offsetof(struct Vanetza_Security_ToBeSignedCertificate, certRequestPermissions),
231 (ASN_TAG_CLASS_CONTEXT | (8 << 2)),
232 -1, /* IMPLICIT tag at current level */
233 &asn_DEF_Vanetza_Security_SequenceOfPsidGroupPermissions,
234 0,
235 {
236#if !defined(ASN_DISABLE_OER_SUPPORT)
237 0,
238#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
239#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
240 0,
241#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
242#if !defined(ASN_DISABLE_JER_SUPPORT)
243 0,
244#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
245 0
246 },
247 0, 0, /* No default value */
248 "certRequestPermissions"
249 },
250 { ATF_POINTER, 2, offsetof(struct Vanetza_Security_ToBeSignedCertificate, canRequestRollover),
251 (ASN_TAG_CLASS_CONTEXT | (9 << 2)),
252 -1, /* IMPLICIT tag at current level */
253 &asn_DEF_NULL,
254 0,
255 {
256#if !defined(ASN_DISABLE_OER_SUPPORT)
257 0,
258#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
259#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
260 0,
261#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
262#if !defined(ASN_DISABLE_JER_SUPPORT)
263 0,
264#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
265 0
266 },
267 0, 0, /* No default value */
268 "canRequestRollover"
269 },
270 { ATF_POINTER, 1, offsetof(struct Vanetza_Security_ToBeSignedCertificate, encryptionKey),
271 (ASN_TAG_CLASS_CONTEXT | (10 << 2)),
272 -1, /* IMPLICIT tag at current level */
273 &asn_DEF_Vanetza_Security_PublicEncryptionKey,
274 0,
275 {
276#if !defined(ASN_DISABLE_OER_SUPPORT)
277 0,
278#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
279#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
280 0,
281#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
282#if !defined(ASN_DISABLE_JER_SUPPORT)
283 0,
284#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
285 0
286 },
287 0, 0, /* No default value */
288 "encryptionKey"
289 },
290 { ATF_NOFLAGS, 0, offsetof(struct Vanetza_Security_ToBeSignedCertificate, verifyKeyIndicator),
291 (ASN_TAG_CLASS_CONTEXT | (11 << 2)),
292 +1, /* EXPLICIT tag at current level */
293 &asn_DEF_Vanetza_Security_VerificationKeyIndicator,
294 0,
295 {
296#if !defined(ASN_DISABLE_OER_SUPPORT)
297 0,
298#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
299#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
300 0,
301#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
302#if !defined(ASN_DISABLE_JER_SUPPORT)
303 0,
304#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
305 0
306 },
307 0, 0, /* No default value */
308 "verifyKeyIndicator"
309 },
310 { ATF_POINTER, 6, offsetof(struct Vanetza_Security_ToBeSignedCertificate, flags),
311 (ASN_TAG_CLASS_CONTEXT | (12 << 2)),
312 -1, /* IMPLICIT tag at current level */
313 &asn_DEF_BIT_STRING,
314 0,
315 {
316#if !defined(ASN_DISABLE_OER_SUPPORT)
317 &asn_OER_memb_Vanetza_Security_flags_constr_15,
318#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
319#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
320 &asn_PER_memb_Vanetza_Security_flags_constr_15,
321#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
322#if !defined(ASN_DISABLE_JER_SUPPORT)
323 &asn_JER_memb_Vanetza_Security_flags_constr_15,
324#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
325 memb_Vanetza_Security_flags_constraint_1
326 },
327 0, 0, /* No default value */
328 "flags"
329 },
330 { ATF_POINTER, 5, offsetof(struct Vanetza_Security_ToBeSignedCertificate, appExtensions),
331 (ASN_TAG_CLASS_CONTEXT | (13 << 2)),
332 -1, /* IMPLICIT tag at current level */
333 &asn_DEF_Vanetza_Security_SequenceOfAppExtensions,
334 0,
335 {
336#if !defined(ASN_DISABLE_OER_SUPPORT)
337 0,
338#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
339#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
340 0,
341#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
342#if !defined(ASN_DISABLE_JER_SUPPORT)
343 0,
344#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
345 0
346 },
347 0, 0, /* No default value */
348 "appExtensions"
349 },
350 { ATF_POINTER, 4, offsetof(struct Vanetza_Security_ToBeSignedCertificate, certIssueExtensions),
351 (ASN_TAG_CLASS_CONTEXT | (14 << 2)),
352 -1, /* IMPLICIT tag at current level */
353 &asn_DEF_Vanetza_Security_SequenceOfCertIssueExtensions,
354 0,
355 {
356#if !defined(ASN_DISABLE_OER_SUPPORT)
357 0,
358#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
359#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
360 0,
361#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
362#if !defined(ASN_DISABLE_JER_SUPPORT)
363 0,
364#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
365 0
366 },
367 0, 0, /* No default value */
368 "certIssueExtensions"
369 },
370 { ATF_POINTER, 3, offsetof(struct Vanetza_Security_ToBeSignedCertificate, certRequestExtension),
371 (ASN_TAG_CLASS_CONTEXT | (15 << 2)),
372 -1, /* IMPLICIT tag at current level */
373 &asn_DEF_Vanetza_Security_SequenceOfCertRequestExtensions,
374 0,
375 {
376#if !defined(ASN_DISABLE_OER_SUPPORT)
377 0,
378#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
379#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
380 0,
381#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
382#if !defined(ASN_DISABLE_JER_SUPPORT)
383 0,
384#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
385 0
386 },
387 0, 0, /* No default value */
388 "certRequestExtension"
389 },
390 { ATF_POINTER, 2, offsetof(struct Vanetza_Security_ToBeSignedCertificate, altVerificationKey),
391 (ASN_TAG_CLASS_CONTEXT | (16 << 2)),
392 +1, /* EXPLICIT tag at current level */
393 &asn_DEF_Vanetza_Security_PublicVerificationKey,
394 0,
395 {
396#if !defined(ASN_DISABLE_OER_SUPPORT)
397 0,
398#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
399#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
400 0,
401#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
402#if !defined(ASN_DISABLE_JER_SUPPORT)
403 0,
404#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
405 0
406 },
407 0, 0, /* No default value */
408 "altVerificationKey"
409 },
410 { ATF_POINTER, 1, offsetof(struct Vanetza_Security_ToBeSignedCertificate, altSignatureValue),
411 (ASN_TAG_CLASS_CONTEXT | (17 << 2)),
412 +1, /* EXPLICIT tag at current level */
413 &asn_DEF_Vanetza_Security_Signature,
414 0,
415 {
416#if !defined(ASN_DISABLE_OER_SUPPORT)
417 0,
418#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
419#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
420 0,
421#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
422#if !defined(ASN_DISABLE_JER_SUPPORT)
423 0,
424#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
425 0
426 },
427 0, 0, /* No default value */
428 "altSignatureValue"
429 },
430};
431static const int asn_MAP_Vanetza_Security_ToBeSignedCertificate_oms_1[] = { 4, 5, 6, 7, 8, 9, 10, 12, 13, 14, 15, 16, 17 };
432static const ber_tlv_tag_t asn_DEF_Vanetza_Security_ToBeSignedCertificate_tags_1[] = {
433 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
434};
435static const asn_TYPE_tag2member_t asn_MAP_Vanetza_Security_ToBeSignedCertificate_tag2el_1[] = {
436 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* id */
437 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* cracaId */
438 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* crlSeries */
439 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* validityPeriod */
440 { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* region */
441 { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* assuranceLevel */
442 { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 }, /* appPermissions */
443 { (ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0 }, /* certIssuePermissions */
444 { (ASN_TAG_CLASS_CONTEXT | (8 << 2)), 8, 0, 0 }, /* certRequestPermissions */
445 { (ASN_TAG_CLASS_CONTEXT | (9 << 2)), 9, 0, 0 }, /* canRequestRollover */
446 { (ASN_TAG_CLASS_CONTEXT | (10 << 2)), 10, 0, 0 }, /* encryptionKey */
447 { (ASN_TAG_CLASS_CONTEXT | (11 << 2)), 11, 0, 0 }, /* verifyKeyIndicator */
448 { (ASN_TAG_CLASS_CONTEXT | (12 << 2)), 12, 0, 0 }, /* flags */
449 { (ASN_TAG_CLASS_CONTEXT | (13 << 2)), 13, 0, 0 }, /* appExtensions */
450 { (ASN_TAG_CLASS_CONTEXT | (14 << 2)), 14, 0, 0 }, /* certIssueExtensions */
451 { (ASN_TAG_CLASS_CONTEXT | (15 << 2)), 15, 0, 0 }, /* certRequestExtension */
452 { (ASN_TAG_CLASS_CONTEXT | (16 << 2)), 16, 0, 0 }, /* altVerificationKey */
453 { (ASN_TAG_CLASS_CONTEXT | (17 << 2)), 17, 0, 0 } /* altSignatureValue */
454};
455asn_SEQUENCE_specifics_t asn_SPC_Vanetza_Security_ToBeSignedCertificate_specs_1 = {
456 sizeof(struct Vanetza_Security_ToBeSignedCertificate),
457 offsetof(struct Vanetza_Security_ToBeSignedCertificate, _asn_ctx),
458 asn_MAP_Vanetza_Security_ToBeSignedCertificate_tag2el_1,
459 18, /* Count of tags in the map */
460 asn_MAP_Vanetza_Security_ToBeSignedCertificate_oms_1, /* Optional members */
461 7, 6, /* Root/Additions */
462 12, /* First extension addition */
463};
464asn_TYPE_descriptor_t asn_DEF_Vanetza_Security_ToBeSignedCertificate = {
465 "ToBeSignedCertificate",
466 "ToBeSignedCertificate",
467 &asn_OP_SEQUENCE,
468 asn_DEF_Vanetza_Security_ToBeSignedCertificate_tags_1,
469 sizeof(asn_DEF_Vanetza_Security_ToBeSignedCertificate_tags_1)
470 /sizeof(asn_DEF_Vanetza_Security_ToBeSignedCertificate_tags_1[0]), /* 1 */
471 asn_DEF_Vanetza_Security_ToBeSignedCertificate_tags_1, /* Same as above */
472 sizeof(asn_DEF_Vanetza_Security_ToBeSignedCertificate_tags_1)
473 /sizeof(asn_DEF_Vanetza_Security_ToBeSignedCertificate_tags_1[0]), /* 1 */
474 {
475#if !defined(ASN_DISABLE_OER_SUPPORT)
476 &asn_OER_type_Vanetza_Security_ToBeSignedCertificate_constr_1,
477#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
478#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
479 &asn_PER_type_Vanetza_Security_ToBeSignedCertificate_constr_1,
480#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
481#if !defined(ASN_DISABLE_JER_SUPPORT)
482 0,
483#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
484 SEQUENCE_constraint
485 },
486 asn_MBR_Vanetza_Security_ToBeSignedCertificate_1,
487 18, /* Elements count */
488 &asn_SPC_Vanetza_Security_ToBeSignedCertificate_specs_1 /* Additional specs */
489};