help-gnutls
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: RSA sign/verify and hash generation functions


From: Nikos Mavrogiannopoulos
Subject: Re: RSA sign/verify and hash generation functions
Date: Sat, 15 Jan 2011 19:52:04 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7

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?


regards,
Nikos



reply via email to

[Prev in Thread] Current Thread [Next in Thread]