[Help-gnutls] Parsing certificate extensions and issuer alt names

Nikos Mavrogiannopoulos nmav at gnutls.org
Tue Jul 14 23:19:44 CEST 2009


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.





More information about the Gnutls-help mailing list