Vanetza
Loading...
Searching...
No Matches
RecipientInfo.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
10#if !defined(ASN_DISABLE_OER_SUPPORT)
11asn_oer_constraints_t asn_OER_type_Vanetza_Security_RecipientInfo_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_Vanetza_Security_RecipientInfo_constr_1 CC_NOTUSED = {
17 { APC_CONSTRAINED, 3, 3, 0, 4 } /* (0..4) */,
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_Vanetza_Security_RecipientInfo_1[] = {
23 { ATF_NOFLAGS, 0, offsetof(struct Vanetza_Security_RecipientInfo, choice.pskRecipInfo),
24 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
25 -1, /* IMPLICIT tag at current level */
26 &asn_DEF_Vanetza_Security_PreSharedKeyRecipientInfo,
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#if !defined(ASN_DISABLE_JER_SUPPORT)
36 0,
37#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
38 0
39 },
40 0, 0, /* No default value */
41 "pskRecipInfo"
42 },
43 { ATF_NOFLAGS, 0, offsetof(struct Vanetza_Security_RecipientInfo, choice.symmRecipInfo),
44 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
45 -1, /* IMPLICIT tag at current level */
46 &asn_DEF_Vanetza_Security_SymmRecipientInfo,
47 0,
48 {
49#if !defined(ASN_DISABLE_OER_SUPPORT)
50 0,
51#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
52#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
53 0,
54#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
55#if !defined(ASN_DISABLE_JER_SUPPORT)
56 0,
57#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
58 0
59 },
60 0, 0, /* No default value */
61 "symmRecipInfo"
62 },
63 { ATF_NOFLAGS, 0, offsetof(struct Vanetza_Security_RecipientInfo, choice.certRecipInfo),
64 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
65 -1, /* IMPLICIT tag at current level */
66 &asn_DEF_Vanetza_Security_PKRecipientInfo,
67 0,
68 {
69#if !defined(ASN_DISABLE_OER_SUPPORT)
70 0,
71#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
72#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
73 0,
74#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
75#if !defined(ASN_DISABLE_JER_SUPPORT)
76 0,
77#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
78 0
79 },
80 0, 0, /* No default value */
81 "certRecipInfo"
82 },
83 { ATF_NOFLAGS, 0, offsetof(struct Vanetza_Security_RecipientInfo, choice.signedDataRecipInfo),
84 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
85 -1, /* IMPLICIT tag at current level */
86 &asn_DEF_Vanetza_Security_PKRecipientInfo,
87 0,
88 {
89#if !defined(ASN_DISABLE_OER_SUPPORT)
90 0,
91#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
92#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
93 0,
94#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
95#if !defined(ASN_DISABLE_JER_SUPPORT)
96 0,
97#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
98 0
99 },
100 0, 0, /* No default value */
101 "signedDataRecipInfo"
102 },
103 { ATF_NOFLAGS, 0, offsetof(struct Vanetza_Security_RecipientInfo, choice.rekRecipInfo),
104 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
105 -1, /* IMPLICIT tag at current level */
106 &asn_DEF_Vanetza_Security_PKRecipientInfo,
107 0,
108 {
109#if !defined(ASN_DISABLE_OER_SUPPORT)
110 0,
111#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
112#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
113 0,
114#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
115#if !defined(ASN_DISABLE_JER_SUPPORT)
116 0,
117#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
118 0
119 },
120 0, 0, /* No default value */
121 "rekRecipInfo"
122 },
123};
124static const asn_TYPE_tag2member_t asn_MAP_Vanetza_Security_RecipientInfo_tag2el_1[] = {
125 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* pskRecipInfo */
126 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* symmRecipInfo */
127 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* certRecipInfo */
128 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* signedDataRecipInfo */
129 { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* rekRecipInfo */
130};
131asn_CHOICE_specifics_t asn_SPC_Vanetza_Security_RecipientInfo_specs_1 = {
132 sizeof(struct Vanetza_Security_RecipientInfo),
133 offsetof(struct Vanetza_Security_RecipientInfo, _asn_ctx),
134 offsetof(struct Vanetza_Security_RecipientInfo, present),
135 sizeof(((struct Vanetza_Security_RecipientInfo *)0)->present),
136 asn_MAP_Vanetza_Security_RecipientInfo_tag2el_1,
137 5, /* Count of tags in the map */
138 0, 0,
139 -1 /* Extensions start */
140};
141asn_TYPE_descriptor_t asn_DEF_Vanetza_Security_RecipientInfo = {
142 "RecipientInfo",
143 "RecipientInfo",
144 &asn_OP_CHOICE,
145 0, /* No effective tags (pointer) */
146 0, /* No effective tags (count) */
147 0, /* No tags (pointer) */
148 0, /* No tags (count) */
149 {
150#if !defined(ASN_DISABLE_OER_SUPPORT)
151 &asn_OER_type_Vanetza_Security_RecipientInfo_constr_1,
152#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
153#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
154 &asn_PER_type_Vanetza_Security_RecipientInfo_constr_1,
155#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
156#if !defined(ASN_DISABLE_JER_SUPPORT)
157 0,
158#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
159 CHOICE_constraint
160 },
161 asn_MBR_Vanetza_Security_RecipientInfo_1,
162 5, /* Elements count */
163 &asn_SPC_Vanetza_Security_RecipientInfo_specs_1 /* Additional specs */
164};