Application1.c 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. /*
  2. * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
  3. * From ASN.1 module "Passport"
  4. * found in "eMRTD.asn1"
  5. * `asn1c -D ./lib/asn1 -no-gen-example -pdu=all`
  6. */
  7. #include "Application1.h"
  8. static asn_TYPE_member_t asn_MBR_Application1_1[] = {
  9. { ATF_NOFLAGS, 0, offsetof(struct Application1, mrz),
  10. (ASN_TAG_CLASS_APPLICATION | (31 << 2)),
  11. 0,
  12. &asn_DEF_MRZ,
  13. 0,
  14. { 0, 0, 0 },
  15. 0, 0, /* No default value */
  16. "mrz"
  17. },
  18. };
  19. static const ber_tlv_tag_t asn_DEF_Application1_tags_1[] = {
  20. (ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
  21. };
  22. static const asn_TYPE_tag2member_t asn_MAP_Application1_tag2el_1[] = {
  23. { (ASN_TAG_CLASS_APPLICATION | (31 << 2)), 0, 0, 0 } /* mrz */
  24. };
  25. static const uint8_t asn_MAP_Application1_mmap_1[(1 + (8 * sizeof(unsigned int)) - 1) / 8] = {
  26. (1 << 7)
  27. };
  28. static
  29. asn_SET_specifics_t asn_SPC_Application1_specs_1 = {
  30. sizeof(struct Application1),
  31. offsetof(struct Application1, _asn_ctx),
  32. offsetof(struct Application1, _presence_map),
  33. asn_MAP_Application1_tag2el_1,
  34. 1, /* Count of tags in the map */
  35. asn_MAP_Application1_tag2el_1, /* Same as above */
  36. 1, /* Count of tags in the CXER map */
  37. 0, /* Whether extensible */
  38. (const unsigned int *)asn_MAP_Application1_mmap_1 /* Mandatory elements map */
  39. };
  40. asn_TYPE_descriptor_t asn_DEF_Application1 = {
  41. "Application1",
  42. "Application1",
  43. &asn_OP_SET,
  44. asn_DEF_Application1_tags_1,
  45. sizeof(asn_DEF_Application1_tags_1)
  46. /sizeof(asn_DEF_Application1_tags_1[0]), /* 1 */
  47. asn_DEF_Application1_tags_1, /* Same as above */
  48. sizeof(asn_DEF_Application1_tags_1)
  49. /sizeof(asn_DEF_Application1_tags_1[0]), /* 1 */
  50. { 0, 0, SET_constraint },
  51. asn_MBR_Application1_1,
  52. 1, /* Elements count */
  53. &asn_SPC_Application1_specs_1 /* Additional specs */
  54. };