4
#include "certtool-common.h"
6
void pkcs11_list (FILE * outfile, const char *url, int type,
7
unsigned int login, unsigned int detailed,
9
void pkcs11_mechanism_list (FILE * outfile, const char *url,
10
unsigned int login, common_info_st *);
11
void pkcs11_export (FILE * outfile, const char *pkcs11_url,
12
unsigned int login, common_info_st *);
13
void pkcs11_token_list (FILE * outfile, unsigned int detailed,
15
void pkcs11_write (FILE * outfile, const char *pkcs11_url, const char *label,
16
int trusted, unsigned int login, common_info_st *);
17
void pkcs11_delete (FILE * outfile, const char *pkcs11_url, int batch,
18
unsigned int login, common_info_st *);
19
void pkcs11_init (FILE * outfile, const char *pkcs11_url, const char *label,
22
#define PKCS11_TYPE_CRT_ALL 1
23
#define PKCS11_TYPE_TRUSTED 2
24
#define PKCS11_TYPE_PK 3
25
#define PKCS11_TYPE_ALL 4
26
#define PKCS11_TYPE_PRIVKEY 5
33
ACTION_PKCS11_EXPORT_URL,
34
ACTION_PKCS11_WRITE_URL,
35
ACTION_PKCS11_DELETE_URL,
36
ACTION_PKCS11_TOKEN_INIT,
37
ACTION_PKCS11_MECHANISMS,