KM_ExportToFileAlg
Export an encrypted object set to a file.
NOTE This function uses the following callback:
Synopsis
#include <kmlib.h>
CK_RV KM_ExportToFileAlg(CK_SESSION_HANDLE hSession,
int algType,
CK_OBJECT_HANDLE* phWrapeeObjs,
CK_COUNT numWrapeeObjs,
CK_OBJECT_HANDLE hWrapKey,
const char* pszFileName);
| Parameter | Description |
|---|---|
| hSession | Handle to an open session. |
| algType |
Algorithm of transport key: >KM_ALG_DES3 >KM_ALG_AES >KM_ALG_AES_KWP |
| phWrapeeObjs | Array of handles to objects that are to be exported. |
| numWrapeeObjs | Number of objects in the phWrapeeObjs array. |
| hWrapKey | Handle to the wrapping key. |
| pszFileName | Fully qualified path to the file to export to. |
Returns
Status of operation.
Delete this text and replace it with your own content.