Next: , Previous: Writing objects, Up: Smart cards and HSMs   [Contents][Index]


6.7.4 Using a PKCS #11 token with TLS

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_file
gnutls_certificate_set_x509_key_file