ktFromMech

Synopsis

CK_KEY_TYPE * ktFromMech(
CK_MECHANISM_TYPE mt,
unsigned int * len);

Description

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

Parameters

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