[Top][All Lists]

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

Re: [PATCH] Add gnutls_x509_dn_export.

From: Nikos Mavrogiannopoulos
Subject: Re: [PATCH] Add gnutls_x509_dn_export.
Date: Sun, 24 Feb 2008 10:49:53 +0200
User-agent: Thunderbird (X11/20071022)

Joe Orton wrote:
On Thu, Feb 21, 2008 at 11:39:17AM +0000, Joe Orton wrote:
This adds another DN function, to export a DN object back to DER. (I only really need a DER export; the value of exporting a DN to PEM format is certainly questionable, but this is allowed for consistency with the other _foo_export functions)

Hmmm, that didn't actually work, and I don't really understand why. Can anyone help? This is rather beyond my understanding of ASN.1/libtasn1!

The asn1_der_coding(asn1_data, "") call was failing with the error ASN1_ELEMENT_NOT_FOUND in _gnutls_x509_export_int. Is that call not supposed to provide the DER coding for the entire node?

I suppose that this has to do with the fact that the type of the element is CHOICE. Some quirk of the encoder probably.


reply via email to

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