[][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 handle
  • pMechanism: key deriv. mech.
  • hBaseKey: base key
  • pTemplate: new key template
  • ulAttributeCount: template length
  • phKey: gets new handle