Vanetza
 
Loading...
Searching...
No Matches
SignedData.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 "SignedData.h"
9
10asn_TYPE_member_t asn_MBR_SignedData_1[] = {
11 { ATF_NOFLAGS, 0, offsetof(struct SignedData, hashId),
12 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
13 -1, /* IMPLICIT tag at current level */
14 &asn_DEF_HashAlgorithm,
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 "hashId"
27 },
28 { ATF_POINTER, 0, offsetof(struct SignedData, tbsData),
29 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
30 -1, /* IMPLICIT tag at current level */
31 &asn_DEF_ToBeSignedData,
32 0,
33 {
34#if !defined(ASN_DISABLE_OER_SUPPORT)
35 0,
36#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
37#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
38 0,
39#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
40 0
41 },
42 0, 0, /* No default value */
43 "tbsData"
44 },
45 { ATF_NOFLAGS, 0, offsetof(struct SignedData, signer),
46 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
47 +1, /* EXPLICIT tag at current level */
48 &asn_DEF_SignerIdentifier,
49 0,
50 {
51#if !defined(ASN_DISABLE_OER_SUPPORT)
52 0,
53#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
54#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
55 0,
56#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
57 0
58 },
59 0, 0, /* No default value */
60 "signer"
61 },
62 { ATF_NOFLAGS, 0, offsetof(struct SignedData, signature),
63 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
64 +1, /* EXPLICIT tag at current level */
65 &asn_DEF_Signature,
66 0,
67 {
68#if !defined(ASN_DISABLE_OER_SUPPORT)
69 0,
70#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
71#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
72 0,
73#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
74 0
75 },
76 0, 0, /* No default value */
77 "signature"
78 },
79};
80static const ber_tlv_tag_t asn_DEF_SignedData_tags_1[] = {
81 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
82};
83static const asn_TYPE_tag2member_t asn_MAP_SignedData_tag2el_1[] = {
84 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* hashId */
85 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* tbsData */
86 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* signer */
87 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* signature */
88};
89asn_SEQUENCE_specifics_t asn_SPC_SignedData_specs_1 = {
90 sizeof(struct SignedData),
91 offsetof(struct SignedData, _asn_ctx),
92 asn_MAP_SignedData_tag2el_1,
93 4, /* Count of tags in the map */
94 0, 0, 0, /* Optional elements (not needed) */
95 -1, /* First extension addition */
96};
97asn_TYPE_descriptor_t asn_DEF_SignedData = {
98 "SignedData",
99 "SignedData",
100 &asn_OP_SEQUENCE,
101 asn_DEF_SignedData_tags_1,
102 sizeof(asn_DEF_SignedData_tags_1)
103 /sizeof(asn_DEF_SignedData_tags_1[0]), /* 1 */
104 asn_DEF_SignedData_tags_1, /* Same as above */
105 sizeof(asn_DEF_SignedData_tags_1)
106 /sizeof(asn_DEF_SignedData_tags_1[0]), /* 1 */
107 {
108#if !defined(ASN_DISABLE_OER_SUPPORT)
109 0,
110#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
111#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
112 0,
113#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
114 SEQUENCE_constraint
115 },
116 asn_MBR_SignedData_1,
117 4, /* Elements count */
118 &asn_SPC_SignedData_specs_1 /* Additional specs */
119};
120