mechDeriveFromKt

Synopsis

CK_MECHANISM_TYPE * mechDeriveFromKt(CK_KEY_TYPE kt,unsigned int * len); 

Description

Return an array of derive mechanisms valid for the given key type.  The returned array is newly allocated and needs to be freed.

Parameters

kt

Key type to look up

len

Pointer to integer that receives length of 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.