2 * Generated by asn1c-0.9.27 (http://lionet.info/asn1c)
3 * From ASN.1 module "GssapiSessionModule"
4 * found in "session.asn1"
5 * `asn1c -fskeletons-copy`
8 #include "GSSSessionData.h"
10 static asn_TYPE_member_t asn_MBR_GSSSessionData_1[] = {
11 { ATF_NOFLAGS, 0, offsetof(struct GSSSessionData, established),
12 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
13 +1, /* EXPLICIT tag at current level */
15 0, /* Defer constraints checking to the member type */
16 0, /* PER is not compiled, use -gen-PER */
20 { ATF_NOFLAGS, 0, offsetof(struct GSSSessionData, delegated),
21 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
22 +1, /* EXPLICIT tag at current level */
24 0, /* Defer constraints checking to the member type */
25 0, /* PER is not compiled, use -gen-PER */
29 { ATF_NOFLAGS, 0, offsetof(struct GSSSessionData, expiration),
30 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
31 +1, /* EXPLICIT tag at current level */
33 0, /* Defer constraints checking to the member type */
34 0, /* PER is not compiled, use -gen-PER */
38 { ATF_NOFLAGS, 0, offsetof(struct GSSSessionData, username),
39 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
40 +1, /* EXPLICIT tag at current level */
41 &asn_DEF_OCTET_STRING,
42 0, /* Defer constraints checking to the member type */
43 0, /* PER is not compiled, use -gen-PER */
47 { ATF_NOFLAGS, 0, offsetof(struct GSSSessionData, gssname),
48 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
49 +1, /* EXPLICIT tag at current level */
50 &asn_DEF_OCTET_STRING,
51 0, /* Defer constraints checking to the member type */
52 0, /* PER is not compiled, use -gen-PER */
56 { ATF_NOFLAGS, 0, offsetof(struct GSSSessionData, basichash),
57 (ASN_TAG_CLASS_CONTEXT | (5 << 2)),
58 +1, /* EXPLICIT tag at current level */
59 &asn_DEF_OCTET_STRING,
60 0, /* Defer constraints checking to the member type */
61 0, /* PER is not compiled, use -gen-PER */
66 static ber_tlv_tag_t asn_DEF_GSSSessionData_tags_1[] = {
67 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
69 static asn_TYPE_tag2member_t asn_MAP_GSSSessionData_tag2el_1[] = {
70 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* established */
71 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* delegated */
72 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* expiration */
73 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* username */
74 { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* gssname */
75 { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 } /* basichash */
77 static asn_SEQUENCE_specifics_t asn_SPC_GSSSessionData_specs_1 = {
78 sizeof(struct GSSSessionData),
79 offsetof(struct GSSSessionData, _asn_ctx),
80 asn_MAP_GSSSessionData_tag2el_1,
81 6, /* Count of tags in the map */
82 0, 0, 0, /* Optional elements (not needed) */
83 -1, /* Start extensions */
84 -1 /* Stop extensions */
86 asn_TYPE_descriptor_t asn_DEF_GSSSessionData = {
96 0, 0, /* No PER support, use "-gen-PER" to enable */
97 0, /* Use generic outmost tag fetcher */
98 asn_DEF_GSSSessionData_tags_1,
99 sizeof(asn_DEF_GSSSessionData_tags_1)
100 /sizeof(asn_DEF_GSSSessionData_tags_1[0]), /* 1 */
101 asn_DEF_GSSSessionData_tags_1, /* Same as above */
102 sizeof(asn_DEF_GSSSessionData_tags_1)
103 /sizeof(asn_DEF_GSSSessionData_tags_1[0]), /* 1 */
104 0, /* No PER visible constraints */
105 asn_MBR_GSSSessionData_1,
106 6, /* Elements count */
107 &asn_SPC_GSSSessionData_specs_1 /* Additional specs */