mechanisms_check


Description:


public bool mechanisms_check (Array<ulong> mechanisms, ...)

Check whether all the mechanism types are in the list.

The arguments should be a list of CKM_XXX mechanism types. The last argument should be GCK_INVALID.

Parameters:

mechanisms

A list of mechanisms, perhaps retrieved from get_mechanisms.

...

A list of mechanism types followed by GCK_INVALID.

Returns:

Whether the mechanism is in the list or not.


Namespace: Gck
Package: gck-1