2
3
4
5
6
11Vanetza_Security_Psid_constraint(
const asn_TYPE_descriptor_t *td,
const void *sptr,
12 asn_app_constraint_failed_f *ctfailcb,
void *app_key) {
16 ASN__CTFAIL(app_key, td, sptr,
17 "%s: value not given (%s:%d)",
18 td->name, __FILE__, __LINE__);
22 value = *(
const unsigned long *)sptr;
30 if(td->encoding_constraints.general_constraints != Vanetza_Security_Psid_constraint) {
31 return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key);
38
39
40
41#if !defined(ASN_DISABLE_OER_SUPPORT)
42asn_oer_constraints_t asn_OER_type_Vanetza_Security_Psid_constr_1 CC_NOTUSED = {
46#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
47asn_per_constraints_t asn_PER_type_Vanetza_Security_Psid_constr_1 CC_NOTUSED = {
48 { APC_SEMI_CONSTRAINED, -1, -1, 0, 0 } ,
49 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
53const asn_INTEGER_specifics_t asn_SPC_Vanetza_Security_Psid_specs_1 = {
58static const ber_tlv_tag_t asn_DEF_Vanetza_Security_Psid_tags_1[] = {
59 (ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
61asn_TYPE_descriptor_t asn_DEF_Vanetza_Security_Psid = {
64 &asn_OP_NativeInteger,
65 asn_DEF_Vanetza_Security_Psid_tags_1,
66 sizeof(asn_DEF_Vanetza_Security_Psid_tags_1)
67 /
sizeof(asn_DEF_Vanetza_Security_Psid_tags_1[0]),
68 asn_DEF_Vanetza_Security_Psid_tags_1,
69 sizeof(asn_DEF_Vanetza_Security_Psid_tags_1)
70 /
sizeof(asn_DEF_Vanetza_Security_Psid_tags_1[0]),
72#if !defined(ASN_DISABLE_OER_SUPPORT)
73 &asn_OER_type_Vanetza_Security_Psid_constr_1,
75#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
76 &asn_PER_type_Vanetza_Security_Psid_constr_1,
78#if !defined(ASN_DISABLE_JER_SUPPORT)
81 Vanetza_Security_Psid_constraint
84 &asn_SPC_Vanetza_Security_Psid_specs_1