Hi Marek,
Thanks for the reply,
How do i find it through the X509 struct ?
X509 *myX509 = ....
is this the field ?
myX509->sig_alg->algorithm->nid

and what value should i hold that would tell me that it's sha256
thanks
Bisla

From: Marek Marcola <[EMAIL PROTECTED]>
Reply-To: [email protected]
To: [email protected]
Subject: Re: SHA 256 Cert
Date: Mon, 18 Sep 2006 19:53:08 +0200

Hello,
> How do i tell if a  X509 cert is a SHA256 cert.
Checking signature algorithm OID, which is:

pkcs-1 OBJECT IDENTIFIER ::= {
iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1) 1
}

sha256WithRSAEncryption OBJECT IDENTIFIER ::= { pkcs-1 11 }

Best regards,
--
Marek Marcola <[EMAIL PROTECTED]>

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [email protected]
Automated List Manager                           [EMAIL PROTECTED]


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [email protected]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to