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 #ifndef _Time_H_ 9 #define _Time_H_ 10 11 12 #include "asn1/asn1c/asn_application.h" 13 14 /* Including external dependencies */ 15 #include "asn1/asn1c/UTCTime.h" 16 #include "asn1/asn1c/GeneralizedTime.h" 17 #include "asn1/asn1c/constr_CHOICE.h" 18 19 #ifdef __cplusplus 20 extern "C" { 21 #endif 22 23 /* Dependencies */ 24 typedef enum Time_PR { 25 Time_PR_NOTHING, /* No components present */ 26 Time_PR_utcTime, 27 Time_PR_generalTime 28 } Time_PR; 29 30 /* Time */ 31 typedef struct Time { 32 Time_PR present; 33 union Time_u { 34 UTCTime_t utcTime; 35 GeneralizedTime_t generalTime; 36 } choice; 37 38 /* Context for parsing across buffer boundaries */ 39 asn_struct_ctx_t _asn_ctx; 40 } Time_t; 41 42 /* Implementation */ 43 extern asn_TYPE_descriptor_t asn_DEF_Time; 44 extern asn_CHOICE_specifics_t asn_SPC_Time_specs_1; 45 extern asn_TYPE_member_t asn_MBR_Time_1[2]; 46 47 #ifdef __cplusplus 48 } 49 #endif 50 51 #endif /* _Time_H_ */ 52 #include "asn1/asn1c/asn_internal.h" 53