Vanetza
 
Loading...
Searching...
No Matches
RecipientInfo.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 "RecipientInfo.h"
9
10#if !defined(ASN_DISABLE_OER_SUPPORT)
11static asn_oer_constraints_t asn_OER_type_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_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_RecipientInfo_1[] = {
23 { ATF_NOFLAGS, 0, offsetof(struct RecipientInfo, choice.pskRecipInfo),
24 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
25 -1, /* IMPLICIT tag at current level */
26 &asn_DEF_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 0
36 },
37 0, 0, /* No default value */
38 "pskRecipInfo"
39 },
40 { ATF_NOFLAGS, 0, offsetof(struct RecipientInfo, choice.symmRecipInfo),
41 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
42 -1, /* IMPLICIT tag at current level */
43 &asn_DEF_SymmRecipientInfo,
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 "symmRecipInfo"
56 },
57 { ATF_NOFLAGS, 0, offsetof(struct RecipientInfo, choice.certRecipInfo),
58 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
59 -1, /* IMPLICIT tag at current level */
60 &asn_DEF_PKRecipientInfo,
61 0,
62 {
63#if !defined(ASN_DISABLE_OER_SUPPORT)
64 0,
65#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
66#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
67 0,
68#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
69 0
70 },
71 0, 0, /* No default value */
72 "certRecipInfo"
73 },
74 { ATF_NOFLAGS, 0, offsetof(struct RecipientInfo, choice.signedDataRecipInfo),
75 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
76 -1, /* IMPLICIT tag at current level */
77 &asn_DEF_PKRecipientInfo,
78 0,
79 {
80#if !defined(ASN_DISABLE_OER_SUPPORT)
81 0,
82#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
83#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
84 0,
85#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
86 0
87 },
88 0, 0, /* No default value */
89 "signedDataRecipInfo"
90 },
91 { ATF_NOFLAGS, 0, offsetof(struct RecipientInfo, choice.rekRecipInfo),
92 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
93 -1, /* IMPLICIT tag at current level */
94 &asn_DEF_PKRecipientInfo,
95 0,
96 {
97#if !defined(ASN_DISABLE_OER_SUPPORT)
98 0,
99#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
100#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
101 0,
102#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
103 0
104 },
105 0, 0, /* No default value */
106 "rekRecipInfo"
107 },
108};
109static const asn_TYPE_tag2member_t asn_MAP_RecipientInfo_tag2el_1[] = {
110 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* pskRecipInfo */
111 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* symmRecipInfo */
112 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* certRecipInfo */
113 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* signedDataRecipInfo */
114 { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* rekRecipInfo */
115};
116asn_CHOICE_specifics_t asn_SPC_RecipientInfo_specs_1 = {
117 sizeof(struct RecipientInfo),
118 offsetof(struct RecipientInfo, _asn_ctx),
119 offsetof(struct RecipientInfo, present),
120 sizeof(((struct RecipientInfo *)0)->present),
121 asn_MAP_RecipientInfo_tag2el_1,
122 5, /* Count of tags in the map */
123 0, 0,
124 -1 /* Extensions start */
125};
126asn_TYPE_descriptor_t asn_DEF_RecipientInfo = {
127 "RecipientInfo",
128 "RecipientInfo",
129 &asn_OP_CHOICE,
130 0, /* No effective tags (pointer) */
131 0, /* No effective tags (count) */
132 0, /* No tags (pointer) */
133 0, /* No tags (count) */
134 {
135#if !defined(ASN_DISABLE_OER_SUPPORT)
136 &asn_OER_type_RecipientInfo_constr_1,
137#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
138#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
139 &asn_PER_type_RecipientInfo_constr_1,
140#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
141 CHOICE_constraint
142 },
143 asn_MBR_RecipientInfo_1,
144 5, /* Elements count */
145 &asn_SPC_RecipientInfo_specs_1 /* Additional specs */
146};
147