Vanetza
 
Loading...
Searching...
No Matches
DcEntry.c
1/*
2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3 * From ASN.1 module "EtsiTs102941TrustLists"
4 * found in "asn1/TS102941v131-TrustLists.asn"
5 * `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
6 */
7
8#include "DcEntry.h"
9
10static asn_TYPE_member_t asn_MBR_cert_3[] = {
11 { ATF_POINTER, 0, 0,
12 (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)),
13 0,
14 &asn_DEF_HashedId8,
15 0,
16 {
17#if !defined(ASN_DISABLE_OER_SUPPORT)
18 0,
19#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
20#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
21 0,
22#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
23 0
24 },
25 0, 0, /* No default value */
26 ""
27 },
28};
29static const ber_tlv_tag_t asn_DEF_cert_tags_3[] = {
30 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
31 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
32};
33static asn_SET_OF_specifics_t asn_SPC_cert_specs_3 = {
34 sizeof(struct DcEntry__cert),
35 offsetof(struct DcEntry__cert, _asn_ctx),
36 0, /* XER encoding is XMLDelimitedItemList */
37};
38static /* Use -fall-defs-global to expose */
39asn_TYPE_descriptor_t asn_DEF_cert_3 = {
40 "cert",
41 "cert",
42 &asn_OP_SEQUENCE_OF,
43 asn_DEF_cert_tags_3,
44 sizeof(asn_DEF_cert_tags_3)
45 /sizeof(asn_DEF_cert_tags_3[0]) - 1, /* 1 */
46 asn_DEF_cert_tags_3, /* Same as above */
47 sizeof(asn_DEF_cert_tags_3)
48 /sizeof(asn_DEF_cert_tags_3[0]), /* 2 */
49 {
50#if !defined(ASN_DISABLE_OER_SUPPORT)
51 0,
52#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
53#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
54 0,
55#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
56 SEQUENCE_OF_constraint
57 },
58 asn_MBR_cert_3,
59 1, /* Single element */
60 &asn_SPC_cert_specs_3 /* Additional specs */
61};
62
63asn_TYPE_member_t asn_MBR_DcEntry_1[] = {
64 { ATF_NOFLAGS, 0, offsetof(struct DcEntry, url),
65 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
66 -1, /* IMPLICIT tag at current level */
67 &asn_DEF_Url,
68 0,
69 {
70#if !defined(ASN_DISABLE_OER_SUPPORT)
71 0,
72#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
73#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
74 0,
75#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
76 0
77 },
78 0, 0, /* No default value */
79 "url"
80 },
81 { ATF_NOFLAGS, 0, offsetof(struct DcEntry, cert),
82 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
83 0,
84 &asn_DEF_cert_3,
85 0,
86 {
87#if !defined(ASN_DISABLE_OER_SUPPORT)
88 0,
89#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
90#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
91 0,
92#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
93 0
94 },
95 0, 0, /* No default value */
96 "cert"
97 },
98};
99static const ber_tlv_tag_t asn_DEF_DcEntry_tags_1[] = {
100 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
101};
102static const asn_TYPE_tag2member_t asn_MAP_DcEntry_tag2el_1[] = {
103 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* url */
104 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* cert */
105};
106asn_SEQUENCE_specifics_t asn_SPC_DcEntry_specs_1 = {
107 sizeof(struct DcEntry),
108 offsetof(struct DcEntry, _asn_ctx),
109 asn_MAP_DcEntry_tag2el_1,
110 2, /* Count of tags in the map */
111 0, 0, 0, /* Optional elements (not needed) */
112 -1, /* First extension addition */
113};
114asn_TYPE_descriptor_t asn_DEF_DcEntry = {
115 "DcEntry",
116 "DcEntry",
117 &asn_OP_SEQUENCE,
118 asn_DEF_DcEntry_tags_1,
119 sizeof(asn_DEF_DcEntry_tags_1)
120 /sizeof(asn_DEF_DcEntry_tags_1[0]), /* 1 */
121 asn_DEF_DcEntry_tags_1, /* Same as above */
122 sizeof(asn_DEF_DcEntry_tags_1)
123 /sizeof(asn_DEF_DcEntry_tags_1[0]), /* 1 */
124 {
125#if !defined(ASN_DISABLE_OER_SUPPORT)
126 0,
127#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
128#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
129 0,
130#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
131 SEQUENCE_constraint
132 },
133 asn_MBR_DcEntry_1,
134 2, /* Elements count */
135 &asn_SPC_DcEntry_specs_1 /* Additional specs */
136};
137