ktFromMech

Return an array of key types valid for the given mechanism.  The returned array does not need to be freed.

Synopsis

CK_KEY_TYPE * ktFromMech(
CK_MECHANISM_TYPE mt,
unsigned int * len);
Parameter Description
mt Mechanism type to get key types for
len Reference to int to hold the number of items in returned array

On Successful Return

*len number of items in returned array