I remember seeing a method to get the signature parameters as a buffer. I
can't find it now. :-(

On Mon, Jan 10, 2011 at 2:13 PM, Karthik Ravikanti <
karthik.ravika...@gmail.com> wrote:

> Thanks, I discovered this too, by searching for X509_get_signature_type in
> Google's codesearch tool.
> Where are these things documented anyway?
>
>
> On Mon, Jan 10, 2011 at 11:40 AM, Christian Hohnstaedt <
> christ...@hohnstaedt.de> wrote:
>
>> On Mon, Jan 10, 2011 at 10:51:21AM +0530, Karthik Ravikanti wrote:
>> > Hi,
>> >
>> > How can we get a string representation of a signature algorithm from a
>> > certificate?
>>
>> X509 *cert;
>> const char *sigalg = OBJ_nid2ln(OBJ_obj2nid(cert->sig_alg->algorithm));
>>
>>
>> Cheers
>>
>>        Christian
>> ______________________________________________________________________
>> OpenSSL Project                                 http://www.openssl.org
>> User Support Mailing List                    openssl-users@openssl.org
>> Automated List Manager                           majord...@openssl.org
>>
>
>
>
> --
> Karthik Ravikanti
> Karthik Ravikanti
> Mobile: 9701040149
> Landline: 040-40058553
> http://students.iiit.net/~karthik_ravikanti<http://students.iiit.net/%7Ekarthik_ravikanti>
>

Reply via email to