Keep vanetza-idf in obu-firmware, so a plain clone builds the firmware
obu-firmware builds against the vanetza-idf C-ITS library, which until now came from the colleague's microbu-esp32c5 tree beside the repository and was not tracked here, so a clone of this repository could not build the firmware it ships. The library alone is now part of obu-firmware, as obu-firmware/external/vanetza-idf: their external/vanetza-idf at commit cf4b99f, unchanged (9775 files; see its PROVENANCE.md). CMake takes it from there by default; -DVANETZA_IDF_DIR still points the build elsewhere. The rest of the colleague's tree (their own VAM firmware, PKI tooling, station-link Python tools, the V2X2MAP bridge) stays out of this repository and gitignored; nothing is pushed to their repository. NOTES.md, docs/06, TODO.md and the pcap verifier's usage line point at the new location.
This commit is contained in:
@@ -0,0 +1,515 @@
|
||||
/*
|
||||
* Generated by asn1c
|
||||
* From ASN.1 module "Ieee1609Dot2Dot1CertManagement"
|
||||
* found in "Ieee1609Dot2Dot1CertManagement.asn"
|
||||
* `asn1c -fcompound-names -fincludes-quoted -no-gen-example -fprefix=Vanetza_Security2_ -R`
|
||||
*/
|
||||
|
||||
#include "FullIeeeTbsCtl.h"
|
||||
|
||||
static int
|
||||
memb_Vanetza_Security2_type_constraint_1(const asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb, void *app_key) {
|
||||
long value;
|
||||
|
||||
if(!sptr) {
|
||||
ASN__CTFAIL(app_key, td, sptr,
|
||||
"%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
value = *(const long *)sptr;
|
||||
|
||||
if((value == 1L)) {
|
||||
/* Constraint check succeeded */
|
||||
return 0;
|
||||
} else {
|
||||
ASN__CTFAIL(app_key, td, sptr,
|
||||
"%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
static asn_oer_constraints_t asn_OER_memb_Vanetza_Security2_type_constr_2 CC_NOTUSED = {
|
||||
{ 1, 1 } /* (1..1) */,
|
||||
-1};
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
static asn_per_constraints_t asn_PER_memb_Vanetza_Security2_type_constr_2 CC_NOTUSED = {
|
||||
{ APC_CONSTRAINED, 0, 0, 1, 1 } /* (1..1) */,
|
||||
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
|
||||
0, 0 /* No PER value map */
|
||||
};
|
||||
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
|
||||
static asn_TYPE_member_t asn_MBR_Vanetza_Security2_electorApprove_6[] = {
|
||||
{ ATF_POINTER, 0, 0,
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (4 << 2)),
|
||||
0,
|
||||
&asn_DEF_Vanetza_Security2_CtlElectorEntry,
|
||||
0,
|
||||
{
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
0,
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
0,
|
||||
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_JER_SUPPORT)
|
||||
0,
|
||||
#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
|
||||
0
|
||||
},
|
||||
0, 0, /* No default value */
|
||||
""
|
||||
},
|
||||
};
|
||||
static const ber_tlv_tag_t asn_DEF_Vanetza_Security2_electorApprove_tags_6[] = {
|
||||
(ASN_TAG_CLASS_CONTEXT | (4 << 2)),
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
|
||||
};
|
||||
static asn_SET_OF_specifics_t asn_SPC_Vanetza_Security2_electorApprove_specs_6 = {
|
||||
sizeof(struct Vanetza_Security2_FullIeeeTbsCtl__electorApprove),
|
||||
offsetof(struct Vanetza_Security2_FullIeeeTbsCtl__electorApprove, _asn_ctx),
|
||||
0, /* XER encoding is XMLDelimitedItemList */
|
||||
};
|
||||
static /* Use -fall-defs-global to expose */
|
||||
asn_TYPE_descriptor_t asn_DEF_Vanetza_Security2_electorApprove_6 = {
|
||||
"electorApprove",
|
||||
"electorApprove",
|
||||
&asn_OP_SEQUENCE_OF,
|
||||
asn_DEF_Vanetza_Security2_electorApprove_tags_6,
|
||||
sizeof(asn_DEF_Vanetza_Security2_electorApprove_tags_6)
|
||||
/sizeof(asn_DEF_Vanetza_Security2_electorApprove_tags_6[0]) - 1, /* 1 */
|
||||
asn_DEF_Vanetza_Security2_electorApprove_tags_6, /* Same as above */
|
||||
sizeof(asn_DEF_Vanetza_Security2_electorApprove_tags_6)
|
||||
/sizeof(asn_DEF_Vanetza_Security2_electorApprove_tags_6[0]), /* 2 */
|
||||
{
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
0,
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
0,
|
||||
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_JER_SUPPORT)
|
||||
0,
|
||||
#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
|
||||
SEQUENCE_OF_constraint
|
||||
},
|
||||
asn_MBR_Vanetza_Security2_electorApprove_6,
|
||||
1, /* Single element */
|
||||
&asn_SPC_Vanetza_Security2_electorApprove_specs_6 /* Additional specs */
|
||||
};
|
||||
|
||||
static asn_TYPE_member_t asn_MBR_Vanetza_Security2_electorRemove_8[] = {
|
||||
{ ATF_POINTER, 0, 0,
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (4 << 2)),
|
||||
0,
|
||||
&asn_DEF_Vanetza_Security2_CtlElectorEntry,
|
||||
0,
|
||||
{
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
0,
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
0,
|
||||
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_JER_SUPPORT)
|
||||
0,
|
||||
#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
|
||||
0
|
||||
},
|
||||
0, 0, /* No default value */
|
||||
""
|
||||
},
|
||||
};
|
||||
static const ber_tlv_tag_t asn_DEF_Vanetza_Security2_electorRemove_tags_8[] = {
|
||||
(ASN_TAG_CLASS_CONTEXT | (5 << 2)),
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
|
||||
};
|
||||
static asn_SET_OF_specifics_t asn_SPC_Vanetza_Security2_electorRemove_specs_8 = {
|
||||
sizeof(struct Vanetza_Security2_FullIeeeTbsCtl__electorRemove),
|
||||
offsetof(struct Vanetza_Security2_FullIeeeTbsCtl__electorRemove, _asn_ctx),
|
||||
0, /* XER encoding is XMLDelimitedItemList */
|
||||
};
|
||||
static /* Use -fall-defs-global to expose */
|
||||
asn_TYPE_descriptor_t asn_DEF_Vanetza_Security2_electorRemove_8 = {
|
||||
"electorRemove",
|
||||
"electorRemove",
|
||||
&asn_OP_SEQUENCE_OF,
|
||||
asn_DEF_Vanetza_Security2_electorRemove_tags_8,
|
||||
sizeof(asn_DEF_Vanetza_Security2_electorRemove_tags_8)
|
||||
/sizeof(asn_DEF_Vanetza_Security2_electorRemove_tags_8[0]) - 1, /* 1 */
|
||||
asn_DEF_Vanetza_Security2_electorRemove_tags_8, /* Same as above */
|
||||
sizeof(asn_DEF_Vanetza_Security2_electorRemove_tags_8)
|
||||
/sizeof(asn_DEF_Vanetza_Security2_electorRemove_tags_8[0]), /* 2 */
|
||||
{
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
0,
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
0,
|
||||
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_JER_SUPPORT)
|
||||
0,
|
||||
#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
|
||||
SEQUENCE_OF_constraint
|
||||
},
|
||||
asn_MBR_Vanetza_Security2_electorRemove_8,
|
||||
1, /* Single element */
|
||||
&asn_SPC_Vanetza_Security2_electorRemove_specs_8 /* Additional specs */
|
||||
};
|
||||
|
||||
static asn_TYPE_member_t asn_MBR_Vanetza_Security2_rootCaApprove_10[] = {
|
||||
{ ATF_POINTER, 0, 0,
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (4 << 2)),
|
||||
0,
|
||||
&asn_DEF_Vanetza_Security2_CtlRootCaEntry,
|
||||
0,
|
||||
{
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
0,
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
0,
|
||||
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_JER_SUPPORT)
|
||||
0,
|
||||
#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
|
||||
0
|
||||
},
|
||||
0, 0, /* No default value */
|
||||
""
|
||||
},
|
||||
};
|
||||
static const ber_tlv_tag_t asn_DEF_Vanetza_Security2_rootCaApprove_tags_10[] = {
|
||||
(ASN_TAG_CLASS_CONTEXT | (6 << 2)),
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
|
||||
};
|
||||
static asn_SET_OF_specifics_t asn_SPC_Vanetza_Security2_rootCaApprove_specs_10 = {
|
||||
sizeof(struct Vanetza_Security2_FullIeeeTbsCtl__rootCaApprove),
|
||||
offsetof(struct Vanetza_Security2_FullIeeeTbsCtl__rootCaApprove, _asn_ctx),
|
||||
0, /* XER encoding is XMLDelimitedItemList */
|
||||
};
|
||||
static /* Use -fall-defs-global to expose */
|
||||
asn_TYPE_descriptor_t asn_DEF_Vanetza_Security2_rootCaApprove_10 = {
|
||||
"rootCaApprove",
|
||||
"rootCaApprove",
|
||||
&asn_OP_SEQUENCE_OF,
|
||||
asn_DEF_Vanetza_Security2_rootCaApprove_tags_10,
|
||||
sizeof(asn_DEF_Vanetza_Security2_rootCaApprove_tags_10)
|
||||
/sizeof(asn_DEF_Vanetza_Security2_rootCaApprove_tags_10[0]) - 1, /* 1 */
|
||||
asn_DEF_Vanetza_Security2_rootCaApprove_tags_10, /* Same as above */
|
||||
sizeof(asn_DEF_Vanetza_Security2_rootCaApprove_tags_10)
|
||||
/sizeof(asn_DEF_Vanetza_Security2_rootCaApprove_tags_10[0]), /* 2 */
|
||||
{
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
0,
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
0,
|
||||
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_JER_SUPPORT)
|
||||
0,
|
||||
#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
|
||||
SEQUENCE_OF_constraint
|
||||
},
|
||||
asn_MBR_Vanetza_Security2_rootCaApprove_10,
|
||||
1, /* Single element */
|
||||
&asn_SPC_Vanetza_Security2_rootCaApprove_specs_10 /* Additional specs */
|
||||
};
|
||||
|
||||
static asn_TYPE_member_t asn_MBR_Vanetza_Security2_rootCaRemove_12[] = {
|
||||
{ ATF_POINTER, 0, 0,
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (4 << 2)),
|
||||
0,
|
||||
&asn_DEF_Vanetza_Security2_CtlRootCaEntry,
|
||||
0,
|
||||
{
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
0,
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
0,
|
||||
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_JER_SUPPORT)
|
||||
0,
|
||||
#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
|
||||
0
|
||||
},
|
||||
0, 0, /* No default value */
|
||||
""
|
||||
},
|
||||
};
|
||||
static const ber_tlv_tag_t asn_DEF_Vanetza_Security2_rootCaRemove_tags_12[] = {
|
||||
(ASN_TAG_CLASS_CONTEXT | (7 << 2)),
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
|
||||
};
|
||||
static asn_SET_OF_specifics_t asn_SPC_Vanetza_Security2_rootCaRemove_specs_12 = {
|
||||
sizeof(struct Vanetza_Security2_FullIeeeTbsCtl__rootCaRemove),
|
||||
offsetof(struct Vanetza_Security2_FullIeeeTbsCtl__rootCaRemove, _asn_ctx),
|
||||
0, /* XER encoding is XMLDelimitedItemList */
|
||||
};
|
||||
static /* Use -fall-defs-global to expose */
|
||||
asn_TYPE_descriptor_t asn_DEF_Vanetza_Security2_rootCaRemove_12 = {
|
||||
"rootCaRemove",
|
||||
"rootCaRemove",
|
||||
&asn_OP_SEQUENCE_OF,
|
||||
asn_DEF_Vanetza_Security2_rootCaRemove_tags_12,
|
||||
sizeof(asn_DEF_Vanetza_Security2_rootCaRemove_tags_12)
|
||||
/sizeof(asn_DEF_Vanetza_Security2_rootCaRemove_tags_12[0]) - 1, /* 1 */
|
||||
asn_DEF_Vanetza_Security2_rootCaRemove_tags_12, /* Same as above */
|
||||
sizeof(asn_DEF_Vanetza_Security2_rootCaRemove_tags_12)
|
||||
/sizeof(asn_DEF_Vanetza_Security2_rootCaRemove_tags_12[0]), /* 2 */
|
||||
{
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
0,
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
0,
|
||||
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_JER_SUPPORT)
|
||||
0,
|
||||
#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
|
||||
SEQUENCE_OF_constraint
|
||||
},
|
||||
asn_MBR_Vanetza_Security2_rootCaRemove_12,
|
||||
1, /* Single element */
|
||||
&asn_SPC_Vanetza_Security2_rootCaRemove_specs_12 /* Additional specs */
|
||||
};
|
||||
|
||||
asn_TYPE_member_t asn_MBR_Vanetza_Security2_FullIeeeTbsCtl_1[] = {
|
||||
{ ATF_NOFLAGS, 0, offsetof(struct Vanetza_Security2_FullIeeeTbsCtl, type),
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_Vanetza_Security2_Ieee1609dot2dot1MsctlType,
|
||||
0,
|
||||
{
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
&asn_OER_memb_Vanetza_Security2_type_constr_2,
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
&asn_PER_memb_Vanetza_Security2_type_constr_2,
|
||||
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_JER_SUPPORT)
|
||||
0,
|
||||
#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
|
||||
memb_Vanetza_Security2_type_constraint_1
|
||||
},
|
||||
0, 0, /* No default value */
|
||||
"type"
|
||||
},
|
||||
{ ATF_NOFLAGS, 0, offsetof(struct Vanetza_Security2_FullIeeeTbsCtl, ctlSeriesId),
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_Vanetza_Security2_CtlSeriesId,
|
||||
0,
|
||||
{
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
0,
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
0,
|
||||
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_JER_SUPPORT)
|
||||
0,
|
||||
#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
|
||||
0
|
||||
},
|
||||
0, 0, /* No default value */
|
||||
"ctlSeriesId"
|
||||
},
|
||||
{ ATF_NOFLAGS, 0, offsetof(struct Vanetza_Security2_FullIeeeTbsCtl, sequenceNumber),
|
||||
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_Vanetza_Security2_CtlSequenceNumber,
|
||||
0,
|
||||
{
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
0,
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
0,
|
||||
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_JER_SUPPORT)
|
||||
0,
|
||||
#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
|
||||
0
|
||||
},
|
||||
0, 0, /* No default value */
|
||||
"sequenceNumber"
|
||||
},
|
||||
{ ATF_NOFLAGS, 0, offsetof(struct Vanetza_Security2_FullIeeeTbsCtl, effectiveDate),
|
||||
(ASN_TAG_CLASS_CONTEXT | (3 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_Vanetza_Security2_Time32,
|
||||
0,
|
||||
{
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
0,
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
0,
|
||||
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_JER_SUPPORT)
|
||||
0,
|
||||
#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
|
||||
0
|
||||
},
|
||||
0, 0, /* No default value */
|
||||
"effectiveDate"
|
||||
},
|
||||
{ ATF_NOFLAGS, 0, offsetof(struct Vanetza_Security2_FullIeeeTbsCtl, electorApprove),
|
||||
(ASN_TAG_CLASS_CONTEXT | (4 << 2)),
|
||||
0,
|
||||
&asn_DEF_Vanetza_Security2_electorApprove_6,
|
||||
0,
|
||||
{
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
0,
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
0,
|
||||
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_JER_SUPPORT)
|
||||
0,
|
||||
#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
|
||||
0
|
||||
},
|
||||
0, 0, /* No default value */
|
||||
"electorApprove"
|
||||
},
|
||||
{ ATF_NOFLAGS, 0, offsetof(struct Vanetza_Security2_FullIeeeTbsCtl, electorRemove),
|
||||
(ASN_TAG_CLASS_CONTEXT | (5 << 2)),
|
||||
0,
|
||||
&asn_DEF_Vanetza_Security2_electorRemove_8,
|
||||
0,
|
||||
{
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
0,
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
0,
|
||||
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_JER_SUPPORT)
|
||||
0,
|
||||
#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
|
||||
0
|
||||
},
|
||||
0, 0, /* No default value */
|
||||
"electorRemove"
|
||||
},
|
||||
{ ATF_NOFLAGS, 0, offsetof(struct Vanetza_Security2_FullIeeeTbsCtl, rootCaApprove),
|
||||
(ASN_TAG_CLASS_CONTEXT | (6 << 2)),
|
||||
0,
|
||||
&asn_DEF_Vanetza_Security2_rootCaApprove_10,
|
||||
0,
|
||||
{
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
0,
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
0,
|
||||
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_JER_SUPPORT)
|
||||
0,
|
||||
#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
|
||||
0
|
||||
},
|
||||
0, 0, /* No default value */
|
||||
"rootCaApprove"
|
||||
},
|
||||
{ ATF_NOFLAGS, 0, offsetof(struct Vanetza_Security2_FullIeeeTbsCtl, rootCaRemove),
|
||||
(ASN_TAG_CLASS_CONTEXT | (7 << 2)),
|
||||
0,
|
||||
&asn_DEF_Vanetza_Security2_rootCaRemove_12,
|
||||
0,
|
||||
{
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
0,
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
0,
|
||||
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_JER_SUPPORT)
|
||||
0,
|
||||
#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
|
||||
0
|
||||
},
|
||||
0, 0, /* No default value */
|
||||
"rootCaRemove"
|
||||
},
|
||||
{ ATF_POINTER, 1, offsetof(struct Vanetza_Security2_FullIeeeTbsCtl, quorum),
|
||||
(ASN_TAG_CLASS_CONTEXT | (8 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger,
|
||||
0,
|
||||
{
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
0,
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
0,
|
||||
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_JER_SUPPORT)
|
||||
0,
|
||||
#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
|
||||
0
|
||||
},
|
||||
0, 0, /* No default value */
|
||||
"quorum"
|
||||
},
|
||||
};
|
||||
static const int asn_MAP_Vanetza_Security2_FullIeeeTbsCtl_oms_1[] = { 8 };
|
||||
static const ber_tlv_tag_t asn_DEF_Vanetza_Security2_FullIeeeTbsCtl_tags_1[] = {
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
|
||||
};
|
||||
static const asn_TYPE_tag2member_t asn_MAP_Vanetza_Security2_FullIeeeTbsCtl_tag2el_1[] = {
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* type */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* ctlSeriesId */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* sequenceNumber */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* effectiveDate */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* electorApprove */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* electorRemove */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 }, /* rootCaApprove */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0 }, /* rootCaRemove */
|
||||
{ (ASN_TAG_CLASS_CONTEXT | (8 << 2)), 8, 0, 0 } /* quorum */
|
||||
};
|
||||
asn_SEQUENCE_specifics_t asn_SPC_Vanetza_Security2_FullIeeeTbsCtl_specs_1 = {
|
||||
sizeof(struct Vanetza_Security2_FullIeeeTbsCtl),
|
||||
offsetof(struct Vanetza_Security2_FullIeeeTbsCtl, _asn_ctx),
|
||||
asn_MAP_Vanetza_Security2_FullIeeeTbsCtl_tag2el_1,
|
||||
9, /* Count of tags in the map */
|
||||
asn_MAP_Vanetza_Security2_FullIeeeTbsCtl_oms_1, /* Optional members */
|
||||
0, 1, /* Root/Additions */
|
||||
8, /* First extension addition */
|
||||
};
|
||||
asn_TYPE_descriptor_t asn_DEF_Vanetza_Security2_FullIeeeTbsCtl = {
|
||||
"FullIeeeTbsCtl",
|
||||
"FullIeeeTbsCtl",
|
||||
&asn_OP_SEQUENCE,
|
||||
asn_DEF_Vanetza_Security2_FullIeeeTbsCtl_tags_1,
|
||||
sizeof(asn_DEF_Vanetza_Security2_FullIeeeTbsCtl_tags_1)
|
||||
/sizeof(asn_DEF_Vanetza_Security2_FullIeeeTbsCtl_tags_1[0]), /* 1 */
|
||||
asn_DEF_Vanetza_Security2_FullIeeeTbsCtl_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_Vanetza_Security2_FullIeeeTbsCtl_tags_1)
|
||||
/sizeof(asn_DEF_Vanetza_Security2_FullIeeeTbsCtl_tags_1[0]), /* 1 */
|
||||
{
|
||||
#if !defined(ASN_DISABLE_OER_SUPPORT)
|
||||
0,
|
||||
#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
|
||||
0,
|
||||
#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
|
||||
#if !defined(ASN_DISABLE_JER_SUPPORT)
|
||||
0,
|
||||
#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
|
||||
SEQUENCE_constraint
|
||||
},
|
||||
asn_MBR_Vanetza_Security2_FullIeeeTbsCtl_1,
|
||||
9, /* Elements count */
|
||||
&asn_SPC_Vanetza_Security2_FullIeeeTbsCtl_specs_1 /* Additional specs */
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user