Vanetza
 
Loading...
Searching...
No Matches
IssuerIdentifier.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 "IssuerIdentifier.h"
9
10#if !defined(ASN_DISABLE_OER_SUPPORT)
11static asn_oer_constraints_t asn_OER_type_IssuerIdentifier_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_IssuerIdentifier_constr_1 CC_NOTUSED = {
17 { APC_CONSTRAINED | APC_EXTENSIBLE, 1, 1, 0, 1 } /* (0..1,...) */,
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_IssuerIdentifier_1[] = {
23 { ATF_NOFLAGS, 0, offsetof(struct IssuerIdentifier, choice.sha256AndDigest),
24 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
25 -1, /* IMPLICIT tag at current level */
26 &asn_DEF_HashedId8,
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 "sha256AndDigest"
39 },
40 { ATF_NOFLAGS, 0, offsetof(struct IssuerIdentifier, choice.self),
41 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
42 -1, /* IMPLICIT tag at current level */
43 &asn_DEF_HashAlgorithm,
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 "self"
56 },
57 { ATF_NOFLAGS, 0, offsetof(struct IssuerIdentifier, choice.sha384AndDigest),
58 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
59 -1, /* IMPLICIT tag at current level */
60 &asn_DEF_HashedId8,
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 "sha384AndDigest"
73 },
74};
75static const asn_TYPE_tag2member_t asn_MAP_IssuerIdentifier_tag2el_1[] = {
76 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* sha256AndDigest */
77 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* self */
78 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* sha384AndDigest */
79};
80asn_CHOICE_specifics_t asn_SPC_IssuerIdentifier_specs_1 = {
81 sizeof(struct IssuerIdentifier),
82 offsetof(struct IssuerIdentifier, _asn_ctx),
83 offsetof(struct IssuerIdentifier, present),
84 sizeof(((struct IssuerIdentifier *)0)->present),
85 asn_MAP_IssuerIdentifier_tag2el_1,
86 3, /* Count of tags in the map */
87 0, 0,
88 2 /* Extensions start */
89};
90asn_TYPE_descriptor_t asn_DEF_IssuerIdentifier = {
91 "IssuerIdentifier",
92 "IssuerIdentifier",
93 &asn_OP_CHOICE,
94 0, /* No effective tags (pointer) */
95 0, /* No effective tags (count) */
96 0, /* No tags (pointer) */
97 0, /* No tags (count) */
98 {
99#if !defined(ASN_DISABLE_OER_SUPPORT)
100 &asn_OER_type_IssuerIdentifier_constr_1,
101#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
102#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
103 &asn_PER_type_IssuerIdentifier_constr_1,
104#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
105 CHOICE_constraint
106 },
107 asn_MBR_IssuerIdentifier_1,
108 3, /* Elements count */
109 &asn_SPC_IssuerIdentifier_specs_1 /* Additional specs */
110};
111