Method

HaslContextset_allowed_mechanisms

since: 0.1

Declaration [src]

void
hasl_context_set_allowed_mechanisms (
  HaslContext* ctx,
  const char* allowed_mechanisms
)

Description [src]

Sets the list of mechanism that are allowed for ctx.

allowed_mechanisms can be white space or comma separated.

Available since: 0.1

Parameters

allowed_mechanisms

Type: const char*

The list of mechanisms.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.