1 /* 2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) 3 * From ASN.1 module "PKIX1Explicit88" 4 * found in "rfc5280-a.1.asn1" 5 * `asn1c -Werror -fcompound-names -fwide-types -D asn1/asn1c -no-gen-PER -no-gen-example` 6 */ 7 8 #include "AttributeTypeAndValue.h" 9 10 asn_TYPE_member_t asn_MBR_AttributeTypeAndValue_1[] = { 11 { ATF_NOFLAGS, 0, offsetof(struct AttributeTypeAndValue, type), 12 (ASN_TAG_CLASS_UNIVERSAL | (6 << 2)), 13 0, 14 &asn_DEF_AttributeType, 15 0, 16 { 0, 0, 0 }, 17 0, 0, /* No default value */ 18 "type" 19 }, 20 { ATF_ANY_TYPE | ATF_NOFLAGS, 0, offsetof(struct AttributeTypeAndValue, value), 21 -1 /* Ambiguous tag (ANY?) */, 22 0, 23 &asn_DEF_AttributeValue, 24 0, 25 { 0, 0, 0 }, 26 0, 0, /* No default value */ 27 "value" 28 }, 29 }; 30 static const ber_tlv_tag_t asn_DEF_AttributeTypeAndValue_tags_1[] = { 31 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) 32 }; 33 static const asn_TYPE_tag2member_t asn_MAP_AttributeTypeAndValue_tag2el_1[] = { 34 { (ASN_TAG_CLASS_UNIVERSAL | (6 << 2)), 0, 0, 0 } /* type */ 35 }; 36 asn_SEQUENCE_specifics_t asn_SPC_AttributeTypeAndValue_specs_1 = { 37 sizeof(struct AttributeTypeAndValue), 38 offsetof(struct AttributeTypeAndValue, _asn_ctx), 39 asn_MAP_AttributeTypeAndValue_tag2el_1, 40 1, /* Count of tags in the map */ 41 0, 0, 0, /* Optional elements (not needed) */ 42 -1, /* First extension addition */ 43 }; 44 asn_TYPE_descriptor_t asn_DEF_AttributeTypeAndValue = { 45 "AttributeTypeAndValue", 46 "AttributeTypeAndValue", 47 &asn_OP_SEQUENCE, 48 asn_DEF_AttributeTypeAndValue_tags_1, 49 sizeof(asn_DEF_AttributeTypeAndValue_tags_1) 50 /sizeof(asn_DEF_AttributeTypeAndValue_tags_1[0]), /* 1 */ 51 asn_DEF_AttributeTypeAndValue_tags_1, /* Same as above */ 52 sizeof(asn_DEF_AttributeTypeAndValue_tags_1) 53 /sizeof(asn_DEF_AttributeTypeAndValue_tags_1[0]), /* 1 */ 54 { 0, 0, SEQUENCE_constraint }, 55 asn_MBR_AttributeTypeAndValue_1, 56 2, /* Elements count */ 57 &asn_SPC_AttributeTypeAndValue_specs_1 /* Additional specs */ 58 }; 59 60