cryptlib
3.4.1
|
Go to the source code of this file.
Classes | |
struct | MECHANISM_FUNCTION_INFO |
struct | CREATEOBJECT_FUNCTION_INFO |
struct | SYSTEMDEV_INFO |
struct | PKCS11_INFO |
struct | CRYPTOAPI_INFO |
struct | HARDWARE_INFO |
struct | DI |
Macros | |
#define | MAX_ERRMSG_SIZE 512 |
#define | DEVICE_NEEDSLOGIN 0x0001 /* User must log in to use dev.*/ |
#define | DEVICE_READONLY 0x0002 /* Device can't be written to */ |
#define | DEVICE_REMOVABLE 0x0004 /* Device is removable */ |
#define | DEVICE_ACTIVE 0x0008 /* Device is currently active */ |
#define | DEVICE_LOGGEDIN 0x0010 /* User is logged into device */ |
#define | DEVICE_TIME 0x0020 /* Device has on-board time source */ |
#define | CAPI_HANDLE unsigned long /* Always 32 bits on Win32 */ |
#define | deviceSystem deviceInfo.systemInfo |
#define | devicePKCS11 deviceInfo.pkcs11Info |
#define | deviceCryptoAPI deviceInfo.cryptoapiInfo |
#define | deviceHardware deviceInfo.hardwareInfo |
#define | deviceInitPKCS11() CRYPT_OK |
#define | deviceEndPKCS11() |
#define | setDevicePKCS11(x, y, z) CRYPT_ARGERROR_NUM1 |
#define | deviceInitCryptoAPI() CRYPT_OK |
#define | deviceEndCryptoAPI() |
#define | setDeviceCryptoAPI(x) CRYPT_ARGERROR_NUM1 |
#define | deviceInitHardware() CRYPT_OK |
#define | deviceEndHardware() |
#define | setDeviceHardware(x) CRYPT_ARGERROR_NUM1 |
Typedefs | |
typedef CHECK_RETVAL_FNPTR | STDC_NONNULL_ARG ((2)) int(*MECHANISM_FUNCTION)(IN_OPT void *deviceInfoPtr |
typedef CHECK_RETVAL_FNPTR INOUT void * | mechanismInfo |
typedef CHECK_RETVAL_FNPTR const void * | auxDataPtr |
typedef CHECK_RETVAL_FNPTR const void const int | auxValue |
typedef struct DI | DEVICE_INFO |
Functions | |
CHECK_RETVAL | STDC_NONNULL_ARG ((1, 2, 4)) int getDeviceAttribute(INOUT DEVICE_INFO *deviceInfoPtr |
CHECK_RETVAL | STDC_NONNULL_ARG ((1, 4)) int setDeviceAttribute(INOUT DEVICE_INFO *deviceInfoPtr |
CHECK_RETVAL | STDC_NONNULL_ARG ((1, 2, 5)) int setDeviceAttributeS(INOUT DEVICE_INFO *deviceInfoPtr |
CHECK_RETVAL | IN_BUFFER (dataLength) const void *data |
CHECK_RETVAL | STDC_NONNULL_ARG ((1)) int setDeviceSystem(INOUT DEVICE_INFO *deviceInfo) |
#define CAPI_HANDLE unsigned long /* Always 32 bits on Win32 */ |
#define DEVICE_ACTIVE 0x0008 /* Device is currently active */ |
#define DEVICE_LOGGEDIN 0x0010 /* User is logged into device */ |
#define DEVICE_NEEDSLOGIN 0x0001 /* User must log in to use dev.*/ |
#define DEVICE_READONLY 0x0002 /* Device can't be written to */ |
#define DEVICE_TIME 0x0020 /* Device has on-board time source */ |
#define setDeviceCryptoAPI | ( | x | ) | CRYPT_ARGERROR_NUM1 |
#define setDeviceHardware | ( | x | ) | CRYPT_ARGERROR_NUM1 |
#define setDevicePKCS11 | ( | x, | |
y, | |||
z | |||
) | CRYPT_ARGERROR_NUM1 |
typedef CHECK_RETVAL_FNPTR const void* auxDataPtr |
typedef struct DI DEVICE_INFO |
typedef CHECK_RETVAL_FNPTR STDC_NONNULL_ARG((1)) int(*CREATEOBJECT_FUNCTION)(INOUT MESSAGE_CREATEOBJECT_INFO *objectInfo |
CHECK_RETVAL IN_BUFFER | ( | dataLength | ) | const |
CHECK_RETVAL STDC_NONNULL_ARG | ( | (1, 2, 4) | ) |
CHECK_RETVAL STDC_NONNULL_ARG | ( | (1, 4) | ) |
CHECK_RETVAL STDC_NONNULL_ARG | ( | (1, 2, 5) | ) |
CHECK_RETVAL STDC_NONNULL_ARG | ( | (1) | ) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Definition at line 26 of file ctx_attr.c.
CHECK_RETVAL IN_LENGTH const int IN_ATTRIBUTE const CRYPT_ATTRIBUTE_TYPE attribute |
CHECK_RETVAL IN_LENGTH const int dataLength |
CHECK_RETVAL IN_LENGTH const int IN_ATTRIBUTE const CRYPT_ATTRIBUTE_TYPE MESSAGE_FUNCTION_EXTINFO * messageExtInfo |
CHECK_RETVAL INOUT MESSAGE_DATA* msgData |
CHECK_RETVAL OUT_INT_Z int* valuePtr |