Vanetza
 
Loading...
Searching...
No Matches
HeaderInfo.c
1/*
2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3 * From ASN.1 module "IEEE1609dot2"
4 * found in "asn1/IEEE1609dot2.asn"
5 * `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
6 */
7
8#include "HeaderInfo.h"
9
10asn_TYPE_member_t asn_MBR_HeaderInfo_1[] = {
11 { ATF_NOFLAGS, 0, offsetof(struct HeaderInfo, psid),
12 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
13 -1, /* IMPLICIT tag at current level */
14 &asn_DEF_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 0
24 },
25 0, 0, /* No default value */
26 "psid"
27 },
28 { ATF_POINTER, 8, offsetof(struct HeaderInfo, generationTime),
29 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
30 -1, /* IMPLICIT tag at current level */
31 &asn_DEF_Time64,
32 0,
33 {
34#if !defined(ASN_DISABLE_OER_SUPPORT)
35 0,
36#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
37#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
38 0,
39#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
40 0
41 },
42 0, 0, /* No default value */
43 "generationTime"
44 },
45 { ATF_POINTER, 7, offsetof(struct HeaderInfo, expiryTime),
46 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
47 -1, /* IMPLICIT tag at current level */
48 &asn_DEF_Time64,
49 0,
50 {
51#if !defined(ASN_DISABLE_OER_SUPPORT)
52 0,
53#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
54#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
55 0,
56#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
57 0
58 },
59 0, 0, /* No default value */
60 "expiryTime"
61 },
62 { ATF_POINTER, 6, offsetof(struct HeaderInfo, generationLocation),
63 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
64 -1, /* IMPLICIT tag at current level */
65 &asn_DEF_ThreeDLocation,
66 0,
67 {
68#if !defined(ASN_DISABLE_OER_SUPPORT)
69 0,
70#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
71#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
72 0,
73#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
74 0
75 },
76 0, 0, /* No default value */
77 "generationLocation"
78 },
79 { ATF_POINTER, 5, offsetof(struct HeaderInfo, p2pcdLearningRequest),
80 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
81 -1, /* IMPLICIT tag at current level */
82 &asn_DEF_HashedId3,
83 0,
84 {
85#if !defined(ASN_DISABLE_OER_SUPPORT)
86 0,
87#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
88#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
89 0,
90#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
91 0
92 },
93 0, 0, /* No default value */
94 "p2pcdLearningRequest"
95 },
96 { ATF_POINTER, 4, offsetof(struct HeaderInfo, missingCrlIdentifier),
97 (ASN_TAG_CLASS_CONTEXT | (5 << 2)),
98 -1, /* IMPLICIT tag at current level */
99 &asn_DEF_MissingCrlIdentifier,
100 0,
101 {
102#if !defined(ASN_DISABLE_OER_SUPPORT)
103 0,
104#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
105#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
106 0,
107#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
108 0
109 },
110 0, 0, /* No default value */
111 "missingCrlIdentifier"
112 },
113 { ATF_POINTER, 3, offsetof(struct HeaderInfo, encryptionKey),
114 (ASN_TAG_CLASS_CONTEXT | (6 << 2)),
115 +1, /* EXPLICIT tag at current level */
116 &asn_DEF_EncryptionKey,
117 0,
118 {
119#if !defined(ASN_DISABLE_OER_SUPPORT)
120 0,
121#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
122#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
123 0,
124#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
125 0
126 },
127 0, 0, /* No default value */
128 "encryptionKey"
129 },
130 { ATF_POINTER, 2, offsetof(struct HeaderInfo, inlineP2pcdRequest),
131 (ASN_TAG_CLASS_CONTEXT | (7 << 2)),
132 -1, /* IMPLICIT tag at current level */
133 &asn_DEF_SequenceOfHashedId3,
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 0
143 },
144 0, 0, /* No default value */
145 "inlineP2pcdRequest"
146 },
147 { ATF_POINTER, 1, offsetof(struct HeaderInfo, requestedCertificate),
148 (ASN_TAG_CLASS_CONTEXT | (8 << 2)),
149 -1, /* IMPLICIT tag at current level */
150 &asn_DEF_Certificate,
151 0,
152 {
153#if !defined(ASN_DISABLE_OER_SUPPORT)
154 0,
155#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
156#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
157 0,
158#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
159 0
160 },
161 0, 0, /* No default value */
162 "requestedCertificate"
163 },
164};
165static const int asn_MAP_HeaderInfo_oms_1[] = { 1, 2, 3, 4, 5, 6, 7, 8 };
166static const ber_tlv_tag_t asn_DEF_HeaderInfo_tags_1[] = {
167 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
168};
169static const asn_TYPE_tag2member_t asn_MAP_HeaderInfo_tag2el_1[] = {
170 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* psid */
171 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* generationTime */
172 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* expiryTime */
173 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* generationLocation */
174 { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* p2pcdLearningRequest */
175 { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* missingCrlIdentifier */
176 { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 }, /* encryptionKey */
177 { (ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0 }, /* inlineP2pcdRequest */
178 { (ASN_TAG_CLASS_CONTEXT | (8 << 2)), 8, 0, 0 } /* requestedCertificate */
179};
180asn_SEQUENCE_specifics_t asn_SPC_HeaderInfo_specs_1 = {
181 sizeof(struct HeaderInfo),
182 offsetof(struct HeaderInfo, _asn_ctx),
183 asn_MAP_HeaderInfo_tag2el_1,
184 9, /* Count of tags in the map */
185 asn_MAP_HeaderInfo_oms_1, /* Optional members */
186 6, 2, /* Root/Additions */
187 7, /* First extension addition */
188};
189asn_TYPE_descriptor_t asn_DEF_HeaderInfo = {
190 "HeaderInfo",
191 "HeaderInfo",
192 &asn_OP_SEQUENCE,
193 asn_DEF_HeaderInfo_tags_1,
194 sizeof(asn_DEF_HeaderInfo_tags_1)
195 /sizeof(asn_DEF_HeaderInfo_tags_1[0]), /* 1 */
196 asn_DEF_HeaderInfo_tags_1, /* Same as above */
197 sizeof(asn_DEF_HeaderInfo_tags_1)
198 /sizeof(asn_DEF_HeaderInfo_tags_1[0]), /* 1 */
199 {
200#if !defined(ASN_DISABLE_OER_SUPPORT)
201 0,
202#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
203#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
204 0,
205#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
206 SEQUENCE_constraint
207 },
208 asn_MBR_HeaderInfo_1,
209 9, /* Elements count */
210 &asn_SPC_HeaderInfo_specs_1 /* Additional specs */
211};
212