Vanetza
 
Loading...
Searching...
No Matches
SignedDataPayload.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 "SignedDataPayload.h"
9
10#if !defined(ASN_DISABLE_OER_SUPPORT)
11static asn_oer_constraints_t asn_OER_type_SignedDataPayload_constr_1 CC_NOTUSED = {
12 { 0, 0 },
13 -1};
14#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
15#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
16asn_per_constraints_t asn_PER_type_SignedDataPayload_constr_1 CC_NOTUSED = {
17 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
18 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
19 0, 0 /* No PER value map */
20};
21#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
22asn_TYPE_member_t asn_MBR_SignedDataPayload_1[] = {
23 { ATF_POINTER, 2, offsetof(struct SignedDataPayload, data),
24 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
25 -1, /* IMPLICIT tag at current level */
26 &asn_DEF_Ieee1609Dot2Data,
27 0,
28 {
29#if !defined(ASN_DISABLE_OER_SUPPORT)
30 0,
31#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
32#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
33 0,
34#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
35 0
36 },
37 0, 0, /* No default value */
38 "data"
39 },
40 { ATF_POINTER, 1, offsetof(struct SignedDataPayload, extDataHash),
41 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
42 +1, /* EXPLICIT tag at current level */
43 &asn_DEF_HashedData,
44 0,
45 {
46#if !defined(ASN_DISABLE_OER_SUPPORT)
47 0,
48#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
49#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
50 0,
51#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
52 0
53 },
54 0, 0, /* No default value */
55 "extDataHash"
56 },
57};
58static const int asn_MAP_SignedDataPayload_oms_1[] = { 0, 1 };
59static const ber_tlv_tag_t asn_DEF_SignedDataPayload_tags_1[] = {
60 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
61};
62static const asn_TYPE_tag2member_t asn_MAP_SignedDataPayload_tag2el_1[] = {
63 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* data */
64 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* extDataHash */
65};
66asn_SEQUENCE_specifics_t asn_SPC_SignedDataPayload_specs_1 = {
67 sizeof(struct SignedDataPayload),
68 offsetof(struct SignedDataPayload, _asn_ctx),
69 asn_MAP_SignedDataPayload_tag2el_1,
70 2, /* Count of tags in the map */
71 asn_MAP_SignedDataPayload_oms_1, /* Optional members */
72 2, 0, /* Root/Additions */
73 2, /* First extension addition */
74};
75asn_TYPE_descriptor_t asn_DEF_SignedDataPayload = {
76 "SignedDataPayload",
77 "SignedDataPayload",
78 &asn_OP_SEQUENCE,
79 asn_DEF_SignedDataPayload_tags_1,
80 sizeof(asn_DEF_SignedDataPayload_tags_1)
81 /sizeof(asn_DEF_SignedDataPayload_tags_1[0]), /* 1 */
82 asn_DEF_SignedDataPayload_tags_1, /* Same as above */
83 sizeof(asn_DEF_SignedDataPayload_tags_1)
84 /sizeof(asn_DEF_SignedDataPayload_tags_1[0]), /* 1 */
85 {
86#if !defined(ASN_DISABLE_OER_SUPPORT)
87 &asn_OER_type_SignedDataPayload_constr_1,
88#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
89#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
90 &asn_PER_type_SignedDataPayload_constr_1,
91#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
92 SEQUENCE_constraint
93 },
94 asn_MBR_SignedDataPayload_1,
95 2, /* Elements count */
96 &asn_SPC_SignedDataPayload_specs_1 /* Additional specs */
97};
98