classGSS(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()
Methodsdefinedhere:
---------------------
decode_gss_checksum(self)
Decode GSS checksum
decode_gss_data(self)
Decode GSS data
classGSS_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
Methodsdefinedhere:
---------------------
__bool__(self)
Truth value testing for the built-in operation bool()
__init__(self,data)
Constructor
Initialize object's private data according to the arguments given.
Arguments can be given as positional, named arguments or a
combination of both.
classGetCfxMIC(baseobj.BaseObj)
struct GSS_GetCfxMIC {
unsigned char flags; /* Attributes field */
opaque filler[5]; /* Filler bytes: 0xffffffffff */
unsigned long long snd_seq; /* Sequence number field */
unsigned char sgn_cksum[]; /* Checksum of "to-be-signed data" */
};
Methodsdefinedhere:
---------------------
__init__(self,unpack)
Constructor
Initialize object's private data according to the arguments given.
Arguments can be given as positional, named arguments or a
combination of both.
classGetMIC(baseobj.BaseObj)
struct GSS_GetMIC {
unsigned short sgn_alg; /* Integrity algorithm indicator */
opaque filler[4]; /* Filler bytes: 0xffffffff */
unsigned long long snd_seq; /* Sequence number field */
opaque sgn_cksum[8]; /* Checksum of "to-be-signed data" */
};
Methodsdefinedhere:
---------------------
__init__(self,unpack)
Constructor
Initialize object's private data according to the arguments given.
Arguments can be given as positional, named arguments or a
combination of both.
classgss_major_status(packet.utils.Enum)
enum gss_major_status
classgss_minor_status(packet.utils.Enum)
enum gss_minor_status
classgss_sgn_alg(packet.utils.Enum)
enum gss_sgn_alg
classrgss3_assertion_type(packet.utils.Enum)
enum rgss3_assertion_type
classrgss3_assertion_u(baseobj.BaseObj)
union switch rgss3_assertion_u (rgss3_assertion_type atype) {
case const.LABEL:
rgss3_label label;
case const.PRIVS:
rgss3_privs privs;
default:
opaque ext<>;
};
Methodsdefinedhere:
---------------------
__init__(self,unpack)
Constructor
Initialize object's private data according to the arguments given.
Arguments can be given as positional, named arguments or a
combination of both.
classrgss3_create_args(baseobj.BaseObj)
struct rgss3_create_args {
rgss3_gss_mp_auth auth<1>;
rgss3_chan_binding mic<1>;
rgss3_assertion_u assertions<>;
};
Methodsdefinedhere:
---------------------
__init__(self,unpack)
Constructor
Initialize object's private data according to the arguments given.
Arguments can be given as positional, named arguments or a
combination of both.
classrgss3_create_res(baseobj.BaseObj)
struct rgss3_create_res {
opaque context<>;
rgss3_gss_mp_auth auth<1>;
rgss3_chan_binding mic<1>;
rgss3_assertion_u assertions<>;
};
Methodsdefinedhere:
---------------------
__init__(self,unpack)
Constructor
Initialize object's private data according to the arguments given.
Arguments can be given as positional, named arguments or a
combination of both.
classrgss3_gss_mp_auth(baseobj.BaseObj)
struct rgss3_gss_mp_auth {
opaque context<>; /* Inner handle */
opaque mic<>;
};
Methodsdefinedhere:
---------------------
__init__(self,unpack)
Constructor
Initialize object's private data according to the arguments given.
Arguments can be given as positional, named arguments or a
combination of both.
classrgss3_label(baseobj.BaseObj)
struct rgss3_label {
rgss3_lfs lfs;
opaque label<>;
};
Methodsdefinedhere:
---------------------
__init__(self,unpack)
Constructor
Initialize object's private data according to the arguments given.
Arguments can be given as positional, named arguments or a
combination of both.
classrgss3_lfs(baseobj.BaseObj)
struct rgss3_lfs {
unsigned int lfs_id;
unsigned int pi_id;
};
Methodsdefinedhere:
---------------------
__init__(self,unpack)
Constructor
Initialize object's private data according to the arguments given.
Arguments can be given as positional, named arguments or a
combination of both.
classrgss3_list_args(baseobj.BaseObj)
struct rgss3_list_args {
rgss3_list_item items<>;
};
Methodsdefinedhere:
---------------------
__init__(self,unpack)
Constructor
Initialize object's private data according to the arguments given.
Arguments can be given as positional, named arguments or a
combination of both.
classrgss3_list_item(rgss3_assertion_type)
enum rgss3_assertion_type
classrgss3_list_item_u(baseobj.BaseObj)
union switch rgss3_list_item_u (rgss3_list_item itype) {
case const.LABEL:
rgss3_label labels<>;
case const.PRIVS:
rgss3_privs privs<>;
default:
opaque ext<>;
};
Methodsdefinedhere:
---------------------
__init__(self,unpack)
Constructor
Initialize object's private data according to the arguments given.
Arguments can be given as positional, named arguments or a
combination of both.
classrgss3_list_res(baseobj.BaseObj)
struct rgss3_list_res {
rgss3_list_item_u items<>;
};
Methodsdefinedhere:
---------------------
__init__(self,unpack)
Constructor
Initialize object's private data according to the arguments given.
Arguments can be given as positional, named arguments or a
combination of both.
classrgss3_privs(baseobj.BaseObj)
struct rgss3_privs {
utf8str_cs name;
opaque privilege<>;
};
Methodsdefinedhere:
---------------------
__init__(self,unpack)
Constructor
Initialize object's private data according to the arguments given.
Arguments can be given as positional, named arguments or a
combination of both.
classrgss_checksum(rgss_init_arg)
struct rpc_gss_init_arg {
opaque token<>;
};
classrgss_data(baseobj.BaseObj)
struct rgss_data {
unsigned int length;
unsigned int seq_num;
};
Methodsdefinedhere:
---------------------
__init__(self,unpack)
Constructor
Initialize object's private data according to the arguments given.
Arguments can be given as positional, named arguments or a
combination of both.
classrgss_init_arg(baseobj.BaseObj)
struct rpc_gss_init_arg {
opaque token<>;
};
Methodsdefinedhere:
---------------------
__init__(self,unpack)
Constructor
Initialize object's private data according to the arguments given.
Arguments can be given as positional, named arguments or a
combination of both.
classrgss_init_res(baseobj.BaseObj)
struct rgss_init_res {
opaque context<>;
unsigned int major;
unsigned int minor;
unsigned int seq_window;
opaque token<>;
};
Methodsdefinedhere:
---------------------
__init__(self,unpack)
Constructor
Initialize object's private data according to the arguments given.
Arguments can be given as positional, named arguments or a
combination of both.
classrgss_priv_data(baseobj.BaseObj)
struct rgss_priv_data {
opaque data<>;
};
Methodsdefinedhere:
---------------------
__init__(self,unpack)
Constructor
Initialize object's private data according to the arguments given.
Arguments can be given as positional, named arguments or a
combination of both.