ITS
TrailerField.c
Go to the documentation of this file.
1 /*
2  * Generated by asn1c-0.9.27 (http://lionet.info/asn1c)
3  * From ASN.1 module "Secured-Pdu-Descriptions"
4  * found in "Secured.asn"
5  */
6 
7 #include "TrailerField.h"
8 
9 static asn_per_constraints_t asn_PER_type_trailer_field_constr_3 GCC_NOTUSED = {
10  { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */,
11  { APC_UNCONSTRAINED, -1, -1, 0, 0 },
12  0, 0 /* No PER value map */
13 };
15  { ATF_NOFLAGS, 0, offsetof(struct signature_trailer_field, sign),
16  (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
17  -1, /* IMPLICIT tag at current level */
19  0, /* Defer constraints checking to the member type */
20  0, /* No PER visible constraints */
21  0,
22  "sign"
23  },
24 };
26  (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
27  (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
28 };
30  { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* sign */
31 };
33  sizeof(struct signature_trailer_field),
34  offsetof(struct signature_trailer_field, _asn_ctx),
36  1, /* Count of tags in the map */
37  0, 0, 0, /* Optional elements (not needed) */
38  -1, /* Start extensions */
39  -1 /* Stop extensions */
40 };
41 static /* Use -fall-defs-global to expose */
43  "signature-trailer-field",
44  "signature-trailer-field",
54  0, /* Use generic outmost tag fetcher */
57  /sizeof(asn_DEF_signature_trailer_field_tags_4[0]) - 1, /* 1 */
58  asn_DEF_signature_trailer_field_tags_4, /* Same as above */
60  /sizeof(asn_DEF_signature_trailer_field_tags_4[0]), /* 2 */
61  0, /* No PER visible constraints */
63  1, /* Elements count */
64  &asn_SPC_signature_trailer_field_specs_4 /* Additional specs */
65 };
66 
68  { ATF_NOFLAGS, 0, offsetof(struct unknown_trailer_field, security_field),
69  (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
70  -1, /* IMPLICIT tag at current level */
72  0, /* Defer constraints checking to the member type */
73  0, /* No PER visible constraints */
74  0,
75  "security-field"
76  },
77 };
79  (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
80  (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
81 };
83  { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* security-field */
84 };
86  sizeof(struct unknown_trailer_field),
87  offsetof(struct unknown_trailer_field, _asn_ctx),
89  1, /* Count of tags in the map */
90  0, 0, 0, /* Optional elements (not needed) */
91  -1, /* Start extensions */
92  -1 /* Stop extensions */
93 };
94 static /* Use -fall-defs-global to expose */
96  "unknown-trailer-field",
97  "unknown-trailer-field",
107  0, /* Use generic outmost tag fetcher */
110  /sizeof(asn_DEF_unknown_trailer_field_tags_6[0]) - 1, /* 1 */
111  asn_DEF_unknown_trailer_field_tags_6, /* Same as above */
113  /sizeof(asn_DEF_unknown_trailer_field_tags_6[0]), /* 2 */
114  0, /* No PER visible constraints */
116  1, /* Elements count */
117  &asn_SPC_unknown_trailer_field_specs_6 /* Additional specs */
118 };
119 
121  { ATF_NOFLAGS, 0, offsetof(struct trailer_field, choice.signature_trailer_field),
122  (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
123  0,
125  0, /* Defer constraints checking to the member type */
126  0, /* No PER visible constraints */
127  0,
128  "signature-trailer-field"
129  },
130  { ATF_NOFLAGS, 0, offsetof(struct trailer_field, choice.unknown_trailer_field),
131  (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
132  0,
134  0, /* Defer constraints checking to the member type */
135  0, /* No PER visible constraints */
136  0,
137  "unknown-trailer-field"
138  },
139 };
141  { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* signature-trailer-field */
142  { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* unknown-trailer-field */
143 };
145  sizeof(struct trailer_field),
146  offsetof(struct trailer_field, _asn_ctx),
147  offsetof(struct trailer_field, present),
148  sizeof(((struct trailer_field *)0)->present),
150  2, /* Count of tags in the map */
151  0,
152  -1 /* Extensions start */
153 };
154 static /* Use -fall-defs-global to expose */
156  "trailer-field",
157  "trailer-field",
158  CHOICE_free,
159  CHOICE_print,
168  0, /* No effective tags (pointer) */
169  0, /* No effective tags (count) */
170  0, /* No tags (pointer) */
171  0, /* No tags (count) */
172  &asn_PER_type_trailer_field_constr_3,
174  2, /* Elements count */
175  &asn_SPC_trailer_field_specs_3 /* Additional specs */
176 };
177 
179  { ATF_NOFLAGS, 0, offsetof(struct TrailerField, type),
180  (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
181  -1, /* IMPLICIT tag at current level */
183  0, /* Defer constraints checking to the member type */
184  0, /* No PER visible constraints */
185  0,
186  "type"
187  },
188  { ATF_NOFLAGS, 0, offsetof(struct TrailerField, trailer_field),
189  (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
190  +1, /* EXPLICIT tag at current level */
192  0, /* Defer constraints checking to the member type */
193  0, /* No PER visible constraints */
194  0,
195  "trailer-field"
196  },
197 };
199  (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
200 };
202  { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* type */
203  { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* trailer-field */
204 };
206  sizeof(struct TrailerField),
207  offsetof(struct TrailerField, _asn_ctx),
209  2, /* Count of tags in the map */
210  0, 0, 0, /* Optional elements (not needed) */
211  -1, /* Start extensions */
212  -1 /* Stop extensions */
213 };
215  "TrailerField",
216  "TrailerField",
226  0, /* Use generic outmost tag fetcher */
229  /sizeof(asn_DEF_TrailerField_tags_1[0]), /* 1 */
230  asn_DEF_TrailerField_tags_1, /* Same as above */
232  /sizeof(asn_DEF_TrailerField_tags_1[0]), /* 1 */
233  0, /* No PER visible constraints */
235  2, /* Elements count */
236  &asn_SPC_TrailerField_specs_1 /* Additional specs */
237 };
238 
static asn_TYPE_tag2member_t asn_MAP_trailer_field_tag2el_3[]
Definition: TrailerField.c:140
static asn_SEQUENCE_specifics_t asn_SPC_signature_trailer_field_specs_4
Definition: TrailerField.c:32
static asn_SEQUENCE_specifics_t asn_SPC_TrailerField_specs_1
Definition: TrailerField.c:205
#define offsetof(s, m)
Definition: asn_system.h:115
static asn_TYPE_tag2member_t asn_MAP_TrailerField_tag2el_1[]
Definition: TrailerField.c:201
asn_struct_print_f CHOICE_print
Definition: constr_CHOICE.h:43
ber_type_decoder_f SEQUENCE_decode_ber
der_type_encoder_f SEQUENCE_encode_der
asn_constr_check_f CHOICE_constraint
Definition: constr_CHOICE.h:44
static asn_TYPE_member_t asn_MBR_signature_trailer_field_4[]
Definition: TrailerField.c:14
static ber_tlv_tag_t asn_DEF_TrailerField_tags_1[]
Definition: TrailerField.c:198
static asn_per_constraints_t asn_PER_type_trailer_field_constr_3 GCC_NOTUSED
Definition: TrailerField.c:9
ber_type_decoder_f CHOICE_decode_ber
Definition: constr_CHOICE.h:45
asn_struct_print_f SEQUENCE_print
per_type_decoder_f SEQUENCE_decode_uper
per_type_encoder_f SEQUENCE_encode_uper
asn_constr_check_f SEQUENCE_constraint
asn_TYPE_descriptor_t asn_DEF_Opaque
Definition: Opaque.c:45
xer_type_decoder_f SEQUENCE_decode_xer
asn_struct_ctx_t _asn_ctx
Definition: TrailerField.h:56
der_type_encoder_f CHOICE_encode_der
Definition: constr_CHOICE.h:46
per_type_decoder_f CHOICE_decode_uper
Definition: constr_CHOICE.h:49
asn_struct_free_f SEQUENCE_free
asn_TYPE_descriptor_t asn_DEF_Signature
Definition: Signature.c:214
static asn_CHOICE_specifics_t asn_SPC_trailer_field_specs_3
Definition: TrailerField.c:144
asn_TYPE_descriptor_t asn_DEF_TrailerFieldType
static asn_TYPE_tag2member_t asn_MAP_unknown_trailer_field_tag2el_6[]
Definition: TrailerField.c:82
static ber_tlv_tag_t asn_DEF_signature_trailer_field_tags_4[]
Definition: TrailerField.c:25
xer_type_encoder_f CHOICE_encode_xer
Definition: constr_CHOICE.h:48
asn_TYPE_descriptor_t asn_DEF_TrailerField
Definition: TrailerField.c:214
xer_type_decoder_f CHOICE_decode_xer
Definition: constr_CHOICE.h:47
static asn_TYPE_member_t asn_MBR_trailer_field_3[]
Definition: TrailerField.c:120
per_type_encoder_f CHOICE_encode_uper
Definition: constr_CHOICE.h:50
asn_outmost_tag_f CHOICE_outmost_tag
Definition: constr_CHOICE.h:51
xer_type_encoder_f SEQUENCE_encode_xer
static asn_TYPE_member_t asn_MBR_TrailerField_1[]
Definition: TrailerField.c:178
static asn_TYPE_descriptor_t asn_DEF_signature_trailer_field_4
Definition: TrailerField.c:42
static asn_TYPE_descriptor_t asn_DEF_unknown_trailer_field_6
Definition: TrailerField.c:95
static asn_SEQUENCE_specifics_t asn_SPC_unknown_trailer_field_specs_6
Definition: TrailerField.c:85
static asn_TYPE_tag2member_t asn_MAP_signature_trailer_field_tag2el_4[]
Definition: TrailerField.c:29
static asn_TYPE_member_t asn_MBR_unknown_trailer_field_6[]
Definition: TrailerField.c:67
static ber_tlv_tag_t asn_DEF_unknown_trailer_field_tags_6[]
Definition: TrailerField.c:78
static asn_TYPE_descriptor_t asn_DEF_trailer_field_3
Definition: TrailerField.c:155
unsigned ber_tlv_tag_t
Definition: ber_tlv_tag.h:18
asn_struct_free_f CHOICE_free
Definition: constr_CHOICE.h:42