Vanetza
 
Loading...
Searching...
No Matches
CertificateSubjectAttributes.c
1/*
2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3 * From ASN.1 module "EtsiTs102941BaseTypes"
4 * found in "asn1/TS102941v131-BaseTypes.asn"
5 * `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
6 */
7
8#include "CertificateSubjectAttributes.h"
9
10#if !defined(ASN_DISABLE_OER_SUPPORT)
11static asn_oer_constraints_t asn_OER_type_CertificateSubjectAttributes_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_CertificateSubjectAttributes_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_CertificateSubjectAttributes_1[] = {
23 { ATF_POINTER, 6, offsetof(struct CertificateSubjectAttributes, id),
24 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
25 +1, /* EXPLICIT tag at current level */
26 &asn_DEF_CertificateId,
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 "id"
39 },
40 { ATF_POINTER, 5, offsetof(struct CertificateSubjectAttributes, validityPeriod),
41 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
42 -1, /* IMPLICIT tag at current level */
43 &asn_DEF_ValidityPeriod,
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 "validityPeriod"
56 },
57 { ATF_POINTER, 4, offsetof(struct CertificateSubjectAttributes, region),
58 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
59 +1, /* EXPLICIT tag at current level */
60 &asn_DEF_GeographicRegion,
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 "region"
73 },
74 { ATF_POINTER, 3, offsetof(struct CertificateSubjectAttributes, assuranceLevel),
75 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
76 -1, /* IMPLICIT tag at current level */
77 &asn_DEF_SubjectAssurance,
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 "assuranceLevel"
90 },
91 { ATF_POINTER, 2, offsetof(struct CertificateSubjectAttributes, appPermissions),
92 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
93 -1, /* IMPLICIT tag at current level */
94 &asn_DEF_SequenceOfPsidSsp,
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 "appPermissions"
107 },
108 { ATF_POINTER, 1, offsetof(struct CertificateSubjectAttributes, certIssuePermissions),
109 (ASN_TAG_CLASS_CONTEXT | (5 << 2)),
110 -1, /* IMPLICIT tag at current level */
111 &asn_DEF_SequenceOfPsidGroupPermissions,
112 0,
113 {
114#if !defined(ASN_DISABLE_OER_SUPPORT)
115 0,
116#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
117#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
118 0,
119#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
120 0
121 },
122 0, 0, /* No default value */
123 "certIssuePermissions"
124 },
125};
126static const int asn_MAP_CertificateSubjectAttributes_oms_1[] = { 0, 1, 2, 3, 4, 5 };
127static const ber_tlv_tag_t asn_DEF_CertificateSubjectAttributes_tags_1[] = {
128 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
129};
130static const asn_TYPE_tag2member_t asn_MAP_CertificateSubjectAttributes_tag2el_1[] = {
131 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* id */
132 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* validityPeriod */
133 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* region */
134 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* assuranceLevel */
135 { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* appPermissions */
136 { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 } /* certIssuePermissions */
137};
138asn_SEQUENCE_specifics_t asn_SPC_CertificateSubjectAttributes_specs_1 = {
139 sizeof(struct CertificateSubjectAttributes),
140 offsetof(struct CertificateSubjectAttributes, _asn_ctx),
141 asn_MAP_CertificateSubjectAttributes_tag2el_1,
142 6, /* Count of tags in the map */
143 asn_MAP_CertificateSubjectAttributes_oms_1, /* Optional members */
144 6, 0, /* Root/Additions */
145 6, /* First extension addition */
146};
147asn_TYPE_descriptor_t asn_DEF_CertificateSubjectAttributes = {
148 "CertificateSubjectAttributes",
149 "CertificateSubjectAttributes",
150 &asn_OP_SEQUENCE,
151 asn_DEF_CertificateSubjectAttributes_tags_1,
152 sizeof(asn_DEF_CertificateSubjectAttributes_tags_1)
153 /sizeof(asn_DEF_CertificateSubjectAttributes_tags_1[0]), /* 1 */
154 asn_DEF_CertificateSubjectAttributes_tags_1, /* Same as above */
155 sizeof(asn_DEF_CertificateSubjectAttributes_tags_1)
156 /sizeof(asn_DEF_CertificateSubjectAttributes_tags_1[0]), /* 1 */
157 {
158#if !defined(ASN_DISABLE_OER_SUPPORT)
159 &asn_OER_type_CertificateSubjectAttributes_constr_1,
160#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
161#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
162 &asn_PER_type_CertificateSubjectAttributes_constr_1,
163#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
164 SEQUENCE_constraint
165 },
166 asn_MBR_CertificateSubjectAttributes_1,
167 6, /* Elements count */
168 &asn_SPC_CertificateSubjectAttributes_specs_1 /* Additional specs */
169};
170