30 #ifndef PKCS11_BACKEND_H_
31 #define PKCS11_BACKEND_H_
35 #if defined(ENABLE_PKCS11)
39 #include <pkcs11-helper-1.0/pkcs11h-certificate.h>
49 char *pkcs11_certificate_dn(pkcs11h_certificate_t certificate,
struct gc_arena *
gc);
60 int pkcs11_certificate_serial(pkcs11h_certificate_t certificate,
char *serial,
71 int pkcs11_init_tls_session(pkcs11h_certificate_t certificate,