2
3
4
5
6
11memb_Vanetza_Security_binaryId_constraint_1(
const asn_TYPE_descriptor_t *td,
const void *sptr,
12 asn_app_constraint_failed_f *ctfailcb,
void *app_key) {
13 const OCTET_STRING_t *st = (
const OCTET_STRING_t *)sptr;
17 ASN__CTFAIL(app_key, td, sptr,
18 "%s: value not given (%s:%d)",
19 td->name, __FILE__, __LINE__);
25 if((size >= 1UL && size <= 64UL)) {
29 ASN__CTFAIL(app_key, td, sptr,
30 "%s: constraint failed (%s:%d)",
31 td->name, __FILE__, __LINE__);
36#if !defined(ASN_DISABLE_OER_SUPPORT)
37static asn_oer_constraints_t asn_OER_memb_Vanetza_Security_binaryId_constr_4 CC_NOTUSED = {
41#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
42static asn_per_constraints_t asn_PER_memb_Vanetza_Security_binaryId_constr_4 CC_NOTUSED = {
43 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
44 { APC_CONSTRAINED, 6, 6, 1, 64 } ,
48#if !defined(ASN_DISABLE_OER_SUPPORT)
49asn_oer_constraints_t asn_OER_type_Vanetza_Security_CertificateId_constr_1 CC_NOTUSED = {
53#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
54asn_per_constraints_t asn_PER_type_Vanetza_Security_CertificateId_constr_1 CC_NOTUSED = {
55 { APC_CONSTRAINED | APC_EXTENSIBLE, 2, 2, 0, 3 } ,
56 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
60asn_TYPE_member_t asn_MBR_Vanetza_Security_CertificateId_1[] = {
61 { ATF_NOFLAGS, 0, offsetof(
struct Vanetza_Security_CertificateId, choice.linkageData),
62 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
64 &asn_DEF_Vanetza_Security_LinkageData,
67#if !defined(ASN_DISABLE_OER_SUPPORT)
70#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
73#if !defined(ASN_DISABLE_JER_SUPPORT)
81 { ATF_NOFLAGS, 0, offsetof(
struct Vanetza_Security_CertificateId, choice.name),
82 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
84 &asn_DEF_Vanetza_Security_Hostname,
87#if !defined(ASN_DISABLE_OER_SUPPORT)
90#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
93#if !defined(ASN_DISABLE_JER_SUPPORT)
101 { ATF_NOFLAGS, 0, offsetof(
struct Vanetza_Security_CertificateId, choice.binaryId),
102 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
104 &asn_DEF_OCTET_STRING,
107#if !defined(ASN_DISABLE_OER_SUPPORT)
108 &asn_OER_memb_Vanetza_Security_binaryId_constr_4,
110#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
111 &asn_PER_memb_Vanetza_Security_binaryId_constr_4,
113#if !defined(ASN_DISABLE_JER_SUPPORT)
116 memb_Vanetza_Security_binaryId_constraint_1
121 { ATF_NOFLAGS, 0, offsetof(
struct Vanetza_Security_CertificateId, choice.none),
122 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
127#if !defined(ASN_DISABLE_OER_SUPPORT)
130#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
133#if !defined(ASN_DISABLE_JER_SUPPORT)
142static const asn_TYPE_tag2member_t asn_MAP_Vanetza_Security_CertificateId_tag2el_1[] = {
143 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 },
144 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 },
145 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 },
146 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }
148asn_CHOICE_specifics_t asn_SPC_Vanetza_Security_CertificateId_specs_1 = {
149 sizeof(
struct Vanetza_Security_CertificateId),
150 offsetof(
struct Vanetza_Security_CertificateId, _asn_ctx),
151 offsetof(
struct Vanetza_Security_CertificateId, present),
152 sizeof(((
struct Vanetza_Security_CertificateId *)0)->present),
153 asn_MAP_Vanetza_Security_CertificateId_tag2el_1,
158asn_TYPE_descriptor_t asn_DEF_Vanetza_Security_CertificateId = {
167#if !defined(ASN_DISABLE_OER_SUPPORT)
168 &asn_OER_type_Vanetza_Security_CertificateId_constr_1,
170#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
171 &asn_PER_type_Vanetza_Security_CertificateId_constr_1,
173#if !defined(ASN_DISABLE_JER_SUPPORT)
178 asn_MBR_Vanetza_Security_CertificateId_1,
180 &asn_SPC_Vanetza_Security_CertificateId_specs_1