packet.application.gss man page

packet.application.gss — GSS module

Description

Decode GSS layers.

RFC 2203 RPCSEC_GSS Protocol Specification RFC 1964 The Kerberos Version 5 GSS-API Mechanism

NOTE:
 Only procedures RPCSEC_GSS_INIT and RPCSEC_GSS_DATA are supported

Classes

class GSS(baseobj.BaseObj)

GSS Data object

This is a base object and should not be instantiated.
It gives the following methods:
    # Decode data preceding the RPC payload when flavor is RPCSEC_GSS
    x.decode_gss_data()

    # Decode data following the RPC payload when flavor is RPCSEC_GSS
    x.decode_gss_checksum()


Methods defined here:
---------------------

decode_gss_checksum(self)
Decode GSS checksum

decode_gss_data(self)
Decode GSS data

class GSS_API(baseobj.BaseObj)

GSS-API DEFINITIONS ::=

BEGIN

MechType ::= OBJECT IDENTIFIER
-- representing Kerberos V5 mechanism

GSSAPI-Token ::=
-- option indication (delegation, etc.) indicated within
-- mechanism-specific token
[APPLICATION 0] IMPLICIT SEQUENCE {
        thisMech MechType,
        innerToken ANY DEFINED BY thisMech
           -- contents mechanism-specific
           -- ASN.1 structure not required
        }

END


Methods defined here:
---------------------

__init__(self, data)

__nonzero__(self)
Truth value testing for the built-in operation bool()

class GSS_data(baseobj.BaseObj)

struct rpc_gss_data_t {
    unsigned int    seq_num;
    proc_req_arg_t  arg;
};


Methods defined here:
---------------------

__init__(self, unpack)

class GSS_init_arg(baseobj.BaseObj)

struct rpc_gss_init_arg {
    opaque  gss_token<>;
};


Methods defined here:
---------------------

__init__(self, unpack)

class GSS_init_res(baseobj.BaseObj)

struct rpc_gss_init_res {
    opaque        handle<>;
    unsigned int  gss_major;
    unsigned int  gss_minor;
    unsigned int  seq_window;
    opaque        gss_token<>;
};


Methods defined here:
---------------------

__init__(self, unpack)

class GetMIC(baseobj.BaseObj)

struct GSS_GetMIC {
    unsigned short sgn_alg;      /* Integrity algorithm indicator */
    opaque         filler[4];    /* Filler bytes: 0xffffffff */
    opaque         snd_seq[8];   /* Sequence number field */
    opaque         sgn_cksum[8]; /* Checksum of "to-be-signed data" */
};


Methods defined here:
---------------------

__init__(self, unpack)

class gss_major_status(packet.utils.Enum)

enum gss_major_status

class gss_minor_status(packet.utils.Enum)

enum gss_minor_status

class gss_sgn_alg(packet.utils.Enum)

enum gss_sgn_alg

See Also

baseobj(3), packet.derunpack(3), packet.utils(3)

Bugs

No known bugs.

Author

Jorge Mora (mora@netapp.com)

Referenced By

packet.application.rpc(3).

14 February 2017 NFStest 2.1.5 gss 1.4