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 #ifndef	_SignerIdentifier_H_
9 #define	_SignerIdentifier_H_
10 
11 
12 #include "asn1/asn1c/asn_application.h"
13 
14 /* Including external dependencies */
15 #include "IssuerAndSerialNumber.h"
16 #include "CMSSubjectKeyIdentifier.h"
17 #include "asn1/asn1c/constr_CHOICE.h"
18 
19 #ifdef __cplusplus
20 extern "C" {
21 #endif
22 
23 /* Dependencies */
24 typedef enum SignerIdentifier_PR {
25 	SignerIdentifier_PR_NOTHING,	/* No components present */
26 	SignerIdentifier_PR_issuerAndSerialNumber,
27 	SignerIdentifier_PR_subjectKeyIdentifier
28 } SignerIdentifier_PR;
29 
30 /* SignerIdentifier */
31 typedef struct SignerIdentifier {
32 	SignerIdentifier_PR present;
33 	union SignerIdentifier_u {
34 		IssuerAndSerialNumber_t	 issuerAndSerialNumber;
35 		CMSSubjectKeyIdentifier_t	 subjectKeyIdentifier;
36 	} choice;
37 
38 	/* Context for parsing across buffer boundaries */
39 	asn_struct_ctx_t _asn_ctx;
40 } SignerIdentifier_t;
41 
42 /* Implementation */
43 extern asn_TYPE_descriptor_t asn_DEF_SignerIdentifier;
44 extern asn_CHOICE_specifics_t asn_SPC_SignerIdentifier_specs_1;
45 extern asn_TYPE_member_t asn_MBR_SignerIdentifier_1[2];
46 
47 #ifdef __cplusplus
48 }
49 #endif
50 
51 #endif	/* _SignerIdentifier_H_ */
52 #include "asn1/asn1c/asn_internal.h"
53