s.g.Security : class documentation

Part of samba.gensec View In Hierarchy

No class docstring
Method start_mech_by_sasl_name S.start_mech_by_sasl_name(name)
Method session_info S.session_info() -> info
Method want_feature S.want_feature(feature) Request that GENSEC negotiate a particular feature.
Method get_name_by_authtype S.get_name_by_authtype(authtype) -> name Lookup an auth type.
Method set_credentials S.start_client(credentials)
Method update S.update(blob_in) -> (finished, blob_out) Perform one step in a GENSEC dance. Repeat with new packets until finished is true or exception.
Method unwrap S.unwrap(blob_in) -> blob_out Perform one wrapped GENSEC packet into a clear packet.
Method start_mech_by_name S.start_mech_by_name(name)
Method max_update_size S.max_update_size() Return the current max_update_size.
Method have_feature S.have_feature() Return True if GENSEC negotiated a particular feature.
Method wrap S.wrap(blob_in) -> blob_out Package one clear packet into a wrapped GENSEC packet.
Method set_max_update_size S.set_max_update_size(max_size) Some mechs can fragment update packets, needs to be use before the mech is started.
Method session_key S.session_key() -> key
Method start_mech_by_authtype S.start_mech_by_authtype(authtype, level)
def start_mech_by_sasl_name():
S.start_mech_by_sasl_name(name)
def session_info():
S.session_info() -> info
def want_feature():
S.want_feature(feature) Request that GENSEC negotiate a particular feature.
def get_name_by_authtype():
S.get_name_by_authtype(authtype) -> name Lookup an auth type.
def set_credentials():
S.start_client(credentials)
def update():
S.update(blob_in) -> (finished, blob_out) Perform one step in a GENSEC dance. Repeat with new packets until finished is true or exception.
def unwrap():
S.unwrap(blob_in) -> blob_out Perform one wrapped GENSEC packet into a clear packet.
def start_mech_by_name():
S.start_mech_by_name(name)
def max_update_size():
S.max_update_size() Return the current max_update_size.
def have_feature():
S.have_feature() Return True if GENSEC negotiated a particular feature.
def wrap():
S.wrap(blob_in) -> blob_out Package one clear packet into a wrapped GENSEC packet.
def set_max_update_size():
S.set_max_update_size(max_size) Some mechs can fragment update packets, needs to be use before the mech is started.
def session_key():
S.session_key() -> key
def start_mech_by_authtype():
S.start_mech_by_authtype(authtype, level)
API Documentation for Samba, generated by pydoctor at 2012-03-06 23:17:58.