[PATCH] add gnutls_certificate_find_issuer

Joe Orton jorton at redhat.com
Wed Feb 20 14:32:31 CET 2008


On Wed, Feb 20, 2008 at 02:52:54PM +0200, Nikos Mavrogiannopoulos wrote:
> On Feb 19, 2008 11:33 PM, Joe Orton <jorton at redhat.com> wrote:
> > With respect to exposing structure contents directly, I would generally
> > advocate exposing functions instead where possible, since structures
> > bring restrictive ABI constraints.
> 
> Indeed but I'm thinking that someone might do more than check a single
> issuer. He might want to print the whole imported list. In that case
> I'd use something like gnutls_certificate_export_x509_cas() that will
> return the whole list of issuers, and your check can be done at the
> application level. Would something like this suit you?

Yes, that certainly sounds fine too.

joe





More information about the Gnutls-devel mailing list