/* * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) * From ASN.1 module "SGP32Definitions" * found in "../../../asn1/SGP32Definitions.asn" * `asn1c -fcompound-names -no-gen-example` */ #include "GetCertsResponse.h" static asn_oer_constraints_t asn_OER_type_GetCertsResponse_constr_1 CC_NOTUSED = { { 0, 0 }, -1}; static asn_per_constraints_t asn_PER_type_GetCertsResponse_constr_1 CC_NOTUSED = { { APC_CONSTRAINED | APC_EXTENSIBLE, 1, 1, 0, 1 } /* (0..1,...) */, { APC_UNCONSTRAINED, -1, -1, 0, 0 }, 0, 0 /* No PER value map */ }; static asn_TYPE_member_t asn_MBR_certs_2[] = { { ATF_NOFLAGS, 0, offsetof(struct GetCertsResponse__certs, eumCertificate), (ASN_TAG_CLASS_CONTEXT | (5 << 2)), -1, /* IMPLICIT tag at current level */ &asn_DEF_Certificate, 0, { 0, 0, 0 }, 0, 0, /* No default value */ "eumCertificate" }, { ATF_NOFLAGS, 0, offsetof(struct GetCertsResponse__certs, euiccCertificate), (ASN_TAG_CLASS_CONTEXT | (6 << 2)), -1, /* IMPLICIT tag at current level */ &asn_DEF_Certificate, 0, { 0, 0, 0 }, 0, 0, /* No default value */ "euiccCertificate" }, }; static const ber_tlv_tag_t asn_DEF_certs_tags_2[] = { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static const asn_TYPE_tag2member_t asn_MAP_certs_tag2el_2[] = { { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 0, 0, 0 }, /* eumCertificate */ { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 1, 0, 0 } /* euiccCertificate */ }; static asn_SEQUENCE_specifics_t asn_SPC_certs_specs_2 = { sizeof(struct GetCertsResponse__certs), offsetof(struct GetCertsResponse__certs, _asn_ctx), asn_MAP_certs_tag2el_2, 2, /* Count of tags in the map */ 0, 0, 0, /* Optional elements (not needed) */ 2, /* First extension addition */ }; static /* Use -fall-defs-global to expose */ asn_TYPE_descriptor_t asn_DEF_certs_2 = { "certs", "certs", &asn_OP_SEQUENCE, asn_DEF_certs_tags_2, sizeof(asn_DEF_certs_tags_2) /sizeof(asn_DEF_certs_tags_2[0]) - 1, /* 1 */ asn_DEF_certs_tags_2, /* Same as above */ sizeof(asn_DEF_certs_tags_2) /sizeof(asn_DEF_certs_tags_2[0]), /* 2 */ { 0, 0, SEQUENCE_constraint }, asn_MBR_certs_2, 2, /* Elements count */ &asn_SPC_certs_specs_2 /* Additional specs */ }; static asn_TYPE_member_t asn_MBR_GetCertsResponse_1[] = { { ATF_NOFLAGS, 0, offsetof(struct GetCertsResponse, choice.certs), (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, &asn_DEF_certs_2, 0, { 0, 0, 0 }, 0, 0, /* No default value */ "certs" }, { ATF_NOFLAGS, 0, offsetof(struct GetCertsResponse, choice.getCertsError), (ASN_TAG_CLASS_CONTEXT | (1 << 2)), -1, /* IMPLICIT tag at current level */ &asn_DEF_NativeInteger, 0, { 0, 0, 0 }, 0, 0, /* No default value */ "getCertsError" }, }; static const ber_tlv_tag_t asn_DEF_GetCertsResponse_tags_1[] = { (ASN_TAG_CLASS_CONTEXT | (86 << 2)) }; static const asn_TYPE_tag2member_t asn_MAP_GetCertsResponse_tag2el_1[] = { { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* certs */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* getCertsError */ }; static asn_CHOICE_specifics_t asn_SPC_GetCertsResponse_specs_1 = { sizeof(struct GetCertsResponse), offsetof(struct GetCertsResponse, _asn_ctx), offsetof(struct GetCertsResponse, present), sizeof(((struct GetCertsResponse *)0)->present), asn_MAP_GetCertsResponse_tag2el_1, 2, /* Count of tags in the map */ 0, 0, 2 /* Extensions start */ }; asn_TYPE_descriptor_t asn_DEF_GetCertsResponse = { "GetCertsResponse", "GetCertsResponse", &asn_OP_CHOICE, asn_DEF_GetCertsResponse_tags_1, sizeof(asn_DEF_GetCertsResponse_tags_1) /sizeof(asn_DEF_GetCertsResponse_tags_1[0]), /* 1 */ asn_DEF_GetCertsResponse_tags_1, /* Same as above */ sizeof(asn_DEF_GetCertsResponse_tags_1) /sizeof(asn_DEF_GetCertsResponse_tags_1[0]), /* 1 */ { &asn_OER_type_GetCertsResponse_constr_1, &asn_PER_type_GetCertsResponse_constr_1, CHOICE_constraint }, asn_MBR_GetCertsResponse_1, 2, /* Elements count */ &asn_SPC_GetCertsResponse_specs_1 /* Additional specs */ };