Vanetza
 
Loading...
Searching...
No Matches
BasePublicEncryptionKey.c
1/*
2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3 * From ASN.1 module "IEEE1609dot2BaseTypes"
4 * found in "asn1/IEEE1609dot2BaseTypes.asn"
5 * `asn1c -fcompound-names -fincludes-quoted -no-gen-example -R`
6 */
7
8#include "BasePublicEncryptionKey.h"
9
10#if !defined(ASN_DISABLE_OER_SUPPORT)
11static asn_oer_constraints_t asn_OER_type_BasePublicEncryptionKey_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_BasePublicEncryptionKey_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_BasePublicEncryptionKey_1[] = {
23 { ATF_NOFLAGS, 0, offsetof(struct BasePublicEncryptionKey, choice.eciesNistP256),
24 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
25 +1, /* EXPLICIT tag at current level */
26 &asn_DEF_EccP256CurvePoint,
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 "eciesNistP256"
39 },
40 { ATF_NOFLAGS, 0, offsetof(struct BasePublicEncryptionKey, choice.eciesBrainpoolP256r1),
41 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
42 +1, /* EXPLICIT tag at current level */
43 &asn_DEF_EccP256CurvePoint,
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 "eciesBrainpoolP256r1"
56 },
57};
58static const asn_TYPE_tag2member_t asn_MAP_BasePublicEncryptionKey_tag2el_1[] = {
59 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* eciesNistP256 */
60 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* eciesBrainpoolP256r1 */
61};
62asn_CHOICE_specifics_t asn_SPC_BasePublicEncryptionKey_specs_1 = {
63 sizeof(struct BasePublicEncryptionKey),
64 offsetof(struct BasePublicEncryptionKey, _asn_ctx),
65 offsetof(struct BasePublicEncryptionKey, present),
66 sizeof(((struct BasePublicEncryptionKey *)0)->present),
67 asn_MAP_BasePublicEncryptionKey_tag2el_1,
68 2, /* Count of tags in the map */
69 0, 0,
70 2 /* Extensions start */
71};
72asn_TYPE_descriptor_t asn_DEF_BasePublicEncryptionKey = {
73 "BasePublicEncryptionKey",
74 "BasePublicEncryptionKey",
75 &asn_OP_CHOICE,
76 0, /* No effective tags (pointer) */
77 0, /* No effective tags (count) */
78 0, /* No tags (pointer) */
79 0, /* No tags (count) */
80 {
81#if !defined(ASN_DISABLE_OER_SUPPORT)
82 &asn_OER_type_BasePublicEncryptionKey_constr_1,
83#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
84#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
85 &asn_PER_type_BasePublicEncryptionKey_constr_1,
86#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
87 CHOICE_constraint
88 },
89 asn_MBR_BasePublicEncryptionKey_1,
90 2, /* Elements count */
91 &asn_SPC_BasePublicEncryptionKey_specs_1 /* Additional specs */
92};
93