Class

HaslMechanism

unstable since: 1.0

Description

class Hasl.Mechanism : GObject.Object
{
  /* No available fields */
}
No description available.

Available since: 1.0

Ancestors

Instance methods

hasl_mechanism_possible

This is used by ctx to determine if it should even attempt mechanism.

unstable since: 1.0

hasl_mechanism_step

Tells mechanism to perform it’s next step. If mechanism is complete it should return TRUE. If the mechanism was not successfully, it should return TRUE but set error.

since: 0.1.0

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Signals

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

unstable since: 2.0

Class structure

struct HaslMechanismClass {
  gboolean (* possible) (
    HaslMechanism* mechanism,
    HaslContext* ctx,
    GError** error
  );
  HaslMechanismResult (* step) (
    HaslMechanism* mechanism,
    HaslContext* ctx,
    const guint8* server_in,
    gsize server_in_length,
    guint8** client_out,
    gsize* client_out_length,
    GError** error
  );
  
}
No description available.
Class members
possible: gboolean (* possible) ( HaslMechanism* mechanism, HaslContext* ctx, GError** error )
No description available.
step: HaslMechanismResult (* step) ( HaslMechanism* mechanism, HaslContext* ctx, const guint8* server_in, gsize server_in_length, guint8** client_out, gsize* client_out_length, GError** error )
No description available.

Virtual methods

Hasl.MechanismClass.possible

This is used by ctx to determine if it should even attempt mechanism.

unstable since: 1.0

Hasl.MechanismClass.step

Tells mechanism to perform it’s next step. If mechanism is complete it should return TRUE. If the mechanism was not successfully, it should return TRUE but set error.

since: 0.1.0