RSA sign/verify and hash generation functions
nmav at gnutls.org
Sat Jan 15 19:52:04 CET 2011
On 01/15/2011 07:45 PM, Nikos Mavrogiannopoulos wrote:
> Currently the privkey interface has only operations on keys, and does
> not really need to access the key itself. That is because it is
> a front-end for the x509/openpgp and pkcs11 interfaces, and the pkcs11
> interface may not have access to the key. That could be because the key
> is in a smart-card, that only provides operations.
Having said that, there might be some convenience functions like
gnutls_privkey_import() and gnutls_privkey_export() that will operate
as the gnutls_x509_privkey_import() and export(). Would functions
like that reduce the code used in your scenario?
More information about the Gnutls-help