~nutznboltz-deactivatedaccount/ubuntu/precise/gnutls26/fix-lp926350

« back to all changes in this revision

Viewing changes to src/p11tool.h

  • Committer: Package Import Robot
  • Author(s): Andreas Metzler
  • Date: 2011-10-01 15:28:13 UTC
  • mfrom: (12.1.20 sid)
  • Revision ID: package-import@ubuntu.com-20111001152813-yygm1c4cxonfxhzy
Tags: 2.12.11-1
* New upstream version.
  + Allow CA importing of 0 certificates to succeed. Closes: #640639
* Add libp11-kit-dev to libgnutls-dev dependencies. (see #643811)
* [20_guiledocstring.diff] guile: Fix docstring extraction with CPP 4.5+.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef P11TOOL_H
 
2
#define P11TOOL_H
 
3
 
 
4
#include "certtool-common.h"
 
5
 
 
6
void pkcs11_list (FILE * outfile, const char *url, int type,
 
7
                  unsigned int login, unsigned int detailed,
 
8
                  common_info_st *);
 
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,
 
14
                        common_info_st *);
 
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,
 
20
                  common_info_st *);
 
21
 
 
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
 
27
 
 
28
 
 
29
enum
 
30
{
 
31
  ACTION_PKCS11_LIST,
 
32
  ACTION_PKCS11_TOKENS,
 
33
  ACTION_PKCS11_EXPORT_URL,
 
34
  ACTION_PKCS11_WRITE_URL,
 
35
  ACTION_PKCS11_DELETE_URL,
 
36
  ACTION_PKCS11_TOKEN_INIT,
 
37
  ACTION_PKCS11_MECHANISMS,
 
38
};
 
39
 
 
40
#endif