Part of samba.gensec View In Hierarchy
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) |