| RSA BSAFE Crypto-C |
Cryptographic Components for C |
| Search |
p11dsakeygen.c, p11dsasign.c, p11rsaencrypt.c, p11rsakeygen.c, and p11rsasign.c.
#include <bsafe.h>
typedef struct {
unsigned long int sessionHandle; /* In PKCS 11, a session handle is a
CK_SESSION_HANDLE, which is an unsigned long int */
POINTER cryptokiFunctions; /* A Cryptoki C_FunctionListPtr */
char *libraryName; /* The name of the shared library (DLL, .so, etc.) */
ITEM tokenLabel; /* A user-defined label to differentiate tokens */
ITEM passPhrase; /* Possibly needed to log in into the device */
A_SURRENDER_CTX *surrenderContext; /* Install when creating session */
} B_PKCS11_SESSION;