Go to the documentation of this file.
43 #define HSM_MAX_SESSIONS 100
45 #define HSM_MAX_ALGONAME 16
47 #define HSM_ERROR_MSGSIZE 512
51 #define HSM_MAX_SIGNATURE_LENGTH 512
57 #define HSM_MAX_PIN_LENGTH 255
64 #define HSM_ERROR 0x10000001
65 #define HSM_PIN_INCORRECT 0x10000002
66 #define HSM_CONFIG_FILE_ERROR 0x10000003
67 #define HSM_REPOSITORY_NOT_FOUND 0x10000004
68 #define HSM_NO_REPOSITORIES 0x10000005
69 #define HSM_MODULE_NOT_FOUND 0x10000006
72 #define HSM_PIN_FIRST 0
73 #define HSM_PIN_RETRY 1
74 #define HSM_PIN_SAVE 2
148 char *(pin_callback)(
unsigned int,
const char *,
unsigned int));
161 hsm_prompt_pin(
unsigned int id,
const char *repository,
unsigned int mode);
173 hsm_check_pin(
unsigned int id,
const char *repository,
unsigned int mode);
259 const char *repository);
277 const char *repository);
309 const char *repository,
310 unsigned long keysize);
326 const char *repository,
327 unsigned long keysize);
342 const char *repository);
420 unsigned char *buffer,
421 unsigned long length);
460 const char *token_name,
480 const char *repository);