~ubuntu-branches/ubuntu/trusty/pam-pkcs11/trusty-proposed

« back to all changes in this revision

Viewing changes to src/common/pkcs11_lib.h

  • Committer: Bazaar Package Importer
  • Author(s): Ludovic Rousseau
  • Date: 2010-06-12 17:50:06 UTC
  • mfrom: (2.1.5 sid)
  • Revision ID: james.westby@ubuntu.com-20100612175006-4pjjf211vq5bcroo
Tags: 0.6.4-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13
13
 * Lesser General Public License for more details.
14
14
 *
15
 
 * $Id: pkcs11_lib.h 408 2010-04-07 13:43:39Z ludovic.rousseau $
 
15
 * $Id: pkcs11_lib.h 435 2010-06-07 14:53:17Z ludovic.rousseau $
16
16
 */
17
17
#ifndef __PKCS11_LIB_H__
18
18
#define __PKCS11_LIB_H__
59
59
PKCS11_EXTERN int pkcs11_login(pkcs11_handle_t *h, char *password);
60
60
PKCS11_EXTERN int pkcs11_pass_login(pkcs11_handle_t *h, int nullok);
61
61
PKCS11_EXTERN int get_slot_login_required(pkcs11_handle_t *h);
 
62
PKCS11_EXTERN int get_slot_protected_authentication_path(pkcs11_handle_t *h);
62
63
PKCS11_EXTERN cert_object_t **get_certificate_list(pkcs11_handle_t *h,
63
64
                                                  int *ncert);
64
65
PKCS11_EXTERN int get_private_key(pkcs11_handle_t *h, cert_object_t *);