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                    [email protected]
Automated List Manager                           [email protected]

Reply via email to