mechSignFromKt
Synopsis
CK_MECHANISM_TYPE * mechSignFromKt(CK_KEY_TYPE kt,unsigned int * len);
Description
Return an array of signing mechanisms valid for the given key type. The returned array is newly allocated and needs to be freed.
Parameters
kt |
Key type to get mechanisms for |
len |
Reference to int to hold number of items in returned array |
On Successful Return
Array of CK_MECHANISM_TYPE values or NULL if key type is invalid. Caller should free the array when finished.