29#ifndef PKCS11_BACKEND_H_
30#define PKCS11_BACKEND_H_
34#if defined(ENABLE_PKCS11)
38#include <pkcs11-helper-1.0/pkcs11h-certificate.h>
48char *pkcs11_certificate_dn(pkcs11h_certificate_t certificate,
struct gc_arena *
gc);
59int pkcs11_certificate_serial(pkcs11h_certificate_t certificate,
char *serial,
size_t serial_len);
69int pkcs11_init_tls_session(pkcs11h_certificate_t certificate,
struct tls_root_ctx *
const ssl_ctx);
Control Channel Common Data Structures.
Garbage collection arena used to keep track of dynamically allocated memory.
Structure that wraps the TLS context.