Next: p11tool Invocation, Previous: Writing objects, Up: Smart cards and HSMs [Contents][Index]
It is possible to use a PKCS #11 token to a TLS session, as shown in ex:pkcs11-client. In addition the following functions can be used to load PKCS #11 key and certificates by specifying a PKCS #11 URL instead of a filename.
gnutls_certificate_set_x509_trust_filegnutls_certificate_set_x509_key_file