1 /* 2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) 3 * From ASN.1 module "CryptographicMessageSyntax2004" 4 * found in "rfc5652-12.1.asn1" 5 * `asn1c -Werror -fcompound-names -fwide-types -D asn1/asn1c -no-gen-PER -no-gen-example` 6 */ 7 8 #include "SignerIdentifier.h" 9 10 static asn_oer_constraints_t asn_OER_type_SignerIdentifier_constr_1 CC_NOTUSED = { 11 { 0, 0 }, 12 -1}; 13 asn_TYPE_member_t asn_MBR_SignerIdentifier_1[] = { 14 { ATF_NOFLAGS, 0, offsetof(struct SignerIdentifier, choice.issuerAndSerialNumber), 15 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 16 0, 17 &asn_DEF_IssuerAndSerialNumber, 18 0, 19 { 0, 0, 0 }, 20 0, 0, /* No default value */ 21 "issuerAndSerialNumber" 22 }, 23 { ATF_NOFLAGS, 0, offsetof(struct SignerIdentifier, choice.subjectKeyIdentifier), 24 (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 25 -1, /* IMPLICIT tag at current level */ 26 &asn_DEF_CMSSubjectKeyIdentifier, 27 0, 28 { 0, 0, 0 }, 29 0, 0, /* No default value */ 30 "subjectKeyIdentifier" 31 }, 32 }; 33 static const asn_TYPE_tag2member_t asn_MAP_SignerIdentifier_tag2el_1[] = { 34 { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 0 }, /* issuerAndSerialNumber */ 35 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 } /* subjectKeyIdentifier */ 36 }; 37 asn_CHOICE_specifics_t asn_SPC_SignerIdentifier_specs_1 = { 38 sizeof(struct SignerIdentifier), 39 offsetof(struct SignerIdentifier, _asn_ctx), 40 offsetof(struct SignerIdentifier, present), 41 sizeof(((struct SignerIdentifier *)0)->present), 42 asn_MAP_SignerIdentifier_tag2el_1, 43 2, /* Count of tags in the map */ 44 0, 0, 45 -1 /* Extensions start */ 46 }; 47 asn_TYPE_descriptor_t asn_DEF_SignerIdentifier = { 48 "SignerIdentifier", 49 "SignerIdentifier", 50 &asn_OP_CHOICE, 51 0, /* No effective tags (pointer) */ 52 0, /* No effective tags (count) */ 53 0, /* No tags (pointer) */ 54 0, /* No tags (count) */ 55 { &asn_OER_type_SignerIdentifier_constr_1, 0, CHOICE_constraint }, 56 asn_MBR_SignerIdentifier_1, 57 2, /* Elements count */ 58 &asn_SPC_SignerIdentifier_specs_1 /* Additional specs */ 59 }; 60 61