|
From: | Nikos Mavrogiannopoulos |
Subject: | Re: [Help-gnutls] Parsing certificate extensions and issuer alt names |
Date: | Wed, 15 Jul 2009 00:19:44 +0300 |
User-agent: | Thunderbird 2.0.0.22 (X11/20090608) |
Brad Hards wrote: > On Tuesday 14 July 2009 19:46:10 Brad Hards wrote: >> On Monday 13 July 2009 16:33:48 Nikos Mavrogiannopoulos wrote: >>> Actually I think it might be much easier to do that inside gnutls by >>> extending get_subject_alt_name() to be able to accept the OID as >>> parameter to parse the 2.5.29.18 extension as well. Then would be easy >>> to submit a gnutls_x509_crt_get_issuer_alt_name that can be added to >>> gnutls. >> I had a first cut at this. See attached patch. > [I realise this can't be applied yet - I'm just looking for feedback] > > Here is an example that I was sent a while ago, and what I see running it > through > certtool. Do you think it is worth adding that as a unit test? Yes.
[Prev in Thread] | Current Thread | [Next in Thread] |