1GSS(3) gss 3.0 GSS(3)
2
3
4
6 packet.application.gss - GSS module
7
9 Decode GSS layers.
10
11 RFC 2203 RPCSEC_GSS Protocol Specification RFC 5403 RPCSEC_GSS Version
12 2 RFC 7861 RPCSEC_GSS Version 3 RFC 1964 The Kerberos Version 5 GSS-API
13 Mechanism
14
15 NOTE:
16 Procedure RPCSEC_GSS_BIND_CHANNEL is not supported
17
19 class GSS(baseobj.BaseObj)
20 GSS Data object
21
22 This is a base object and should not be instantiated.
23 It gives the following methods:
24 # Decode data preceding the RPC payload when flavor is RPCSEC_GSS
25 x.decode_gss_data()
26
27 # Decode data following the RPC payload when flavor is RPCSEC_GSS
28 x.decode_gss_checksum()
29
30
31 Methods defined here:
32 ---------------------
33
34 decode_gss_checksum(self)
35 Decode GSS checksum
36
37 decode_gss_data(self)
38 Decode GSS data
39
40 class GSS_API(baseobj.BaseObj)
41 GSS-API DEFINITIONS ::=
42
43 BEGIN
44
45 MechType ::= OBJECT IDENTIFIER
46 -- representing Kerberos V5 mechanism
47
48 GSSAPI-Token ::=
49 -- option indication (delegation, etc.) indicated within
50 -- mechanism-specific token
51 [APPLICATION 0] IMPLICIT SEQUENCE {
52 thisMech MechType,
53 innerToken ANY DEFINED BY thisMech
54 -- contents mechanism-specific
55 -- ASN.1 structure not required
56 }
57
58 END
59
60
61 Methods defined here:
62 ---------------------
63
64 __bool__(self)
65 Truth value testing for the built-in operation bool()
66
67 __init__(self, data)
68 Constructor
69
70 Initialize object's private data according to the arguments given.
71 Arguments can be given as positional, named arguments or a
72 combination of both.
73
74 class GetCfxMIC(baseobj.BaseObj)
75 struct GSS_GetCfxMIC {
76 unsigned char flags; /* Attributes field */
77 opaque filler[5]; /* Filler bytes: 0xffffffffff */
78 unsigned long long snd_seq; /* Sequence number field */
79 unsigned char sgn_cksum[]; /* Checksum of "to-be-signed data" */
80 };
81
82
83 Methods defined here:
84 ---------------------
85
86 __init__(self, unpack)
87 Constructor
88
89 Initialize object's private data according to the arguments given.
90 Arguments can be given as positional, named arguments or a
91 combination of both.
92
93 class GetMIC(baseobj.BaseObj)
94 struct GSS_GetMIC {
95 unsigned short sgn_alg; /* Integrity algorithm indicator */
96 opaque filler[4]; /* Filler bytes: 0xffffffff */
97 unsigned long long snd_seq; /* Sequence number field */
98 opaque sgn_cksum[8]; /* Checksum of "to-be-signed data" */
99 };
100
101
102 Methods defined here:
103 ---------------------
104
105 __init__(self, unpack)
106 Constructor
107
108 Initialize object's private data according to the arguments given.
109 Arguments can be given as positional, named arguments or a
110 combination of both.
111
112 class gss_major_status(packet.utils.Enum)
113 enum gss_major_status
114
115
116 class gss_minor_status(packet.utils.Enum)
117 enum gss_minor_status
118
119
120 class gss_sgn_alg(packet.utils.Enum)
121 enum gss_sgn_alg
122
123
124 class rgss3_assertion_type(packet.utils.Enum)
125 enum rgss3_assertion_type
126
127
128 class rgss3_assertion_u(baseobj.BaseObj)
129 union switch rgss3_assertion_u (rgss3_assertion_type atype) {
130 case const.LABEL:
131 rgss3_label label;
132 case const.PRIVS:
133 rgss3_privs privs;
134 default:
135 opaque ext<>;
136 };
137
138
139 Methods defined here:
140 ---------------------
141
142 __init__(self, unpack)
143 Constructor
144
145 Initialize object's private data according to the arguments given.
146 Arguments can be given as positional, named arguments or a
147 combination of both.
148
149 class rgss3_create_args(baseobj.BaseObj)
150 struct rgss3_create_args {
151 rgss3_gss_mp_auth auth<1>;
152 rgss3_chan_binding mic<1>;
153 rgss3_assertion_u assertions<>;
154 };
155
156
157 Methods defined here:
158 ---------------------
159
160 __init__(self, unpack)
161 Constructor
162
163 Initialize object's private data according to the arguments given.
164 Arguments can be given as positional, named arguments or a
165 combination of both.
166
167 class rgss3_create_res(baseobj.BaseObj)
168 struct rgss3_create_res {
169 opaque context<>;
170 rgss3_gss_mp_auth auth<1>;
171 rgss3_chan_binding mic<1>;
172 rgss3_assertion_u assertions<>;
173 };
174
175
176 Methods defined here:
177 ---------------------
178
179 __init__(self, unpack)
180 Constructor
181
182 Initialize object's private data according to the arguments given.
183 Arguments can be given as positional, named arguments or a
184 combination of both.
185
186 class rgss3_gss_mp_auth(baseobj.BaseObj)
187 struct rgss3_gss_mp_auth {
188 opaque context<>; /* Inner handle */
189 opaque mic<>;
190 };
191
192
193 Methods defined here:
194 ---------------------
195
196 __init__(self, unpack)
197 Constructor
198
199 Initialize object's private data according to the arguments given.
200 Arguments can be given as positional, named arguments or a
201 combination of both.
202
203 class rgss3_label(baseobj.BaseObj)
204 struct rgss3_label {
205 rgss3_lfs lfs;
206 opaque label<>;
207 };
208
209
210 Methods defined here:
211 ---------------------
212
213 __init__(self, unpack)
214 Constructor
215
216 Initialize object's private data according to the arguments given.
217 Arguments can be given as positional, named arguments or a
218 combination of both.
219
220 class rgss3_lfs(baseobj.BaseObj)
221 struct rgss3_lfs {
222 unsigned int lfs_id;
223 unsigned int pi_id;
224 };
225
226
227 Methods defined here:
228 ---------------------
229
230 __init__(self, unpack)
231 Constructor
232
233 Initialize object's private data according to the arguments given.
234 Arguments can be given as positional, named arguments or a
235 combination of both.
236
237 class rgss3_list_args(baseobj.BaseObj)
238 struct rgss3_list_args {
239 rgss3_list_item items<>;
240 };
241
242
243 Methods defined here:
244 ---------------------
245
246 __init__(self, unpack)
247 Constructor
248
249 Initialize object's private data according to the arguments given.
250 Arguments can be given as positional, named arguments or a
251 combination of both.
252
253 class rgss3_list_item(rgss3_assertion_type)
254 enum rgss3_assertion_type
255
256
257 class rgss3_list_item_u(baseobj.BaseObj)
258 union switch rgss3_list_item_u (rgss3_list_item itype) {
259 case const.LABEL:
260 rgss3_label labels<>;
261 case const.PRIVS:
262 rgss3_privs privs<>;
263 default:
264 opaque ext<>;
265 };
266
267
268 Methods defined here:
269 ---------------------
270
271 __init__(self, unpack)
272 Constructor
273
274 Initialize object's private data according to the arguments given.
275 Arguments can be given as positional, named arguments or a
276 combination of both.
277
278 class rgss3_list_res(baseobj.BaseObj)
279 struct rgss3_list_res {
280 rgss3_list_item_u items<>;
281 };
282
283
284 Methods defined here:
285 ---------------------
286
287 __init__(self, unpack)
288 Constructor
289
290 Initialize object's private data according to the arguments given.
291 Arguments can be given as positional, named arguments or a
292 combination of both.
293
294 class rgss3_privs(baseobj.BaseObj)
295 struct rgss3_privs {
296 utf8str_cs name;
297 opaque privilege<>;
298 };
299
300
301 Methods defined here:
302 ---------------------
303
304 __init__(self, unpack)
305 Constructor
306
307 Initialize object's private data according to the arguments given.
308 Arguments can be given as positional, named arguments or a
309 combination of both.
310
311 class rgss_checksum(rgss_init_arg)
312 struct rpc_gss_init_arg {
313 opaque token<>;
314 };
315
316
317 class rgss_data(baseobj.BaseObj)
318 struct rgss_data {
319 unsigned int length;
320 unsigned int seq_num;
321 };
322
323
324 Methods defined here:
325 ---------------------
326
327 __init__(self, unpack)
328 Constructor
329
330 Initialize object's private data according to the arguments given.
331 Arguments can be given as positional, named arguments or a
332 combination of both.
333
334 class rgss_init_arg(baseobj.BaseObj)
335 struct rpc_gss_init_arg {
336 opaque token<>;
337 };
338
339
340 Methods defined here:
341 ---------------------
342
343 __init__(self, unpack)
344 Constructor
345
346 Initialize object's private data according to the arguments given.
347 Arguments can be given as positional, named arguments or a
348 combination of both.
349
350 class rgss_init_res(baseobj.BaseObj)
351 struct rgss_init_res {
352 opaque context<>;
353 unsigned int major;
354 unsigned int minor;
355 unsigned int seq_window;
356 opaque token<>;
357 };
358
359
360 Methods defined here:
361 ---------------------
362
363 __init__(self, unpack)
364 Constructor
365
366 Initialize object's private data according to the arguments given.
367 Arguments can be given as positional, named arguments or a
368 combination of both.
369
370 class rgss_priv_data(baseobj.BaseObj)
371 struct rgss_priv_data {
372 opaque data<>;
373 };
374
375
376 Methods defined here:
377 ---------------------
378
379 __init__(self, unpack)
380 Constructor
381
382 Initialize object's private data according to the arguments given.
383 Arguments can be given as positional, named arguments or a
384 combination of both.
385
387 baseobj(3), packet.application.gss_const(3), packet.applica‐
388 tion.krb5(3), packet.application.rpc_const(3), packet.derunpack(3),
389 packet.unpack(3), packet.utils(3)
390
391
393 No known bugs.
394
396 Jorge Mora (mora@netapp.com)
397
398
399
400NFStest 3.2 21 March 2023 GSS(3)