2
3
4
5
6
10static const long asn_VAL_1_Vanetza_Security_ieee1609HeaderInfoContributorId = 1;
11static const long asn_VAL_2_Vanetza_Security_etsiHeaderInfoContributorId = 2;
12static const asn_ioc_cell_t asn_IOS_Vanetza_Security_Ieee1609Dot2HeaderInfoContributedExtensions_1_rows[] = {
13 {
"&id", aioc__value, &asn_DEF_Vanetza_Security_HeaderInfoContributorId, &asn_VAL_1_Vanetza_Security_ieee1609HeaderInfoContributorId },
14 {
"&Extn", aioc__type, &asn_DEF_Vanetza_Security_Ieee1609ContributedHeaderInfoExtension },
15 {
"&id", aioc__value, &asn_DEF_Vanetza_Security_HeaderInfoContributorId, &asn_VAL_2_Vanetza_Security_etsiHeaderInfoContributorId },
16 {
"&Extn", aioc__type, &asn_DEF_Vanetza_Security_EtsiOriginatingHeaderInfoExtension }
18static const asn_ioc_set_t asn_IOS_Vanetza_Security_Ieee1609Dot2HeaderInfoContributedExtensions_1[] = {
19 { 2, 2, asn_IOS_Vanetza_Security_Ieee1609Dot2HeaderInfoContributedExtensions_1_rows }
22memb_ANY_constraint_3(
const asn_TYPE_descriptor_t *td,
const void *sptr,
23 asn_app_constraint_failed_f *ctfailcb,
void *app_key) {
26 ASN__CTFAIL(app_key, td, sptr,
27 "%s: value not given (%s:%d)",
28 td->name, __FILE__, __LINE__);
37 return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key);
41memb_Vanetza_Security_contributorId_constraint_1(
const asn_TYPE_descriptor_t *td,
const void *sptr,
42 asn_app_constraint_failed_f *ctfailcb,
void *app_key) {
46 ASN__CTFAIL(app_key, td, sptr,
47 "%s: value not given (%s:%d)",
48 td->name, __FILE__, __LINE__);
52 value = *(
const long *)sptr;
54 if((value >= 0L && value <= 255L)) {
58 ASN__CTFAIL(app_key, td, sptr,
59 "%s: constraint failed (%s:%d)",
60 td->name, __FILE__, __LINE__);
66memb_Vanetza_Security_extns_constraint_1(
const asn_TYPE_descriptor_t *td,
const void *sptr,
67 asn_app_constraint_failed_f *ctfailcb,
void *app_key) {
71 ASN__CTFAIL(app_key, td, sptr,
72 "%s: value not given (%s:%d)",
73 td->name, __FILE__, __LINE__);
78 size = _A_CSEQUENCE_FROM_VOID(sptr)->count;
82 return SEQUENCE_OF_constraint(td, sptr, ctfailcb, app_key);
84 ASN__CTFAIL(app_key, td, sptr,
85 "%s: constraint failed (%s:%d)",
86 td->name, __FILE__, __LINE__);
91#if !defined(ASN_DISABLE_OER_SUPPORT)
92static asn_oer_constraints_t asn_OER_memb_Vanetza_Security_Member_constr_4 CC_NOTUSED = {
96#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
97static asn_per_constraints_t asn_PER_memb_Vanetza_Security_Member_constr_4 CC_NOTUSED = {
98 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
99 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
103#if !defined(ASN_DISABLE_OER_SUPPORT)
104static asn_oer_constraints_t asn_OER_type_Vanetza_Security_extns_constr_3 CC_NOTUSED = {
108#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
109static asn_per_constraints_t asn_PER_type_Vanetza_Security_extns_constr_3 CC_NOTUSED = {
110 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
111 { APC_SEMI_CONSTRAINED, -1, -1, 1, 0 } ,
115#if !defined(ASN_DISABLE_OER_SUPPORT)
116static asn_oer_constraints_t asn_OER_memb_Vanetza_Security_contributorId_constr_2 CC_NOTUSED = {
120#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
121static asn_per_constraints_t asn_PER_memb_Vanetza_Security_contributorId_constr_2 CC_NOTUSED = {
122 { APC_CONSTRAINED, 8, 8, 0, 255 } ,
123 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
127#if !defined(ASN_DISABLE_OER_SUPPORT)
128static asn_oer_constraints_t asn_OER_memb_Vanetza_Security_extns_constr_3 CC_NOTUSED = {
132#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
133static asn_per_constraints_t asn_PER_memb_Vanetza_Security_extns_constr_3 CC_NOTUSED = {
134 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
135 { APC_SEMI_CONSTRAINED, -1, -1, 1, 0 } ,
139static asn_TYPE_member_t asn_MBR_Vanetza_Security_extns_3[] = {
140 { ATF_ANY_TYPE | ATF_POINTER, 0, 0,
146#if !defined(ASN_DISABLE_OER_SUPPORT)
147 &asn_OER_memb_Vanetza_Security_Member_constr_4,
149#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
150 &asn_PER_memb_Vanetza_Security_Member_constr_4,
152#if !defined(ASN_DISABLE_JER_SUPPORT)
155 memb_ANY_constraint_3
161static const ber_tlv_tag_t asn_DEF_Vanetza_Security_extns_tags_3[] = {
162 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
163 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
165static asn_SET_OF_specifics_t asn_SPC_Vanetza_Security_extns_specs_3 = {
166 sizeof(
struct Vanetza_Security_ContributedExtensionBlock__extns),
167 offsetof(
struct Vanetza_Security_ContributedExtensionBlock__extns, _asn_ctx),
171asn_TYPE_descriptor_t asn_DEF_Vanetza_Security_extns_3 = {
175 asn_DEF_Vanetza_Security_extns_tags_3,
176 sizeof(asn_DEF_Vanetza_Security_extns_tags_3)
177 /
sizeof(asn_DEF_Vanetza_Security_extns_tags_3[0]) - 1,
178 asn_DEF_Vanetza_Security_extns_tags_3,
179 sizeof(asn_DEF_Vanetza_Security_extns_tags_3)
180 /
sizeof(asn_DEF_Vanetza_Security_extns_tags_3[0]),
182#if !defined(ASN_DISABLE_OER_SUPPORT)
183 &asn_OER_type_Vanetza_Security_extns_constr_3,
185#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
186 &asn_PER_type_Vanetza_Security_extns_constr_3,
188#if !defined(ASN_DISABLE_JER_SUPPORT)
191 SEQUENCE_OF_constraint
193 asn_MBR_Vanetza_Security_extns_3,
195 &asn_SPC_Vanetza_Security_extns_specs_3
198asn_TYPE_member_t asn_MBR_Vanetza_Security_ContributedExtensionBlock_1[] = {
199 { ATF_NOFLAGS, 0, offsetof(
struct Vanetza_Security_ContributedExtensionBlock, contributorId),
200 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
202 &asn_DEF_Vanetza_Security_HeaderInfoContributorId,
205#if !defined(ASN_DISABLE_OER_SUPPORT)
206 &asn_OER_memb_Vanetza_Security_contributorId_constr_2,
208#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
209 &asn_PER_memb_Vanetza_Security_contributorId_constr_2,
211#if !defined(ASN_DISABLE_JER_SUPPORT)
214 memb_Vanetza_Security_contributorId_constraint_1
219 { ATF_NOFLAGS, 0, offsetof(
struct Vanetza_Security_ContributedExtensionBlock, extns),
220 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
222 &asn_DEF_Vanetza_Security_extns_3,
225#if !defined(ASN_DISABLE_OER_SUPPORT)
226 &asn_OER_memb_Vanetza_Security_extns_constr_3,
228#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
229 &asn_PER_memb_Vanetza_Security_extns_constr_3,
231#if !defined(ASN_DISABLE_JER_SUPPORT)
234 memb_Vanetza_Security_extns_constraint_1
240static const ber_tlv_tag_t asn_DEF_Vanetza_Security_ContributedExtensionBlock_tags_1[] = {
241 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
243static const asn_TYPE_tag2member_t asn_MAP_Vanetza_Security_ContributedExtensionBlock_tag2el_1[] = {
244 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 },
245 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }
247asn_SEQUENCE_specifics_t asn_SPC_Vanetza_Security_ContributedExtensionBlock_specs_1 = {
248 sizeof(
struct Vanetza_Security_ContributedExtensionBlock),
249 offsetof(
struct Vanetza_Security_ContributedExtensionBlock, _asn_ctx),
250 asn_MAP_Vanetza_Security_ContributedExtensionBlock_tag2el_1,
255asn_TYPE_descriptor_t asn_DEF_Vanetza_Security_ContributedExtensionBlock = {
256 "ContributedExtensionBlock",
257 "ContributedExtensionBlock",
259 asn_DEF_Vanetza_Security_ContributedExtensionBlock_tags_1,
260 sizeof(asn_DEF_Vanetza_Security_ContributedExtensionBlock_tags_1)
261 /
sizeof(asn_DEF_Vanetza_Security_ContributedExtensionBlock_tags_1[0]),
262 asn_DEF_Vanetza_Security_ContributedExtensionBlock_tags_1,
263 sizeof(asn_DEF_Vanetza_Security_ContributedExtensionBlock_tags_1)
264 /
sizeof(asn_DEF_Vanetza_Security_ContributedExtensionBlock_tags_1[0]),
266#if !defined(ASN_DISABLE_OER_SUPPORT)
269#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
272#if !defined(ASN_DISABLE_JER_SUPPORT)
277 asn_MBR_Vanetza_Security_ContributedExtensionBlock_1,
279 &asn_SPC_Vanetza_Security_ContributedExtensionBlock_specs_1