[][src]Type Definition pkcs11::functions::C_CopyObject

type C_CopyObject = extern "C" fn(hSession: CK_SESSION_HANDLE, hObject: CK_OBJECT_HANDLE, pTemplate: CK_ATTRIBUTE_PTR, ulCount: CK_ULONG, phNewObject: CK_OBJECT_HANDLE_PTR) -> CK_RV;

C_CopyObject copies an object, creating a new object for the copy.

Function Parameters

  • hSession: the session's handle
  • hObject: the object's handle
  • pTemplate: template for new object
  • ulCount: attributes in template
  • phNewObject: receives handle of copy