[Top][All Lists]

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

Re: [gnutls-dev] External signing API

From: Alon Bar-Lev
Subject: Re: [gnutls-dev] External signing API
Date: Sun, 12 Aug 2007 20:40:22 +0300

On 8/12/07, Simon Josefsson <address@hidden> wrote:
> > 3. What do you expect the cert_type to be used? Can't it queried out the 
> > cert?
> No, the cert may be a PGP key, and this needs to be indicated somehow.
> I haven't tested that PGP signing works through this interface yet, but
> I think it makes sense to have cert_type there in case we support
> external signing for PGP keys in the future.

I don't understand why the type is not part of the certificate object...
type = gnutls_get_cert_type (cert);

This should be much cleaner than passing two variable to each method.


reply via email to

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