Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 1 | |
| 2 | /*** <<< INCLUDES [SIGNED] >>> ***/ |
| 3 | |
| 4 | #include <REAL.h> |
| 5 | #include <constr_SEQUENCE.h> |
| 6 | #include <INTEGER.h> |
| 7 | #include <constr_SET.h> |
| 8 | |
| 9 | /*** <<< DEPS [SIGNED] >>> ***/ |
| 10 | |
| 11 | |
| 12 | /* |
| 13 | * Method of determining the components presence |
| 14 | */ |
| 15 | typedef enum signed_PR { |
| 16 | signed_PR_a, /* Member a is present */ |
| 17 | } signed_PR; |
| 18 | |
| 19 | /*** <<< TYPE-DECLS [SIGNED] >>> ***/ |
| 20 | |
| 21 | typedef struct SIGNED_16P0 { |
| 22 | REAL_t Signed; |
| 23 | |
| 24 | /* Context for parsing across buffer boundaries */ |
| 25 | asn_struct_ctx_t _asn_ctx; |
| 26 | } SIGNED_16P0_t; |
| 27 | typedef struct SIGNED_16P1 { |
| 28 | struct Signed { |
| 29 | INTEGER_t a; |
| 30 | |
| 31 | /* Presence bitmask: ASN_SET_ISPRESENT(psigned, signed_PR_x) */ |
| 32 | unsigned int _presence_map |
| 33 | [((1+(8*sizeof(unsigned int))-1)/(8*sizeof(unsigned int)))]; |
| 34 | |
| 35 | /* Context for parsing across buffer boundaries */ |
| 36 | asn_struct_ctx_t _asn_ctx; |
| 37 | } Signed; |
| 38 | |
| 39 | /* Context for parsing across buffer boundaries */ |
| 40 | asn_struct_ctx_t _asn_ctx; |
| 41 | } SIGNED_16P1_t; |
| 42 | |
| 43 | /*** <<< FUNC-DECLS [SIGNED] >>> ***/ |
| 44 | |
| 45 | extern asn_TYPE_descriptor_t asn_DEF_SIGNED_16P0; |
Bi-Ruei, Chiu | 1fa31c9 | 2016-05-16 13:50:09 +0800 | [diff] [blame^] | 46 | extern asn_SEQUENCE_specifics_t asn_SPC_SIGNED_16P0_specs_1; |
| 47 | extern asn_TYPE_member_t asn_MBR_SIGNED_16P0_1[1]; |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 48 | extern asn_TYPE_descriptor_t asn_DEF_SIGNED_16P1; |
Bi-Ruei, Chiu | 1fa31c9 | 2016-05-16 13:50:09 +0800 | [diff] [blame^] | 49 | extern asn_SEQUENCE_specifics_t asn_SPC_SIGNED_16P1_specs_3; |
| 50 | extern asn_TYPE_member_t asn_MBR_SIGNED_16P1_3[1]; |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 51 | |
| 52 | /*** <<< STAT-DEFS [SIGNED] >>> ***/ |
| 53 | |
Bi-Ruei, Chiu | 1fa31c9 | 2016-05-16 13:50:09 +0800 | [diff] [blame^] | 54 | asn_TYPE_member_t asn_MBR_SIGNED_16P0_1[] = { |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 55 | { ATF_NOFLAGS, 0, offsetof(struct SIGNED_16P0, Signed), |
| 56 | .tag = (ASN_TAG_CLASS_UNIVERSAL | (9 << 2)), |
| 57 | .tag_mode = 0, |
| 58 | .type = &asn_DEF_REAL, |
| 59 | .memb_constraints = 0, /* Defer constraints checking to the member type */ |
Lev Walkin | b33425f | 2017-07-14 14:59:52 +0400 | [diff] [blame] | 60 | .oer_constraints = 0, /* OER is not compiled, use -gen-OER */ |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 61 | .per_constraints = 0, /* PER is not compiled, use -gen-PER */ |
| 62 | .default_value = 0, |
| 63 | .name = "signed" |
| 64 | }, |
| 65 | }; |
Lev Walkin | a7591b5 | 2014-10-12 18:37:35 -0700 | [diff] [blame] | 66 | static const ber_tlv_tag_t asn_DEF_SIGNED_16P0_tags_1[] = { |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 67 | (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) |
| 68 | }; |
Lev Walkin | a7591b5 | 2014-10-12 18:37:35 -0700 | [diff] [blame] | 69 | static const asn_TYPE_tag2member_t asn_MAP_SIGNED_16P0_tag2el_1[] = { |
Lev Walkin | 4062b01 | 2013-10-11 14:29:38 -0700 | [diff] [blame] | 70 | { (ASN_TAG_CLASS_UNIVERSAL | (9 << 2)), 0, 0, 0 } /* signed */ |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 71 | }; |
Bi-Ruei, Chiu | 1fa31c9 | 2016-05-16 13:50:09 +0800 | [diff] [blame^] | 72 | asn_SEQUENCE_specifics_t asn_SPC_SIGNED_16P0_specs_1 = { |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 73 | sizeof(struct SIGNED_16P0), |
| 74 | offsetof(struct SIGNED_16P0, _asn_ctx), |
| 75 | asn_MAP_SIGNED_16P0_tag2el_1, |
| 76 | 1, /* Count of tags in the map */ |
| 77 | 0, 0, 0, /* Optional elements (not needed) */ |
| 78 | -1, /* Start extensions */ |
| 79 | -1 /* Stop extensions */ |
| 80 | }; |
| 81 | asn_TYPE_descriptor_t asn_DEF_SIGNED_16P0 = { |
| 82 | "SIGNED", |
| 83 | "SIGNED", |
| 84 | SEQUENCE_free, |
| 85 | SEQUENCE_print, |
| 86 | SEQUENCE_constraint, |
| 87 | SEQUENCE_decode_ber, |
| 88 | SEQUENCE_encode_der, |
| 89 | SEQUENCE_decode_xer, |
| 90 | SEQUENCE_encode_xer, |
Lev Walkin | ba68c91 | 2017-07-06 07:52:39 -0700 | [diff] [blame] | 91 | 0, 0, /* No OER support, use "-gen-OER" to enable */ |
Lev Walkin | b33425f | 2017-07-14 14:59:52 +0400 | [diff] [blame] | 92 | 0, 0, /* No PER support, use "-gen-PER" to enable */ |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 93 | 0, /* Use generic outmost tag fetcher */ |
| 94 | asn_DEF_SIGNED_16P0_tags_1, |
| 95 | sizeof(asn_DEF_SIGNED_16P0_tags_1) |
| 96 | /sizeof(asn_DEF_SIGNED_16P0_tags_1[0]), /* 1 */ |
| 97 | asn_DEF_SIGNED_16P0_tags_1, /* Same as above */ |
| 98 | sizeof(asn_DEF_SIGNED_16P0_tags_1) |
| 99 | /sizeof(asn_DEF_SIGNED_16P0_tags_1[0]), /* 1 */ |
Lev Walkin | b33425f | 2017-07-14 14:59:52 +0400 | [diff] [blame] | 100 | 0, /* No OER visible constraints */ |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 101 | 0, /* No PER visible constraints */ |
| 102 | asn_MBR_SIGNED_16P0_1, |
| 103 | 1, /* Elements count */ |
| 104 | &asn_SPC_SIGNED_16P0_specs_1 /* Additional specs */ |
| 105 | }; |
| 106 | |
| 107 | static asn_TYPE_member_t asn_MBR_signed_4[] = { |
| 108 | { ATF_NOFLAGS, 0, offsetof(struct Signed, a), |
| 109 | .tag = (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), |
| 110 | .tag_mode = 0, |
| 111 | .type = &asn_DEF_INTEGER, |
| 112 | .memb_constraints = 0, /* Defer constraints checking to the member type */ |
Lev Walkin | b33425f | 2017-07-14 14:59:52 +0400 | [diff] [blame] | 113 | .oer_constraints = 0, /* OER is not compiled, use -gen-OER */ |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 114 | .per_constraints = 0, /* PER is not compiled, use -gen-PER */ |
| 115 | .default_value = 0, |
| 116 | .name = "a" |
| 117 | }, |
| 118 | }; |
Lev Walkin | a7591b5 | 2014-10-12 18:37:35 -0700 | [diff] [blame] | 119 | static const ber_tlv_tag_t asn_DEF_signed_tags_4[] = { |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 120 | (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)) |
| 121 | }; |
Lev Walkin | a7591b5 | 2014-10-12 18:37:35 -0700 | [diff] [blame] | 122 | static const asn_TYPE_tag2member_t asn_MAP_signed_tag2el_4[] = { |
Lev Walkin | 4062b01 | 2013-10-11 14:29:38 -0700 | [diff] [blame] | 123 | { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* a */ |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 124 | }; |
Lev Walkin | a7591b5 | 2014-10-12 18:37:35 -0700 | [diff] [blame] | 125 | static const uint8_t asn_MAP_signed_mmap_4[(1 + (8 * sizeof(unsigned int)) - 1) / 8] = { |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 126 | (1 << 7) |
| 127 | }; |
Bi-Ruei, Chiu | 1fa31c9 | 2016-05-16 13:50:09 +0800 | [diff] [blame^] | 128 | static |
| 129 | asn_SET_specifics_t asn_SPC_signed_specs_4 = { |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 130 | sizeof(struct Signed), |
| 131 | offsetof(struct Signed, _asn_ctx), |
| 132 | offsetof(struct Signed, _presence_map), |
| 133 | asn_MAP_signed_tag2el_4, |
| 134 | 1, /* Count of tags in the map */ |
| 135 | asn_MAP_signed_tag2el_4, /* Same as above */ |
| 136 | 1, /* Count of tags in the CXER map */ |
| 137 | 0, /* Whether extensible */ |
Lev Walkin | 46ef3f3 | 2017-07-06 08:47:53 -0700 | [diff] [blame] | 138 | (const unsigned int *)asn_MAP_signed_mmap_4 /* Mandatory elements map */ |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 139 | }; |
| 140 | static /* Use -fall-defs-global to expose */ |
| 141 | asn_TYPE_descriptor_t asn_DEF_signed_4 = { |
| 142 | "signed", |
| 143 | "signed", |
| 144 | SET_free, |
| 145 | SET_print, |
| 146 | SET_constraint, |
| 147 | SET_decode_ber, |
| 148 | SET_encode_der, |
| 149 | SET_decode_xer, |
| 150 | SET_encode_xer, |
Lev Walkin | ba68c91 | 2017-07-06 07:52:39 -0700 | [diff] [blame] | 151 | 0, 0, /* No OER support, use "-gen-OER" to enable */ |
Lev Walkin | b33425f | 2017-07-14 14:59:52 +0400 | [diff] [blame] | 152 | 0, 0, /* No PER support, use "-gen-PER" to enable */ |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 153 | 0, /* Use generic outmost tag fetcher */ |
| 154 | asn_DEF_signed_tags_4, |
| 155 | sizeof(asn_DEF_signed_tags_4) |
| 156 | /sizeof(asn_DEF_signed_tags_4[0]), /* 1 */ |
| 157 | asn_DEF_signed_tags_4, /* Same as above */ |
| 158 | sizeof(asn_DEF_signed_tags_4) |
| 159 | /sizeof(asn_DEF_signed_tags_4[0]), /* 1 */ |
Lev Walkin | b33425f | 2017-07-14 14:59:52 +0400 | [diff] [blame] | 160 | 0, /* No OER visible constraints */ |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 161 | 0, /* No PER visible constraints */ |
| 162 | asn_MBR_signed_4, |
| 163 | 1, /* Elements count */ |
| 164 | &asn_SPC_signed_specs_4 /* Additional specs */ |
| 165 | }; |
| 166 | |
Bi-Ruei, Chiu | 1fa31c9 | 2016-05-16 13:50:09 +0800 | [diff] [blame^] | 167 | asn_TYPE_member_t asn_MBR_SIGNED_16P1_3[] = { |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 168 | { ATF_NOFLAGS, 0, offsetof(struct SIGNED_16P1, Signed), |
| 169 | .tag = (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)), |
| 170 | .tag_mode = 0, |
| 171 | .type = &asn_DEF_signed_4, |
| 172 | .memb_constraints = 0, /* Defer constraints checking to the member type */ |
Lev Walkin | b33425f | 2017-07-14 14:59:52 +0400 | [diff] [blame] | 173 | .oer_constraints = 0, /* OER is not compiled, use -gen-OER */ |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 174 | .per_constraints = 0, /* PER is not compiled, use -gen-PER */ |
| 175 | .default_value = 0, |
| 176 | .name = "signed" |
| 177 | }, |
| 178 | }; |
Lev Walkin | a7591b5 | 2014-10-12 18:37:35 -0700 | [diff] [blame] | 179 | static const ber_tlv_tag_t asn_DEF_SIGNED_16P1_tags_3[] = { |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 180 | (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) |
| 181 | }; |
Lev Walkin | a7591b5 | 2014-10-12 18:37:35 -0700 | [diff] [blame] | 182 | static const asn_TYPE_tag2member_t asn_MAP_SIGNED_16P1_tag2el_3[] = { |
Lev Walkin | 4062b01 | 2013-10-11 14:29:38 -0700 | [diff] [blame] | 183 | { (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)), 0, 0, 0 } /* signed */ |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 184 | }; |
Bi-Ruei, Chiu | 1fa31c9 | 2016-05-16 13:50:09 +0800 | [diff] [blame^] | 185 | asn_SEQUENCE_specifics_t asn_SPC_SIGNED_16P1_specs_3 = { |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 186 | sizeof(struct SIGNED_16P1), |
| 187 | offsetof(struct SIGNED_16P1, _asn_ctx), |
| 188 | asn_MAP_SIGNED_16P1_tag2el_3, |
| 189 | 1, /* Count of tags in the map */ |
| 190 | 0, 0, 0, /* Optional elements (not needed) */ |
| 191 | -1, /* Start extensions */ |
| 192 | -1 /* Stop extensions */ |
| 193 | }; |
| 194 | asn_TYPE_descriptor_t asn_DEF_SIGNED_16P1 = { |
| 195 | "SIGNED", |
| 196 | "SIGNED", |
| 197 | SEQUENCE_free, |
| 198 | SEQUENCE_print, |
| 199 | SEQUENCE_constraint, |
| 200 | SEQUENCE_decode_ber, |
| 201 | SEQUENCE_encode_der, |
| 202 | SEQUENCE_decode_xer, |
| 203 | SEQUENCE_encode_xer, |
Lev Walkin | ba68c91 | 2017-07-06 07:52:39 -0700 | [diff] [blame] | 204 | 0, 0, /* No OER support, use "-gen-OER" to enable */ |
Lev Walkin | b33425f | 2017-07-14 14:59:52 +0400 | [diff] [blame] | 205 | 0, 0, /* No PER support, use "-gen-PER" to enable */ |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 206 | 0, /* Use generic outmost tag fetcher */ |
| 207 | asn_DEF_SIGNED_16P1_tags_3, |
| 208 | sizeof(asn_DEF_SIGNED_16P1_tags_3) |
| 209 | /sizeof(asn_DEF_SIGNED_16P1_tags_3[0]), /* 1 */ |
| 210 | asn_DEF_SIGNED_16P1_tags_3, /* Same as above */ |
| 211 | sizeof(asn_DEF_SIGNED_16P1_tags_3) |
| 212 | /sizeof(asn_DEF_SIGNED_16P1_tags_3[0]), /* 1 */ |
Lev Walkin | b33425f | 2017-07-14 14:59:52 +0400 | [diff] [blame] | 213 | 0, /* No OER visible constraints */ |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 214 | 0, /* No PER visible constraints */ |
| 215 | asn_MBR_SIGNED_16P1_3, |
| 216 | 1, /* Elements count */ |
| 217 | &asn_SPC_SIGNED_16P1_specs_3 /* Additional specs */ |
| 218 | }; |
| 219 | |
| 220 | |
| 221 | /*** <<< INCLUDES [SignedREAL] >>> ***/ |
| 222 | |
Lev Walkin | 22b5ed4 | 2006-09-13 02:51:20 +0000 | [diff] [blame] | 223 | #include "SIGNED.h" |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 224 | |
| 225 | /*** <<< TYPE-DECLS [SignedREAL] >>> ***/ |
| 226 | |
| 227 | typedef SIGNED_16P0_t SignedREAL_t; |
| 228 | |
| 229 | /*** <<< FUNC-DECLS [SignedREAL] >>> ***/ |
| 230 | |
| 231 | extern asn_TYPE_descriptor_t asn_DEF_SignedREAL; |
| 232 | asn_struct_free_f SignedREAL_free; |
| 233 | asn_struct_print_f SignedREAL_print; |
| 234 | asn_constr_check_f SignedREAL_constraint; |
| 235 | ber_type_decoder_f SignedREAL_decode_ber; |
| 236 | der_type_encoder_f SignedREAL_encode_der; |
| 237 | xer_type_decoder_f SignedREAL_decode_xer; |
| 238 | xer_type_encoder_f SignedREAL_encode_xer; |
| 239 | |
| 240 | /*** <<< CODE [SignedREAL] >>> ***/ |
| 241 | |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 242 | /* |
| 243 | * This type is implemented using SIGNED_16P0, |
| 244 | * so here we adjust the DEF accordingly. |
| 245 | */ |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 246 | |
| 247 | /*** <<< STAT-DEFS [SignedREAL] >>> ***/ |
| 248 | |
Lev Walkin | a7591b5 | 2014-10-12 18:37:35 -0700 | [diff] [blame] | 249 | static const ber_tlv_tag_t asn_DEF_SignedREAL_tags_1[] = { |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 250 | (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) |
| 251 | }; |
| 252 | asn_TYPE_descriptor_t asn_DEF_SignedREAL = { |
| 253 | "SignedREAL", |
| 254 | "SignedREAL", |
Bi-Ruei, Chiu | 1fa31c9 | 2016-05-16 13:50:09 +0800 | [diff] [blame^] | 255 | SEQUENCE_free, |
| 256 | SEQUENCE_print, |
| 257 | SEQUENCE_constraint, |
| 258 | SEQUENCE_decode_ber, |
| 259 | SEQUENCE_encode_der, |
| 260 | SEQUENCE_decode_xer, |
| 261 | SEQUENCE_encode_xer, |
Lev Walkin | ba68c91 | 2017-07-06 07:52:39 -0700 | [diff] [blame] | 262 | 0, 0, /* No OER support, use "-gen-OER" to enable */ |
Lev Walkin | b33425f | 2017-07-14 14:59:52 +0400 | [diff] [blame] | 263 | 0, 0, /* No PER support, use "-gen-PER" to enable */ |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 264 | 0, /* Use generic outmost tag fetcher */ |
| 265 | asn_DEF_SignedREAL_tags_1, |
| 266 | sizeof(asn_DEF_SignedREAL_tags_1) |
| 267 | /sizeof(asn_DEF_SignedREAL_tags_1[0]), /* 1 */ |
| 268 | asn_DEF_SignedREAL_tags_1, /* Same as above */ |
| 269 | sizeof(asn_DEF_SignedREAL_tags_1) |
| 270 | /sizeof(asn_DEF_SignedREAL_tags_1[0]), /* 1 */ |
Lev Walkin | b33425f | 2017-07-14 14:59:52 +0400 | [diff] [blame] | 271 | 0, /* No OER visible constraints */ |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 272 | 0, /* No PER visible constraints */ |
Bi-Ruei, Chiu | 1fa31c9 | 2016-05-16 13:50:09 +0800 | [diff] [blame^] | 273 | asn_MBR_SIGNED_16P0_1, |
| 274 | 1, /* Elements count */ |
| 275 | &asn_SPC_SIGNED_16P0_specs_1 /* Additional specs */ |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 276 | }; |
| 277 | |
| 278 | |
| 279 | /*** <<< INCLUDES [SignedSET] >>> ***/ |
| 280 | |
Lev Walkin | 22b5ed4 | 2006-09-13 02:51:20 +0000 | [diff] [blame] | 281 | #include "SIGNED.h" |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 282 | |
| 283 | /*** <<< TYPE-DECLS [SignedSET] >>> ***/ |
| 284 | |
| 285 | typedef SIGNED_16P1_t SignedSET_t; |
| 286 | |
| 287 | /*** <<< FUNC-DECLS [SignedSET] >>> ***/ |
| 288 | |
| 289 | extern asn_TYPE_descriptor_t asn_DEF_SignedSET; |
| 290 | asn_struct_free_f SignedSET_free; |
| 291 | asn_struct_print_f SignedSET_print; |
| 292 | asn_constr_check_f SignedSET_constraint; |
| 293 | ber_type_decoder_f SignedSET_decode_ber; |
| 294 | der_type_encoder_f SignedSET_encode_der; |
| 295 | xer_type_decoder_f SignedSET_decode_xer; |
| 296 | xer_type_encoder_f SignedSET_encode_xer; |
| 297 | |
| 298 | /*** <<< CODE [SignedSET] >>> ***/ |
| 299 | |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 300 | /* |
| 301 | * This type is implemented using SIGNED_16P1, |
| 302 | * so here we adjust the DEF accordingly. |
| 303 | */ |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 304 | |
| 305 | /*** <<< STAT-DEFS [SignedSET] >>> ***/ |
| 306 | |
Lev Walkin | a7591b5 | 2014-10-12 18:37:35 -0700 | [diff] [blame] | 307 | static const ber_tlv_tag_t asn_DEF_SignedSET_tags_1[] = { |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 308 | (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) |
| 309 | }; |
| 310 | asn_TYPE_descriptor_t asn_DEF_SignedSET = { |
| 311 | "SignedSET", |
| 312 | "SignedSET", |
Bi-Ruei, Chiu | 1fa31c9 | 2016-05-16 13:50:09 +0800 | [diff] [blame^] | 313 | SEQUENCE_free, |
| 314 | SEQUENCE_print, |
| 315 | SEQUENCE_constraint, |
| 316 | SEQUENCE_decode_ber, |
| 317 | SEQUENCE_encode_der, |
| 318 | SEQUENCE_decode_xer, |
| 319 | SEQUENCE_encode_xer, |
Lev Walkin | ba68c91 | 2017-07-06 07:52:39 -0700 | [diff] [blame] | 320 | 0, 0, /* No OER support, use "-gen-OER" to enable */ |
Lev Walkin | b33425f | 2017-07-14 14:59:52 +0400 | [diff] [blame] | 321 | 0, 0, /* No PER support, use "-gen-PER" to enable */ |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 322 | 0, /* Use generic outmost tag fetcher */ |
| 323 | asn_DEF_SignedSET_tags_1, |
| 324 | sizeof(asn_DEF_SignedSET_tags_1) |
| 325 | /sizeof(asn_DEF_SignedSET_tags_1[0]), /* 1 */ |
| 326 | asn_DEF_SignedSET_tags_1, /* Same as above */ |
| 327 | sizeof(asn_DEF_SignedSET_tags_1) |
| 328 | /sizeof(asn_DEF_SignedSET_tags_1[0]), /* 1 */ |
Lev Walkin | b33425f | 2017-07-14 14:59:52 +0400 | [diff] [blame] | 329 | 0, /* No OER visible constraints */ |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 330 | 0, /* No PER visible constraints */ |
Bi-Ruei, Chiu | 1fa31c9 | 2016-05-16 13:50:09 +0800 | [diff] [blame^] | 331 | asn_MBR_SIGNED_16P1_3, |
| 332 | 1, /* Elements count */ |
| 333 | &asn_SPC_SIGNED_16P1_specs_3 /* Additional specs */ |
Lev Walkin | a00d6b3 | 2006-03-21 03:40:38 +0000 | [diff] [blame] | 334 | }; |
| 335 | |