1GSS(3)                              gss 1.4                             GSS(3)
2
3
4

NAME

6       packet.application.gss - GSS module
7

DESCRIPTION

9       Decode GSS layers.
10
11       RFC  2203  RPCSEC_GSS Protocol Specification RFC 1964 The Kerberos Ver‐
12       sion 5 GSS-API Mechanism
13
14       NOTE:
15         Only procedures RPCSEC_GSS_INIT and RPCSEC_GSS_DATA are supported
16

CLASSES

18   class GSS(baseobj.BaseObj)
19       GSS Data object
20
21       This is a base object and should not be instantiated.
22       It gives the following methods:
23           # Decode data preceding the RPC payload when flavor is RPCSEC_GSS
24           x.decode_gss_data()
25
26           # Decode data following the RPC payload when flavor is RPCSEC_GSS
27           x.decode_gss_checksum()
28
29
30       Methods defined here:
31       ---------------------
32
33       decode_gss_checksum(self)
34       Decode GSS checksum
35
36       decode_gss_data(self)
37       Decode GSS data
38
39   class GSS_API(baseobj.BaseObj)
40       GSS-API DEFINITIONS ::=
41
42       BEGIN
43
44       MechType ::= OBJECT IDENTIFIER
45       -- representing Kerberos V5 mechanism
46
47       GSSAPI-Token ::=
48       -- option indication (delegation, etc.) indicated within
49       -- mechanism-specific token
50       [APPLICATION 0] IMPLICIT SEQUENCE {
51               thisMech MechType,
52               innerToken ANY DEFINED BY thisMech
53                  -- contents mechanism-specific
54                  -- ASN.1 structure not required
55               }
56
57       END
58
59
60       Methods defined here:
61       ---------------------
62
63       __init__(self, data)
64
65       __nonzero__(self)
66       Truth value testing for the built-in operation bool()
67
68   class GSS_data(baseobj.BaseObj)
69       struct rpc_gss_data_t {
70           unsigned int    seq_num;
71           proc_req_arg_t  arg;
72       };
73
74
75       Methods defined here:
76       ---------------------
77
78       __init__(self, unpack)
79
80   class GSS_init_arg(baseobj.BaseObj)
81       struct rpc_gss_init_arg {
82           opaque  gss_token<>;
83       };
84
85
86       Methods defined here:
87       ---------------------
88
89       __init__(self, unpack)
90
91   class GSS_init_res(baseobj.BaseObj)
92       struct rpc_gss_init_res {
93           opaque        handle<>;
94           unsigned int  gss_major;
95           unsigned int  gss_minor;
96           unsigned int  seq_window;
97           opaque        gss_token<>;
98       };
99
100
101       Methods defined here:
102       ---------------------
103
104       __init__(self, unpack)
105
106   class GetMIC(baseobj.BaseObj)
107       struct GSS_GetMIC {
108           unsigned short sgn_alg;      /* Integrity algorithm indicator */
109           opaque         filler[4];    /* Filler bytes: 0xffffffff */
110           opaque         snd_seq[8];   /* Sequence number field */
111           opaque         sgn_cksum[8]; /* Checksum of "to-be-signed data" */
112       };
113
114
115       Methods defined here:
116       ---------------------
117
118       __init__(self, unpack)
119
120   class gss_major_status(packet.utils.Enum)
121       enum gss_major_status
122
123
124   class gss_minor_status(packet.utils.Enum)
125       enum gss_minor_status
126
127
128   class gss_sgn_alg(packet.utils.Enum)
129       enum gss_sgn_alg
130
131

SEE ALSO

133       baseobj(3), packet.derunpack(3), packet.utils(3)
134
135

BUGS

137       No known bugs.
138

AUTHOR

140       Jorge Mora (mora@netapp.com)
141
142
143
144NFStest 2.1.5                  14 February 2017                         GSS(3)
Impressum