29 #ifndef PKCS11_BACKEND_H_
30 #define PKCS11_BACKEND_H_
34 #if defined(ENABLE_PKCS11)
38 #include <pkcs11-helper-1.0/pkcs11h-certificate.h>
48 char *pkcs11_certificate_dn(pkcs11h_certificate_t certificate,
struct gc_arena *gc);
59 int pkcs11_certificate_serial(pkcs11h_certificate_t certificate,
char *serial,
70 int pkcs11_init_tls_session(pkcs11h_certificate_t certificate,