ISARA Radiate Key State Manager
Version 1.2
A framework for safe storage of LMS private key state.
|
Data Structures | |
struct | ikm_IOCallbacks |
Typedefs | |
typedef struct ikm_IO_struct | ikm_IO |
Functions | |
IQR_API ikm_retval | ikm_IOInterfaceCreate (const ikm_IOCallbacks *cb, void *user_ctx, ikm_IO **io) |
IQR_API_UNENFORCED_RETURN ikm_retval | ikm_IOInterfaceDestroy (ikm_IO **io) |
IQR_API ikm_retval | ikm_IOCreateSimpleFileIO (const char *path, ikm_IO **io) |
typedef struct ikm_IO_struct ikm_IO |
Input/Output interface object.
IQR_API ikm_retval ikm_IOCreateSimpleFileIO | ( | const char * | path, |
ikm_IO ** | io | ||
) |
Create a simple file IO interface.
This function creates an ikm_IO
object that works with the file system. In order to eliminate file name collisions, the path should be unique per key pair. The path should point to a directory where multiple files will be stored.
[in] | path | The path to the storage. |
[out] | io | A pointer to an IO interface object. |
IKM_OK
on success, or a value from ikm_retval.h when an error occurs. IQR_API ikm_retval ikm_IOInterfaceCreate | ( | const ikm_IOCallbacks * | cb, |
void * | user_ctx, | ||
ikm_IO ** | io | ||
) |
Create and initialize an IO interface object.
[in] | cb | A set of function pointers implementing an IO interface. |
[in,out] | user_ctx | Custom user data to be passed into the IO interface callbacks. |
[out] | io | The resulting IO object. |
IKM_OK
on success, or a value from ikm_retval.h when an error occurs. IQR_API_UNENFORCED_RETURN ikm_retval ikm_IOInterfaceDestroy | ( | ikm_IO ** | io | ) |
Destroy an IO interface object.
[in,out] | io | A pointer to an IO interface object to be destroyed. The pointer is automatically set to NULL . |
IKM_OK
on success, or a value from ikm_retval.h when an error occurs. ISARA Radiate Key State Manager's IO interface object APIs.
The IO interface object provides a generic interface for performing Input/Output operations with data storage.