/* * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) * From ASN.1 module "PKIX1Explicit88" * found in "../../../asn1/PKIX1Explicit88.asn" * `asn1c -fcompound-names -no-gen-example` */ #include "Validity.h" asn_TYPE_member_t asn_MBR_Validity_1[] = { { ATF_NOFLAGS, 0, offsetof(struct Validity, notBefore), -1 /* Ambiguous tag (CHOICE?) */, 0, &asn_DEF_Time, 0, { 0, 0, 0 }, 0, 0, /* No default value */ "notBefore" }, { ATF_NOFLAGS, 0, offsetof(struct Validity, notAfter), -1 /* Ambiguous tag (CHOICE?) */, 0, &asn_DEF_Time, 0, { 0, 0, 0 }, 0, 0, /* No default value */ "notAfter" }, }; static const ber_tlv_tag_t asn_DEF_Validity_tags_1[] = { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) }; static const asn_TYPE_tag2member_t asn_MAP_Validity_tag2el_1[] = { { (ASN_TAG_CLASS_UNIVERSAL | (23 << 2)), 0, 0, 1 }, /* utcTime */ { (ASN_TAG_CLASS_UNIVERSAL | (23 << 2)), 1, -1, 0 }, /* utcTime */ { (ASN_TAG_CLASS_UNIVERSAL | (24 << 2)), 0, 0, 1 }, /* generalTime */ { (ASN_TAG_CLASS_UNIVERSAL | (24 << 2)), 1, -1, 0 } /* generalTime */ }; asn_SEQUENCE_specifics_t asn_SPC_Validity_specs_1 = { sizeof(struct Validity), offsetof(struct Validity, _asn_ctx), asn_MAP_Validity_tag2el_1, 4, /* Count of tags in the map */ 0, 0, 0, /* Optional elements (not needed) */ -1, /* First extension addition */ }; asn_TYPE_descriptor_t asn_DEF_Validity = { "Validity", "Validity", &asn_OP_SEQUENCE, asn_DEF_Validity_tags_1, sizeof(asn_DEF_Validity_tags_1) /sizeof(asn_DEF_Validity_tags_1[0]), /* 1 */ asn_DEF_Validity_tags_1, /* Same as above */ sizeof(asn_DEF_Validity_tags_1) /sizeof(asn_DEF_Validity_tags_1[0]), /* 1 */ { 0, 0, SEQUENCE_constraint }, asn_MBR_Validity_1, 2, /* Elements count */ &asn_SPC_Validity_specs_1 /* Additional specs */ };