[−][src]Type Definition pkcs11::functions::C_DeriveKey
type C_DeriveKey = extern "C" fn(hSession: CK_SESSION_HANDLE, pMechanism: CK_MECHANISM_PTR, hBaseKey: CK_OBJECT_HANDLE, pTemplate: CK_ATTRIBUTE_PTR, ulAttributeCount: CK_ULONG, phKey: CK_OBJECT_HANDLE_PTR) -> CK_RV;
C_DeriveKey
derives a key from a base key, creating a new key object.
Function Parameters
hSession
: session's handlepMechanism
: key deriv. mech.hBaseKey
: base keypTemplate
: new key templateulAttributeCount
: template lengthphKey
: gets new handle