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