On Wed, Apr 11, 2007, k b wrote:
> Hi,
> I'm trying to figure out if a particular cert that i receive has SHA1 or
> SHA256 as its signature algorithm.
>
> I know this could be done by using either i2t_ASN1_OBJECT(buffer,
> x509->sig_alg->algorithm) or i2a_ASN1_OBJECT(bio, x509->sig_alg->algorit
Hi,
I'm trying to figure out if a particular cert that i receive has SHA1 or
SHA256 as its signature algorithm.
I know this could be done by using either i2t_ASN1_OBJECT(buffer,
x509->sig_alg->algorithm) or i2a_ASN1_OBJECT(bio, x509->sig_alg->algorithm)
The problem is, if the cert has sha1 s