|
pam_pkcs11 0.6.13
|
#include "cert_st.h"Go to the source code of this file.
Macros | |
| #define | PKCS11_EXTERN extern |
Typedefs | |
| typedef struct cert_object_str | cert_object_t |
| typedef struct pkcs11_handle_str | pkcs11_handle_t |
| #define PKCS11_EXTERN extern |
Definition at line 26 of file pkcs11_lib.h.
Referenced by cleanse(), close_pkcs11_session(), crypto_init(), find_slot_by_number(), find_slot_by_number_and_label(), find_slot_by_slotlabel(), find_slot_by_slotlabel_and_tokenlabel(), get_certificate_list(), get_private_key(), get_random_value(), get_slot_login_required(), get_slot_protected_authentication_path(), get_slot_tokenlabel(), get_X509_certificate(), init_pkcs11_module(), load_pkcs11_module(), open_pkcs11_session(), pkcs11_login(), pkcs11_pass_login(), release_pkcs11_module(), sign_value(), wait_for_token(), and wait_for_token_by_slotlabel().
| typedef struct cert_object_str cert_object_t |
Definition at line 22 of file pkcs11_lib.h.
| typedef struct pkcs11_handle_str pkcs11_handle_t |
Definition at line 23 of file pkcs11_lib.h.
| PKCS11_EXTERN void cleanse | ( | void * | ptr, |
| size_t | len ) |
References cleanse(), and PKCS11_EXTERN.
Referenced by cleanse().
| PKCS11_EXTERN int close_pkcs11_session | ( | pkcs11_handle_t * | h | ) |
References close_pkcs11_session(), and PKCS11_EXTERN.
Referenced by close_pkcs11_session().
| PKCS11_EXTERN int crypto_init | ( | cert_policy * | policy | ) |
References crypto_init(), and PKCS11_EXTERN.
Referenced by crypto_init().
| PKCS11_EXTERN int find_slot_by_number | ( | pkcs11_handle_t * | h, |
| unsigned int | slot_num, | ||
| unsigned int * | slot ) |
References find_slot_by_number(), and PKCS11_EXTERN.
Referenced by find_slot_by_number().
| PKCS11_EXTERN int find_slot_by_number_and_label | ( | pkcs11_handle_t * | h, |
| int | slot_num, | ||
| const char * | slot_label, | ||
| unsigned int * | slot ) |
References find_slot_by_number_and_label(), and PKCS11_EXTERN.
Referenced by find_slot_by_number_and_label().
| PKCS11_EXTERN int find_slot_by_slotlabel | ( | pkcs11_handle_t * | h, |
| const char * | wanted_slot_label, | ||
| unsigned int * | slot ) |
References find_slot_by_slotlabel(), and PKCS11_EXTERN.
Referenced by find_slot_by_slotlabel().
| PKCS11_EXTERN int find_slot_by_slotlabel_and_tokenlabel | ( | pkcs11_handle_t * | h, |
| const char * | wanted_slot_label, | ||
| const char * | wanted_token_label, | ||
| unsigned int * | slot ) |
References find_slot_by_slotlabel_and_tokenlabel(), and PKCS11_EXTERN.
Referenced by find_slot_by_slotlabel_and_tokenlabel().
| PKCS11_EXTERN cert_object_t ** get_certificate_list | ( | pkcs11_handle_t * | h, |
| int * | ncert ) |
References get_certificate_list(), and PKCS11_EXTERN.
Referenced by get_certificate_list().
| PKCS11_EXTERN int get_private_key | ( | pkcs11_handle_t * | h, |
| cert_object_t * | ) |
References get_private_key(), and PKCS11_EXTERN.
Referenced by get_private_key().
| PKCS11_EXTERN int get_random_value | ( | unsigned char * | data, |
| int | length ) |
References get_random_value(), and PKCS11_EXTERN.
Referenced by get_random_value().
| PKCS11_EXTERN int get_slot_login_required | ( | pkcs11_handle_t * | h | ) |
References get_slot_login_required(), and PKCS11_EXTERN.
Referenced by get_slot_login_required().
| PKCS11_EXTERN int get_slot_protected_authentication_path | ( | pkcs11_handle_t * | h | ) |
References get_slot_protected_authentication_path(), and PKCS11_EXTERN.
Referenced by get_slot_protected_authentication_path().
| PKCS11_EXTERN const char * get_slot_tokenlabel | ( | pkcs11_handle_t * | h | ) |
References get_slot_tokenlabel(), and PKCS11_EXTERN.
Referenced by get_slot_tokenlabel().
| PKCS11_EXTERN X509 * get_X509_certificate | ( | cert_object_t * | cert | ) |
References get_X509_certificate(), and PKCS11_EXTERN.
Referenced by get_X509_certificate().
| PKCS11_EXTERN int init_pkcs11_module | ( | pkcs11_handle_t * | h, |
| int | flag ) |
References init_pkcs11_module(), and PKCS11_EXTERN.
Referenced by init_pkcs11_module().
| PKCS11_EXTERN int load_pkcs11_module | ( | const char * | module, |
| pkcs11_handle_t ** | h ) |
References load_pkcs11_module(), and PKCS11_EXTERN.
Referenced by load_pkcs11_module().
| PKCS11_EXTERN int open_pkcs11_session | ( | pkcs11_handle_t * | h, |
| unsigned int | slot ) |
References open_pkcs11_session(), and PKCS11_EXTERN.
Referenced by open_pkcs11_session().
| PKCS11_EXTERN int pkcs11_login | ( | pkcs11_handle_t * | h, |
| char * | password ) |
References PKCS11_EXTERN, and pkcs11_login().
Referenced by pkcs11_login().
| PKCS11_EXTERN int pkcs11_pass_login | ( | pkcs11_handle_t * | h, |
| int | nullok ) |
References PKCS11_EXTERN, and pkcs11_pass_login().
Referenced by pkcs11_pass_login().
| PKCS11_EXTERN void release_pkcs11_module | ( | pkcs11_handle_t * | h | ) |
References PKCS11_EXTERN, and release_pkcs11_module().
Referenced by release_pkcs11_module().
| PKCS11_EXTERN int sign_value | ( | pkcs11_handle_t * | h, |
| cert_object_t * | , | ||
| unsigned char * | data, | ||
| unsigned long | length, | ||
| unsigned char ** | signature, | ||
| unsigned long * | signature_length ) |
References PKCS11_EXTERN, and sign_value().
Referenced by sign_value().
| PKCS11_EXTERN int wait_for_token | ( | pkcs11_handle_t * | h, |
| int | wanted_slot_num, | ||
| const char * | wanted_token_label, | ||
| unsigned int * | slot ) |
References PKCS11_EXTERN, and wait_for_token().
Referenced by wait_for_token().
| PKCS11_EXTERN int wait_for_token_by_slotlabel | ( | pkcs11_handle_t * | h, |
| const char * | wanted_slot_label, | ||
| const char * | wanted_token_label, | ||
| unsigned int * | slot ) |
References PKCS11_EXTERN, and wait_for_token_by_slotlabel().
Referenced by wait_for_token_by_slotlabel().