Go to the source code of this file.
◆ GWEN_CRYPT_TOKEN_FOLDER
#define GWEN_CRYPT_TOKEN_FOLDER "ct" |
◆ GWEN_CRYPT_TOKEN_PLUGIN_TYPENAME
#define GWEN_CRYPT_TOKEN_PLUGIN_TYPENAME "ct" |
◆ GWEN_Crypt_Token_Plugin_CheckToken()
This function is used to let a crypt token plugin check whether it supports a given plugin.
Initially the given buffers may contain some values to narrow the search. For chip cards the name argument may contain the serial number of the card (if known). For file based crypt tokens this argument must contain the path to the file to check.
This function should return one of the following error codes:
-
GWEN_SUCCESS: CryptToken is supported by this plugin, the buffers for typeName, subTypeName and name are updated accordingly
-
GWEN_ERROR_CT_NOT_IMPLEMENTED: function not implmented
-
GWEN_ERROR_CT_NOT_SUPPORTED: medium not supported by this plugin
-
GWEN_ERROR_CT_BAD_NAME: Medium is supported but the name doesn't match that of the currently checked medium
-
GWEN_ERROR_CT_IO_ERROR: any type of IO error occurred
-
other codes as appropriate
◆ GWEN_Crypt_Token_Plugin_CreateToken()
◆ GWEN_Crypt_Token_Plugin_GetDeviceType()
◆ GWEN_Crypt_Token_PluginManager_CheckToken()
This function tries to find a token plugin which is able to handle the token given by the device type and name.
◆ GWEN_Crypt_Token_PluginManager_GetPluginDescrs()